managarten/packages/shared-ui
Till JS 901d450416 refactor(shared-ui): fold Cloud Sync pill into the user menu bar
The standalone "Cloud Sync" pill sat fifth in the bar-mode pill row
on mobile / narrow layouts, pushing the pill row to 5+ items and
duplicating actions the user menu already surfaces (Sync-Einstellungen,
credits link). Move the sync status + actions into userMenuBarItems
so they appear as a labelled section inside the bar that opens when
the user pill is tapped.

Render order for signed-in users now goes:
  account · settings · theme-mode · theme · [Sync section] · logout

The section header uses the existing `divider: true, label: 'Sync'`
shape PillDropdownBar already understands, so the status line ("Cloud
Sync aktiv", etc.) sits under a real heading. For guests the section
is skipped entirely — sync doesn't apply before login.

Left the non-barMode popover path alone (showSyncStatus + syncStatusItems
still drive the inline PillDropdown when a popover is in use) since
the complaint was specifically about the bar's fifth pill on mobile.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 19:11:47 +02:00
..
src refactor(shared-ui): fold Cloud Sync pill into the user menu bar 2026-04-15 19:11:47 +02:00
package.json perf(shared-pkgs): declare sideEffects for aggressive tree-shaking 2026-04-14 18:12:22 +02:00
tsconfig.json feat(shared-ui): add TagChip component and tag component tests 2026-04-02 14:24:19 +02:00
vitest.config.ts feat(shared-ui): add TagChip component and tag component tests 2026-04-02 14:24:19 +02:00