feat(yellow-brick): Yellow Brick UX Foundation Sprint (WS1–WS6) - #61
Open
daftpixie wants to merge 5 commits into
Open
feat(yellow-brick): Yellow Brick UX Foundation Sprint (WS1–WS6)#61daftpixie wants to merge 5 commits into
daftpixie wants to merge 5 commits into
Conversation
added 5 commits
March 8, 2026 17:52
…WS5) - Replace sidebar layout with horizontal tab navigation (Dashboard, Calendar, Content, Social, Analytics, Settings) - New DashboardTopBar: 56px, ozskr.ai wordmark + wallet button, void black bg - New TabNavigation: gold underline active state, mobile scroll, ARIA - YellowBrick placeholder centered at top of every page (max-w-[672px]) - /content placeholder page (route previously missing) - layout.tsx: removes Sidebar/CommandBar, adds YellowBrick + tabs Assisted-by: Claude Code
- Zustand store with YellowBrickContext, all state/actions, file attachment - VoiceInput: Web Speech API progressive enhancement, waveform bars animation - YellowBrick: 48px command bar, gold border states, ⌘K/Escape shortcuts, SSE streaming to /api/v1/agent/chat, slash commands, file DnD + chips, voice transcript integration, response panel with copy/dismiss - Barrel export updated with all types Assisted-by: Claude Code
POST /api/v1/agent/chat — context-aware system prompts per YellowBrick context, Claude haiku streaming via Vercel AI SDK, JWT auth, optional Langfuse tracing. Assisted-by: Claude Code
- Migration: social_oauth_tokens table with RLS, AES-256-GCM encrypted storage - GET /api/social/oauth/status — list connected providers - DELETE /api/social/oauth/:provider — revoke token - GET /api/social/oauth/callback/:provider — store token after OAuth flow - Service role policy for Trigger.dev background jobs Assisted-by: Claude Code
- ContentCalendar: 7-column week grid, Mon–Sun, post chips with platform icons - Week navigation (prev/next/this-week), today highlighted in Brick Gold - SchedulePostModal: dialog element, platform select, date+time, POST to /api/ai/schedules - Graceful 404/empty handling via React Query with retry: false - YellowBrick context syncs to 'calendar' on mount, resets on unmount Assisted-by: Claude Code
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete implementation of the Yellow Brick UX Foundation Sprint — 6 workstreams building the command bar, dashboard shell, backend chat API, OAuth token management, and content calendar.
usePathname()active state, Brick Gold underline indicatorPOST /api/v1/agent/chat— SSE streaming via Vercel AI SDK + Claude haiku, context-aware system prompts per tab, JWT auth, optional Langfuse tracingsocial_oauth_tokenstable (RLS, AES-256-GCM encryption),GET /status,DELETE /:provider,GET /callback/:providerHono routesSchedulePostModalusing<dialog>, YellowBrick context syncGate results
All phases passed typecheck clean before proceeding:
pnpm typecheckcleanpnpm typecheckcleanpnpm typecheckcleanDB migrations to run
supabase/migrations/20260309000000_social_oauth_tokens.sql— run in Supabase SQL editor before merging (or immediately after on Vercel preview).Test plan
/dashboard— verify top bar + tab navigation render/slash prefix — verify command suggestions appear/calendar— verify weekly grid renders, today is highlighted in gold/api/ai/schedulessupabase/migrations/20260309000000_social_oauth_tokens.sql— verify table + RLS createdGET /api/social/oauth/statuswith valid JWT — verify{ connected: [] }response🤖 Generated with Claude Code