refactor(webui): remove session list previews and timestamps (#6189)
* refactor(webui): remove session list previews and timestamps * test(webui): limit legacy coverage to persisted sidebar files * refactor(webui): simplify chat rows and fix gallery states * refactor(webui): flatten chat row title wrapper
This commit is contained in:
1 parent
47f600afc6
commit
cdb6210b45
12 files changed
+62
-97
No files matched your search
@@ -17,8 +17,6 @@ const DEFAULT_SIDEBAR_STATE: SidebarStatePayload = {
|
||||
workbench: { version: 1, tabs: {} },
|
||||
view: {
|
||||
density: "comfortable",
|
||||
show_previews: false,
|
||||
show_timestamps: false,
|
||||
show_archived: false,
|
||||
sort: "updated_desc",
|
||||
},
|
||||
@@ -98,8 +96,6 @@ function normalizeSidebarState(raw: unknown): SidebarStatePayload {
|
||||
workbench: normalizeWorkbenchState(value.workbench),
|
||||
view: {
|
||||
density,
|
||||
show_previews: Boolean(view.show_previews),
|
||||
show_timestamps: Boolean(view.show_timestamps),
|
||||
show_archived: Boolean(view.show_archived),
|
||||
sort,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user