mirror of
https://github.com/hanzo-apps/world.git
synced 2026-11-02 20:15:37 +00:00
Clicking a country now opens a proper fullscreen application view instead of a centered card overlay: intel content (instability index, brief, signals, timeline, prediction markets, infrastructure) breathes across the canvas on the left, with a docked AI analyst chat as a right sidebar. - CountryBriefPage: fullscreen flex layout (header + cb-view = cb-main | resize handle | cb-analyst-sidebar). Docks the ONE AnalystChat component by composition — model picker + command registry intact — seeded with the country as the active region so the first question is grounded. Resizable divider, collapsible sidebar with a reopen pill; on mobile the sidebar is a bottom sheet (no horizontal scroll), intel leads by default. - App: browser Back closes the view (opened via pushState), Forward re-opens it; ?country= deep link restores it. Escape/✕ still restore the dashboard. Passes the analyst host into the page. Replaced a fragile typeof-this type query with a stable class index access. - main.css: append-only fullscreen layout + analyst sidebar styling (monochrome, Geist, sentence case), mobile bottom-sheet, print-flow restore. - e2e/country-view.spec.ts: desktop fullscreen + docked chat + URL + Escape, collapse/reopen, mobile 390px bottom sheet, ?country=FR deep link. 4 passing. Co-authored-by: Hanzo Dev <[email protected]>
68 KiB
1280x720px
68 KiB
1280x720px