trails/apps/planner/app/components
Ullrich Schäfer 1d3ba956cb
feat(planner): restyle Export + SaveToJournal buttons on tokens
Bring the two slotted topbar actions onto the design system so the bar
reads as one cohesive surface:

- SaveToJournalButton: primary Button primitive; "saved" uses the
  accent, error uses a new --color-danger token, and the return link
  gets secondary token styling.
- ExportButton: token split-button (secondary look, chevron icon,
  single divider) and a token dropdown menu (raised surface, soft
  shadow, muted descriptions).
- New --color-danger token (#a03c3c, the no-go hue at full strength)
  for error text.

Behavior and i18n unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 00:42:37 +02:00
..
ClientOnly.tsx Fix SSR and automerge timing 2026-03-23 00:49:54 +01:00
ColoredRoute.tsx planner: give the Yjs document a typed schema seam 2026-06-10 01:35:04 +02:00
DayBreakdown.tsx Fix i18n: use planner namespace in sidebar components 2026-04-10 23:59:27 +02:00
ElevationChart.tsx planner: give the Yjs document a typed schema seam 2026-06-10 01:35:04 +02:00
ExportButton.tsx feat(planner): restyle Export + SaveToJournal buttons on tokens 2026-07-16 00:42:37 +02:00
MapHelpers.tsx remove the map and ui shim packages 2026-06-10 07:47:59 +02:00
MidpointHandles.tsx Add route interactions: click-to-split, drag-to-reshape, colored route rendering 2026-03-26 21:15:55 +01:00
NearbyPoiMarkers.tsx poi-index: map-core selectors, planner.pois schema, /api/pois route + client, metrics 2026-07-12 22:38:03 +02:00
NoGoAreaLayer.tsx chore(ts): replace 7 \as unknown as\ shims with proper types 2026-05-26 01:02:25 +02:00
NotesPanel.tsx Fix notes not loading on session reload 2026-04-11 03:00:51 +02:00
ParticipantAvatars.tsx feat(planner): redesign topbar with tokens + primitives, presentational 2026-07-15 23:51:27 +02:00
PlannerMap.tsx fix(planner): note tooltip sizes to content (width max-content, cap 280) 2026-07-15 21:44:05 +02:00
PoiPanel.tsx chore(ts): replace 7 \as unknown as\ shims with proper types 2026-05-26 01:02:25 +02:00
ProfileSelector.tsx feat(ui): Select primitive; restyle ProfileSelector on tokens 2026-07-16 00:12:23 +02:00
RouteInteraction.tsx chore(ts): replace 7 \as unknown as\ shims with proper types 2026-05-26 01:02:25 +02:00
SaveToJournalButton.tsx feat(planner): restyle Export + SaveToJournal buttons on tokens 2026-07-16 00:42:37 +02:00
SessionView.tsx feat(planner): redesign topbar with tokens + primitives, presentational 2026-07-15 23:51:27 +02:00
Topbar.tsx feat(planner): redesign topbar with tokens + primitives, presentational 2026-07-15 23:51:27 +02:00
WaypointContextMenu.tsx Replace right-click behavior with context menu on waypoints 2026-04-11 02:42:43 +02:00
WaypointSidebar.tsx poi-index: map-core selectors, planner.pois schema, /api/pois route + client, metrics 2026-07-12 22:38:03 +02:00
YjsDebugPanel.tsx planner: give the Yjs document a typed schema seam 2026-06-10 01:35:04 +02:00