Topbar remake (#752)

* feat: begin work on topbar refresh

* feat: implement search input functionality

* feat: add ScannerModal component based on scanner page

* feat: add toggle to enable legacy topbar, remove scanner page

* feat: update scanner menu item to use SidebarMenuButton for legacy header support

* chore: lint

* style: make margin and padding more consistent

* feat: fun hack

* fix: remove uneeded log and class=""
This commit is contained in:
Tonya
2025-05-25 15:41:59 +01:00
committed by GitHub
parent c1c61e5bd4
commit 1a51839abd
18 changed files with 304 additions and 120 deletions

View File

@@ -12,7 +12,7 @@ export type LocationViewPreferences = {
theme: DaisyTheme;
itemsPerTablePage: number;
tableHeaders?: TableHeaderType[];
displayHeaderDecor: boolean;
displayLegacyHeader: boolean;
language?: string;
overrideFormatLocale?: string;
};
@@ -31,7 +31,7 @@ export function useViewPreferences(): Ref<LocationViewPreferences> {
itemDisplayView: "card",
theme: "homebox",
itemsPerTablePage: 10,
displayHeaderDecor: true,
displayLegacyHeader: false,
language: null,
overrideFormatLocale: null,
},