Skip to content

[UI] Flat refresh 4/9: top navigation instead of the drawer - #599

Merged
LarsLaskowski merged 31 commits into
mainfrom
claude/beautiful-heisenberg-n3tgik
Nov 30, 2026
Merged

LarsLaskowski merged 31 commits into
mainfrom
claude/beautiful-heisenberg-n3tgik

Conversation

@LarsLaskowski

@LarsLaskowski LarsLaskowski commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Pull Request

📖 Description

The app shell now has one flat header across the page with the brand, the navigation row and the dark-mode toggle; the left drawer, the floating top bar and its two meta cards (Protected assets, Last activity) are gone, and the layout no longer loads the dashboard summary (GetDashboardSummaryAsync and DashboardSummaryViewData are removed). The navigation row shows from 1360 px, because the eight entries wrap into a second row at 1280 px with the values of the issue; below that a menu button opens a temporary drawer that starts closed and closes on a followed link, Escape, a click outside and widening the window. The content is at most 1280 px wide with 32 px side padding, every page ends with a version line, the navigation conditions are evaluated once per page load and persisted across prerendering, and the favicon and logo asset become the flat one-color shield. This is a feature, not a breaking change.

🎫 Issues

Closes #454

Decision record: docs/decisions/0081-the-navigation-row-shows-from-1360-px-and-a-drawer-below.md

💬 Reviewer Notes

Smoke test: open the app at 1360 px and at 1359 px in both themes, check the header row, the menu button, the drawer and the version line, and widen the window with the drawer open. The closed drawer is hidden with visibility: hidden without a transition, so its slide-out on close is not animated. The fallbacks of MainLayout.ResolveDisplayVersion (moved unchanged from NavMenu) are not unit-testable because they depend on the static entry assembly.

📑 Test Plan

New and adapted unit tests cover the entries and their order, the active entry (aria-current), the drawer behavior, the version line, the removed top-bar values, the persisted navigation state, the brand assets and the stylesheet rules (breakpoint pair, non-wrapping row, content width, closed drawer). The working record with the verification matrix is posted on #454; the layout was also measured on a local run at 390 to 1920 px in both themes.

✅ Checklist

  • I have added or updated Unit Tests for the change.
  • I have tested my changes.
  • I have run Format and Build from .squad/stack.md, and the Analyzer gate reports no diagnostic in a changed file.
  • The Coverage gate in .squad/stack.md passes (new or changed production code with the branch conditions its report records, line coverage overall).
  • I have updated the project documentation (README.md, ARCHITECTURE.md) and the area document of every changed behavior to reflect my changes.
  • Each decision with lasting weight has its decision record, committed with the change.
  • I have read the CONTRIBUTING documentation and followed the project's code style guidelines.
  • New dependencies, if any, were added the way Dependencies in .squad/stack.md prescribes.
  • The PR carries its release-notes label (CONTRIBUTING); a change that breaks existing users carries breaking-change and says so in the Description.
  • The C# rules in csharp.instructions.md are followed.

UI-specific

  • I have added a new Blazor page/component.
  • I have added Unit Tests for the new page/component.
  • I have modified an existing Blazor page/component.

@LarsLaskowski LarsLaskowski added the enhancement New feature or request label Nov 29, 2026 — with Claude
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UI] Flat refresh 4/9: app shell with a top navigation instead of the drawer

2 participants