-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new space page hide sidebar btn
- Loading branch information
Showing
7 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# CHANGELOG | ||
|
||
## 4.0.13 | ||
|
||
- 新增:新版空间页 隐藏 侧栏按钮 | ||
|
||
## 4.0.12 | ||
|
||
- 更新:评论区过滤 增强召唤AI机器人屏蔽 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// 隐藏 新版反馈 | ||
html[hide-space-page-sidebar-feedback] { | ||
#app .space-float { | ||
height: fit-content !important; | ||
.float-button:nth-child(1) { | ||
display: none !important; | ||
} | ||
} | ||
} | ||
|
||
// 隐藏 返回旧版 | ||
html[hide-space-page-sidebar-revert] { | ||
#app .space-float { | ||
height: fit-content !important; | ||
.float-button:nth-child(2) { | ||
display: none !important; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Item } from '@/types/item' | ||
|
||
export const spaceSidebarItems: Item[] = [ | ||
{ | ||
type: 'switch', | ||
id: 'hide-space-page-sidebar-feedback', | ||
name: '隐藏 新版反馈', | ||
}, | ||
{ | ||
type: 'switch', | ||
id: 'hide-space-page-sidebar-revert', | ||
name: '隐藏 返回旧版', | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
@use './groups/dynamic'; | ||
@use './groups/sidebar'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
import { Group } from '@/types/collection' | ||
import { spaceBasicItems } from './groups/basic' | ||
import { spaceDynamicItems } from './groups/dynamic' | ||
import { spaceSidebarItems } from './groups/sidebar' | ||
|
||
export const spaceGroups: Group[] = [ | ||
{ | ||
name: '基本功能', | ||
items: spaceBasicItems, | ||
}, | ||
{ | ||
name: '动态列表', | ||
name: '页面侧栏', | ||
items: spaceSidebarItems, | ||
}, | ||
{ | ||
name: '动态列表 (与动态页同步)', | ||
items: spaceDynamicItems, | ||
fold: true, | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters