diff --git a/.prettierignore b/.prettierignore index 189edadc..f803711c 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,6 +4,11 @@ coverage node_modules package-lock.json +# Local per-task worktrees (git worktree add .worktrees/) carry full +# copies of the tree, each formatted against its own branch state; checking +# them here makes format:check walk and flag four extra repos. +.worktrees + # Vendored Keycloak theme. `keycloakify sync-extensions` runs on every # `npm install` and rewrites everything except the handful of "owned" files # listed in src/keycloak-theme/.gitignore — formatting the rest is churn that diff --git a/eslint.config.js b/eslint.config.js index 5ca7c1ef..8053fb84 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -17,6 +17,7 @@ export default defineConfig([ "public/keycloak-theme/**", "public/keycloakify-dev-resources/**", "storybook-static/**", + ".worktrees/**", ]), { diff --git a/src/App.tsx b/src/App.tsx index 1b858746..03b2f11f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -108,7 +108,15 @@ function AppContent() { {/* `data-moment-stage`: the area the page-scoped moments (the onboarding launch and landing) cover, instead of the whole screen — see momentStage.ts in the moments feature. */} -
+
diff --git a/src/components/layout/DetailsSideDrawer.tsx b/src/components/layout/DetailsSideDrawer.tsx index d008c528..f1659428 100644 --- a/src/components/layout/DetailsSideDrawer.tsx +++ b/src/components/layout/DetailsSideDrawer.tsx @@ -17,6 +17,7 @@ type DetailsSideDrawerProps = { contentClassName?: string; headerClassName?: string; closeAriaLabel?: string; + lockScroll?: boolean; }; export function DetailsSideDrawer({ @@ -35,6 +36,7 @@ export function DetailsSideDrawer({ contentClassName = "mx-3 px-3 pb-8 pt-4 sm:mx-5 sm:px-4 sm:pb-10 sm:pt-5 lg:px-5 lg:pt-6", headerClassName = "mx-3 px-3 pb-4 pt-4 sm:mx-5 sm:px-4 sm:pb-5 sm:pt-5 lg:px-5 lg:pt-6", closeAriaLabel = "Close details", + lockScroll = true, }: DetailsSideDrawerProps) { return ( {children} diff --git a/src/components/layout/SideBar.tsx b/src/components/layout/SideBar.tsx index 5a1f8764..b26492a3 100644 --- a/src/components/layout/SideBar.tsx +++ b/src/components/layout/SideBar.tsx @@ -460,7 +460,7 @@ export function SideBar() { <>