feat(app): clarify interface transition and retirement
This commit is contained in:
parent
2e1ce87bf3
commit
a5bbe636e7
6 changed files with 89 additions and 37 deletions
|
|
@ -34,6 +34,7 @@ export interface Settings {
|
|||
showCustomAgents: boolean
|
||||
mobileTitlebarPosition: "top" | "bottom"
|
||||
newLayoutDesigns?: boolean
|
||||
newInterfaceNoticeDismissed?: boolean
|
||||
}
|
||||
appearance: {
|
||||
fontSize: number
|
||||
|
|
@ -254,6 +255,13 @@ export const { use: useSettings, provider: SettingsProvider } = createSimpleCont
|
|||
setNewLayoutDesigns(value: boolean) {
|
||||
setStore("general", "newLayoutDesigns", value)
|
||||
},
|
||||
newInterfaceNoticeDismissed: withFallback(
|
||||
() => store.general?.newInterfaceNoticeDismissed,
|
||||
false,
|
||||
),
|
||||
dismissNewInterfaceNotice() {
|
||||
setStore("general", "newInterfaceNoticeDismissed", true)
|
||||
},
|
||||
},
|
||||
visibility: {
|
||||
fileTree: visible(showFileTree),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue