foolish-bandit/gary: four action cards replace the bare assistant home
Commit `d761a8da` replaces the empty-state "Hi, {name}" screen in `InitialView.tsx` with a 2x2 grid of lawyer-facing action cards. This is the seed of the guided-mode UX direction the fork builds out across the subsequent three workflow shells.
The four cards are: Ask Gary (focuses the chat textarea), Upload Document (triggers file upload via uploadStandaloneDocument, attaches the doc as a chip on the chat input), Review Contract (routes to /tabular-reviews initially, later rewired to /review), Draft Something (routes to /workflows, later rewired to /draft). All four reuse existing backend plumbing.
The diff adds two small props to ChatInput. A focus() method is exposed on ChatInputHandle so the Ask Gary card can programmatically focus the textarea. A hideModelToggle prop gates the model dropdown -- on the empty state it's hidden; once you're in a chat or at /account/models it shows normally. Both additions are small and unlikely to conflict with other changes.
Upload handling in InitialView loops over selected files, calls uploadStandaloneDocument for each, and then calls chatInputRef.current?.addDoc(doc) to attach them. Upload errors drop to console.error in this commit (a uploadError state is added later in commit b3287856).
The 143 lines added, 6 removed across two files (ChatInput.tsx and InitialView.tsx) are purely additive. Nothing is removed from the existing flows.
The three subsequent workflow shells -- /review, /draft, /explain -- all wire into this grid by adding a card to the actions array in InitialView.tsx. Importing any of them without this commit means wiring the entry point yourself.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?