Skip to content

Make the toolbar responsive with a hamburger menu - #136

Merged
MadsThy merged 4 commits into
feature/signed-in-account-menufrom
feature/mobile-toolbar
Dec 3, 2026
Merged

MadsThy merged 4 commits into
feature/signed-in-account-menufrom
feature/mobile-toolbar

Conversation

@MadsThy

@MadsThy MadsThy commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Refs #135. Builds on #134 so this PR’s diff covers the responsive toolbar and quick-search changes.

Summary

  • Keep the full toolbar when its contents fit. Switch to a compact toolbar as the available width or the translated labels change.
  • Keep the Fastasys home link, participant search, and profile button in the compact toolbar. Move navigation into the hamburger menu. Language selection and logout are available from the account button at all widths.
  • Keep the navigation order and existing permissions in both layouts. Use a search icon with an accessible label at every width. The participant search form, behaviour, and tests are part of the toolbar component.

Verification

  • All 440 frontend tests passed, including switching layouts, selecting a navigation submenu item, and changing language and logging out from the account menu in both layouts. Lint and formatting passed.
  • The production configuration built with optimization disabled to avoid the external font fetch in the local environment.
  • In a local Chrome test with a mock API, the toolbar fit at 320 px without horizontal page scroll, a submenu selection closed the menu, and widening the viewport to 1920 px restored the full toolbar.

@MadsThy MadsThy self-assigned this Dec 3, 2026
@MadsThy MadsThy linked an issue Dec 3, 2026 that may be closed by this pull request
9 tasks
@MadsThy MadsThy added Admin Opgaver med relevans for Admin-modulet and removed Admin Opgaver med relevans for Admin-modulet labels Dec 3, 2026
@MadsThy
MadsThy added this pull request to stack #138 December 3, 2026 02:08
@MadsThy
MadsThy force-pushed the feature/mobile-toolbar branch from 60a89a3 to d9e7b84 Compare December 3, 2026 18:55
@MadsThy
MadsThy merged commit a872891 into main Dec 3, 2026
8 checks passed
@MadsThy
MadsThy deleted the feature/mobile-toolbar branch December 3, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gør topmenuen mobilvenlig med en hamburgermenu

1 participant