diff --git a/Client/context-files/scenes.md b/Client/context-files/scenes.md index 2028785..bd47b43 100644 --- a/Client/context-files/scenes.md +++ b/Client/context-files/scenes.md @@ -4,17 +4,96 @@ This file defines scene scope and network data flow for the first client/server --- -## 1) Scene Flow (High Level) +## 1) Scene/Page/UI Map (Client-First Draft) +### 1.1 Boot + Session Scenes 1. `ClientLaunch` 2. `HubConnection` 3. `PatchAndVersionCheck` 4. `AuthGateway` -5. `Login` or `Register` or `OAuthStart` -6. `OAuthCallback` (if OAuth path) -7. `MainMenu` -8. `Collection` -9. `DeckEditor` / `CardViewer` / `Cosmetics` (sub-scenes under Collection) + +### 1.2 Auth Scenes +5. `Login` +6. `Register` +7. `OAuthStart` +8. `OAuthCallback` + +### 1.3 Primary App Scenes +9. `MainMenu` +10. `CollectionHub` +11. `DeckEditor` +12. `CardViewer` +13. `Cosmetics` + +### 1.4 Per-Scene UI Blocks (Draft) + +#### `ClientLaunch` +- Splash/logo +- Build/version text +- Background init indicator + +#### `HubConnection` +- Connection status indicator (connecting/retrying/failed) +- Retry button + diagnostics link (optional) + +#### `PatchAndVersionCheck` +- Version comparison summary +- Patch progress bar +- Release notes panel (optional) +- Continue button when ready + +#### `AuthGateway` +- Account/session check spinner +- Auth route chooser (Login/Register/OAuth) +- Service status banner + +#### `Login` +- Username/email field +- Password field +- Remember device toggle +- Submit + Forgot Password actions + +#### `Register` +- Email/username/password inputs +- Terms/privacy acceptance controls +- Submit action + validation messages + +#### `OAuthStart` +- Provider buttons +- OAuth status text + +#### `OAuthCallback` +- Verifying auth state message +- Success/failure redirect panel + +#### `MainMenu` +- Navigation cards/buttons (Play/Collection/Bazaar/etc.) +- Profile summary widget +- Notifications widget +- Settings/logout actions + +#### `CollectionHub` +- Tab nav (DeckEditor/CardViewer/Cosmetics) +- Collection summary strip + +#### `DeckEditor` +- Deck list panel +- Card search/filter panel +- Deck composition panel +- Validation/errors panel +- Save/duplicate/delete actions + +#### `CardViewer` +- Search input +- Filter/sort controls +- Card grid/list +- Card detail drawer/modal + +#### `Cosmetics` +- Cosmetic category selector (back/trim/art/model) +- Preview pane +- Owned/locked state indicators +- Equip/apply controls ---