fix(ui): stabilize loading states, edits and responsive pages

Hold card and table geometry while data or fonts load. Keep configuration edits inside their source lines and address regressions across the feature pages.
This commit is contained in:
Zakk committed 2026-09-23 04:03:45 +10:00
1 parent 6333b757d6
commit cc6bfe99f7
168 files changed
+2463 -1264

No files matched your search

+3 -1
View File
@@ -48,7 +48,9 @@ export function useShellFrame(lang: Lang, pickLang: (lang: Lang) => void, ap: No
const settingsValue = useMemo(() => ({lang, pickLang, ap, paletteSections}), [lang, pickLang, ap, paletteSections]);
const menu = useMemo(() => appearanceMenu(t, ap.scheme, ap.dark), [t, ap.scheme, ap.dark]);
const [navRef, navPos] = useSlider(route, '[aria-current="page"]');
return {paletteSections, settingsValue, menu, navRef, navStyle: navPos ? {translate: `0 ${navPos.y}px`, height: navPos.h} : undefined};
// One object per measured position: a fresh one on every render would re-render the memoised navigation.
const navStyle = useMemo(() => (navPos ? {translate: `0 ${navPos.y}px`, height: navPos.h} : undefined), [navPos]);
return {paletteSections, settingsValue, menu, navRef, navStyle};
}
export function useStartupToasts() {