feat(app): clarify interface transition and retirement

This commit is contained in:
usrnk1 2026-07-13 13:06:17 +02:00
commit a5bbe636e7
6 changed files with 89 additions and 37 deletions

View file

@ -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),