mock: redesign around the planning workflow

- one unified canvas: discovery is a drawer over the map (chips: lunch /
  dinner / afternoon / hotel), the plan rail stays visible — no more
  modal focus-mode / dimmed rail
- smoother discovery: 'you might like' suggestion block in the rail
  (unfilled slots / more-like-this-day), region placeholders open the
  drawer, chat still filters an open drawer
- frictionless replacement: every planned stop card expands to inline
  alternatives with one-click swap (incumbent demotes to backup, new
  stop takes its sequence position); candidate cards are draggable and
  drop onto a same-slot stop (swap) or the plan (hold as idea)
- multi-scale comparison: persistent bottom dock lines up 2-4
  candidates/stops side by side (walk from anchor, walk to hotel,
  duration, price, tags) at both hotel and stop scale, with choose /
  idea actions
- gentler load: states read as in plan / idea / backup, issues panel
  becomes 'nudges' (one-tap fixes, 'this day looks good' when clear),
  budget phrasing ('comfortably paced' / 'running a bit full')
- new day strip: horizontal L1 overview of the whole day (stops, legs,
  buffer, return-to-hotel) with hour axis; click a block to fly
- mobile: drawer becomes a bottom sheet, dock sits above the tab bar
This commit is contained in:
gmp
2026-09-08 22:54:33 -04:00
parent fc9cf44052
commit 146c7e168c
3 changed files with 882 additions and 454 deletions
+15 -6
View File
@@ -46,20 +46,22 @@
<div class="daytabs" id="daytabs"></div>
</div>
<div class="tb-right">
<span class="badge" id="issue-badge" title="Plan issues">⚠ <b id="issue-count">0</b> issues</span>
<span class="badge" id="nudge-badge" title="Plan nudges">✓ looking good</span>
</div>
</header>
<div id="app" class="hidden">
<aside id="rail">
<div id="daystrip"></div>
<div class="rail-block" id="transit-block"></div>
<div class="rail-block" id="sugg-block"></div>
<div id="rail-body"></div>
<div class="rail-foot">
<div class="budget">
<div class="budget-label"><span id="budget-text">…</span></div>
<div class="budget-bar"><div id="budget-fill"></div></div>
</div>
<div id="issues-panel"></div>
<div id="nudges"></div>
<div class="legend">
<span class="tc t-user">·</span> you
<span class="tc t-sched">·</span> booked
@@ -70,10 +72,14 @@
</div>
</aside>
<div id="mapwrap">
<div id="focusbar" class="hidden">
<span id="focusbar-title"></span>
<span class="fb-hint">talk to filter</span>
<button id="focusbar-x" class="fb-x" title="Exit (Esc)">✕</button>
<!-- discovery: a drawer over the map, the plan stays visible behind it -->
<div id="discover" class="hidden">
<div class="disc-head">
<div class="disc-chips" id="disc-chips"></div>
<div id="disc-title"></div>
<button id="disc-x" class="disc-x" title="Close (Esc)">✕</button>
</div>
<div class="disc-list" id="disc-list"></div>
</div>
<div id="l3-editor" class="hidden">
<div class="l3-title" id="l3-title">Route</div>
@@ -91,6 +97,9 @@
</aside>
</div>
<!-- comparison dock: side-by-side alternatives at any scale -->
<div id="dock" class="hidden"></div>
<nav id="mobiletabs" aria-label="Views">
<button data-t="plan" class="on">🗓️ Plan</button>
<button data-t="map">🗺️ Map</button>