fix(app): remove interface transition changes accidentally merged into dev (#36653)

This commit is contained in:
usrnk1 2026-07-13 12:38:30 +02:00 committed by GitHub
commit 51b9c726cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 95 additions and 221 deletions

View file

@ -34,7 +34,6 @@ export interface Settings {
showCustomAgents: boolean
mobileTitlebarPosition: "top" | "bottom"
newLayoutDesigns?: boolean
newInterfaceNoticeDismissed?: boolean
}
appearance: {
fontSize: number
@ -54,8 +53,6 @@ export const monoDefault = "System Mono"
export const sansDefault = "System Sans"
export const terminalDefault = "JetBrainsMono Nerd Font Mono"
export const newLayoutDesignsDefault = import.meta.env.VITE_OPENCODE_CHANNEL !== "prod"
// Date the old interface is retired; the settings toggle references this countdown.
export const oldInterfaceSunset = new Date(2026, 7, 6)
const monoFallback =
'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'
@ -255,10 +252,6 @@ 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),