Play Shell Charts (historical)
Lifecycle: HISTORICAL SUPPORTING
Recovered from legacy wiki pathcontent/current/architecture/charts_play-shell-dock-ux.md(attic copy retained; not deleted).
Prefer current SSOT pages for production decisions. Last promoted: 2026-07-20.
Charts โ Funday play shell, dock, drawer, immersive UX
Mermaid views: regular vs pressing issues use node classDef colors (green / amber / red).
1 โ Screen layers (birdโs eye)
--- config: theme: forest look: handDrawn --- flowchart TB %% ๐จ Severity hints on concepts classDef regular fill:#bbf7d0,stroke:#166534,color:#14532d classDef watch fill:#fde68a,stroke:#b45309,color:#78350f classDef hot fill:#fecaca,stroke:#b91c1c,color:#7f1d1d NAV["๐งญ Navbar<br/>site chrome"]:::regular subgraph MAIN["๐ผ๏ธ Play column (insets when drawer open)"] VP["๐งฑ GameViewport<br/>iframe / native"]:::regular HUD["๐ GameHUD<br/>optional chips"]:::regular end DR["๐๏ธ GameDrawer<br/>lobby ยท match ยท chat"]:::watch DK["๐ข GameDock<br/>icons + platform"]:::regular NAV --> MAIN MAIN --> DK DR -. overlaps right .- MAIN TOK["๐ Tokens<br/>--nav-h --dock-h --drawer-w"]:::hot TOK -.-> MAIN TOK -.-> DK TOK -.-> DR
2 โ Who talks to whom (sequence)
--- config: theme: forest look: handDrawn --- sequenceDiagram autonumber participant G as ๐ฎ Game embed participant B as ๐ Bridge participant C as ๐ฆ gameContext participant D as ๐ข GameDock participant W as ๐๏ธ GameDrawer participant N as ๐ Nakama G->>B: funday:dock:set {actions} B->>C: merge actions C->>D: render icon buttons + title tooltip D->>W: openDrawer('lobby') on Lobby click W->>N: list / join / match data N-->>W: presences, chat W->>G: funday:match-state (via postToGame)
3 โ Drawer + Lobby button (state)
--- config: theme: forest look: handDrawn --- stateDiagram-v2 [*] --> Closed: load /play Closed --> OpenLobby: ๐ฑ๏ธ tap Lobby on dock<br/>or auto-open MP OpenLobby --> Closed: โ close drawer<br/>match stays connected OpenLobby --> OpenLobby: drawer shows<br/>lobby list + chat note right of OpenLobby Lobby BUTTON stays on bottom dock (left area). CONTENT of lobby lives in the right drawer. Visual link: active / pressed state on Lobby while open (recommended polish). end note
4 โ Shared dock vocabulary (mind map)
--- config: theme: forest look: handDrawn --- mindmap root((๐ข Universal dock)) ๐ Lobby opens right drawer icon Clipboard ๐ Restart / Reset confirm destructive โน๏ธ Howto / Help modal or overlay ๐ Online / Reconnect network sanity ๐ Volume mute toggle โ๏ธ Settings per-game prefs ๐ Leaderboard platform mini LB ๐ฌ Feedback bugs / praise โถ Fullscreen immersive shell โ Exit history.back
5 โ Player journey (find multiplayer)
--- config: theme: forest look: handDrawn --- journey title ๐ฏ Get into a match section Land Open game from catalog: 5: Player section Dock See ๐ Lobby icon + tooltip: 4: Player Tap Lobby: 5: Player section Drawer New / Join / Refresh: 4: Player Read lobby chat: 3: Player section Match Host starts: 5: Player Match chat auto: 4: Player
6 โ Immersive fullscreen (target / future)
--- config: theme: forest look: handDrawn --- flowchart LR classDef regular fill:#bbf7d0,stroke:#166534 classDef watch fill:#fde68a,stroke:#b45309 classDef hot fill:#fecaca,stroke:#b91c1c FS["โถ Fullscreen / minimal chrome"]:::watch FS --> TL["โ๏ธ Top-left<br/>โฐ reopen top bar<br/>icon only"]:::regular FS --> BR["โ๏ธ Bottom-right<br/>๐ค / ๐ฌ strip<br/>peek chat"]:::regular FS --> PIN["๐ Pin drawer<br/>opaque vs glass"]:::hot FS --> CHAT["๐ญ Bubbles fade<br/>Scribblaz guesses"]:::hot CHAT -. SSOT .- N["๐ Nakama channels<br/>lobby vs match"]:::regular
7 โ Issue heat (pie, rough priority mix)
--- config: theme: forest look: handDrawn --- pie showData title ๐ก๏ธ Where UX pain clusters (conceptual) "๐ข Clear icon + tooltip pattern" : 35 "๐ก Drawer / dock / fullscreen edge cases" : 40 "๐ด Chat SSOT across game + shell" : 25
Links (authoritative)
- Mermaid theming
- DaisyUI tooltip โ
title+data-tipfor icon-first bars - WCAG 2.2 Target Size โ 24ร24 CSS px minimum (dock uses ~44px height โ)