feat(layout): re-enable "Back to hub" with a sticky sheet footer #128

Merged
padreug merged 1 commit from feat/back-to-hub-sticky-footer into dev 2026-06-19 22:28:44 +00:00
Owner

Reverses the events-only hide (c037d45) now that the link has a real home, and restructures the profile sheet so the log-in/out controls stay anchored.

Changes

@brand-hub-logo alias

  • New brandHubLogoAliasEntry() in vite-branding.ts, resolving to the brand's primary/global logo (the HUB's logo) via resolveAppLogo() with no app arg — deliberately not the per-standalone @brand-app-logo, which would resolve to the current standalone's own logo.
  • Wired into all 9 app vite configs, since the shared ProfileSheetContent.vue renders it.

Sticky footer layout

  • Profile sheet is now a fixed-height flex column: a flex-1 min-h-0 overflow-y-auto scroll region above a shrink-0 footer.
  • "Back to hub" + the log-in/out bar stay pinned to the bottom while the identity/preferences area scrolls. Works in both hosts (ProfileSheetTrigger bottom sheet h-[90vh], StandaloneMenu right drawer h-full) without touching either caller.

Tidy-ups

  • Edit-profile Dialog moved out of the flex root (its content portals to <body>, so it isn't part of the sheet flow).
  • Logo bumped to w-8 h-8, centered, footer padding tightened.

Notes

  • The "Back to hub" href is VITE_HUB_ROOT_URL (falls back to /). Meaningful once the hub ships; harmless before then.
  • vue-tsc -b build passes; @brand-hub-logo resolves in the production Hub bundle. vitest unaffected (it intentionally mirrors only the @→src alias, not @brand-* asset shims).
  • The diff includes ~90 lines of pure re-indentation from the new flex wrappers — review with git show -w to see the real change.

🤖 Generated with Claude Code

Reverses the events-only hide (c037d45) now that the link has a real home, and restructures the profile sheet so the log-in/out controls stay anchored. ## Changes **`@brand-hub-logo` alias** - New `brandHubLogoAliasEntry()` in `vite-branding.ts`, resolving to the brand's primary/global logo (the HUB's logo) via `resolveAppLogo()` with no app arg — deliberately *not* the per-standalone `@brand-app-logo`, which would resolve to the current standalone's own logo. - Wired into all 9 app vite configs, since the shared `ProfileSheetContent.vue` renders it. **Sticky footer layout** - Profile sheet is now a fixed-height flex column: a `flex-1 min-h-0 overflow-y-auto` scroll region above a `shrink-0` footer. - "Back to hub" + the log-in/out bar stay pinned to the bottom while the identity/preferences area scrolls. Works in both hosts (`ProfileSheetTrigger` bottom sheet `h-[90vh]`, `StandaloneMenu` right drawer `h-full`) without touching either caller. **Tidy-ups** - Edit-profile `Dialog` moved out of the flex root (its content portals to `<body>`, so it isn't part of the sheet flow). - Logo bumped to `w-8 h-8`, centered, footer padding tightened. ## Notes - The "Back to hub" `href` is `VITE_HUB_ROOT_URL` (falls back to `/`). Meaningful once the hub ships; harmless before then. - `vue-tsc -b` build passes; `@brand-hub-logo` resolves in the production Hub bundle. vitest unaffected (it intentionally mirrors only the `@`→src alias, not `@brand-*` asset shims). - The diff includes ~90 lines of pure re-indentation from the new flex wrappers — review with `git show -w` to see the real change. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Reverses the events-only hide (c037d45) now that the link has a real
home. Three parts:

- Add a @brand-hub-logo alias (brandHubLogoAliasEntry) resolving to the
  brand's primary/global logo — the HUB's logo, never the per-standalone
  @brand-app-logo. Wired into all 9 app vite configs since the shared
  ProfileSheetContent renders it.
- Restructure the profile sheet into a fixed-height flex column: a
  flex-1 min-h-0 overflow-y-auto scroll region over a shrink-0 footer,
  so "Back to hub" + the log-in/out bar stay pinned to the bottom while
  the identity/preferences area scrolls.
- Move the edit-profile Dialog out of the flex root (it portals to body,
  so it's not part of the sheet flow).

Logo bumped to w-8 h-8, centered, with tightened footer padding.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
padreug deleted branch feat/back-to-hub-sticky-footer 2026-06-19 22:28:44 +00:00
Sign in to join this conversation.
No description provided.