mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:01:09 +02:00
When the right-hand user pill is clicked as a guest (barMode), the opening bar used to show just a decorative "Menü" label pill on the left and then settings + theme toggles — none of which are a useful first action for someone not logged in. - phosphor-icon-map: register SignIn as `login`, so PillDropdownBar can render it the same way as the existing `logout` glyph. - PillNavigation.userMenuBarItems: prepend an "Anmelden" item for guests (no userEmail + loginHref given) that navigates to loginHref. It becomes the first CTA in the bar, above settings / theme / language. - PillNavigation.userBarConfig: drop the bar-header label when the viewer is a guest. The decorative "Menü" pill added nothing alongside the new Anmelden action and just cluttered the leading edge of the bar. The popover variant of the user menu (UserMenuPanel) already had its own guest login button — this mirrors that behaviour for the bottom-bar variant used on mobile / narrow layouts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| actions | ||
| atoms | ||
| bottom-stack | ||
| charts | ||
| components | ||
| context-menu | ||
| dnd | ||
| help | ||
| molecules | ||
| navigation | ||
| onboarding | ||
| organisms | ||
| pages | ||
| quick-input | ||
| search-core | ||
| settings | ||
| test | ||
| toast | ||
| index.ts | ||