This document outlines the tasks for Developer B, focusing on the frontend UI, voice input, and browser automation via GhostWorker.
- Initialize Next.js repository.
- Configure TailwindCSS.
- Deploy initial scaffold to Vercel.
- Provide WebSocket client skeleton for real-time updates.
- Implement Task Card components.
- Priority indicators (P0/red, P1/orange, P2/blue, P3/gray).
- Implement Schedule Day-View layout ("River Timeline").
- Connect WebSocket to receive
UpdatedScheduleevents.
- Implement Schedule Swap Animations.
- Task cards sliding in/out with color transitions.
- Implement Split-Screen Layout:
- Left: Schedule View.
- Right: Agent Activity Log / GhostWorker View.
- Implement Voice Input using Web Speech API.
- Send voice commands to backend.
[CHECKPOINT 1 - Phase 1 Complete]
- Test Integration: Verify voice input sends commands to backend.
- Sync: Merge frontend components to
main. - Verify: Basic UI renders schedule data and updates via WebSocket.
- Set up Stagehand (Browserbase) + Headless Chrome.
- Implement Gmail Automation:
- Open compose window.
- Fill recipient/subject.
- Write draft body.
- Integrate live browser session view into split-screen (Right Panel).
- Create Draft Review UI Component.
- Implement Slack Automation:
- Navigate to channel/DM.
- Draft message.
- Implement Notion/Doc Updates.
- Implement Appointment Cancellation Flow:
- Navigate provider site -> Find cancel button -> Execute.
- Enhance Draft Approval Flow in UI (Approve/Edit/Reject buttons).
- Full Frontend Integration:
- Trigger: Disruption event to frontend.
- Action: Schedule redraw + swap animation.
- Action: GhostWorker activity panel updates live.
- UI Polish Pass 1: Spacing, typography, empty states, loading states.
[CHECKPOINT 2 - Phase 2 Complete]
- Test Integration: Verify GhostWorker effectively controls browser based on backend commands.
- Sync: Merge automation scripts and UI updates to
main. - Verify: Full demo loop works: Disruption -> Schedule Change -> GhostWorker Draft -> User Approve.
- Implement smooth easing for swap animations.
- Refine priority color system.
- Add Energy Indicator component.
- Add Time-Saved Counter.
- Ensure mobile responsiveness.
- Implement Dark Mode.
- Enhance Agent Activity Log with real-time updates.
- (Stretch) Implement Uber Booking Automation.
- (Stretch) Implement Calendar Rescheduling Automation.
- Demo Flow Scripting:
- Set up exact scenario data (Sarah’s schedule).
- Create timed calendar change trigger.
- Demo Rehearsal x5.
- Fix frontend bugs found during rehearsal.
- Create Devpost Content:
- Screenshots.
- Architecture diagram.
- Description.
[CHECKPOINT 3 - Phase 3 Complete]
- Verification: UI looks polished and professional ("Premium Design").
- Sync: Frontend code freeze.
- (Hours 30-32) Final frontend bug fixes. Record backup demo video (screen + voice).
- (Hours 32-34) Write Devpost submission. Add Innovation Lab badges to README.
- (Hours 34-36) Final demo rehearsals. Submit Devpost.