Commit f579205
feat: Implement The Commuter demo screens (#31)
Implement 4 new screens for "The Commuter" demo showcasing async-first
workflows with transparent session mobility. This implementation includes:
**Screens Implemented:**
- ACP Inbox (app/(tabs)/inbox.tsx) - Homescreen with summary stats, stuck
agent banner, decision queue card, overnight results, and forecast
- Decision Queue (app/decisions/index.tsx) - List of pending decisions
- Review Flow (app/decisions/[id].tsx) - 3-step review process with soft
gates, accordion tracking, quick response chips
- Notification History (app/notifications/history.tsx) - Date-grouped
notifications with restore functionality
**Components Created:**
- Inbox: InboxHeader, StuckAgentBanner, DecisionQueueCard,
OvernightResultsCard, ForecastCard
- Decisions: DecisionCard
- UI: AgentAvatar, NotificationStatusBadge
**Types & Mock Data:**
- types/inbox.ts: InboxSummary, StuckAgent, OvernightResult, Forecast,
Notification, AgentName, AGENT_COLORS
- types/decisions.ts: PendingDecision, DecisionDetails, AccordionSection,
ReviewFlow
- utils/mockInboxData.ts: Complete mock data for all 4 screens with
easter egg (RFE #67)
**Navigation:**
- Added Inbox tab to main navigation
- Created decisions stack navigation
- All screens support pull-to-refresh
**Features:**
- No one-click approvals (enforced via "Start Review" flow)
- 3-step review process with soft gate (must view all sections)
- Quick response chips ("Looks good", "Needs discussion", "Try different")
- Notification restore functionality (DISMISSED → RESTORED)
- Agent-colored avatars (Parker=blue, Archie=purple, Taylor=green,
Phoenix=orange, Morgan=red)
- Responsive to light/dark theme
Implements: #28
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Ambient Code Bot <bot@ambient-code.local>
Co-authored-by: Claude <noreply@anthropic.com>1 parent 57bfb48 commit f579205
File tree
17 files changed
+1658
-1
lines changed- app
- (tabs)
- decisions
- notifications
- components
- decisions
- inbox
- ui
- types
- utils
17 files changed
+1658
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
44 | 51 | | |
45 | 52 | | |
46 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
0 commit comments