Four action cards replace the bare empty state on the assistant home

foolish-bandit reworked the authenticated home view so a non-technical lawyer lands on four plain-English starting points instead of a bare chat input. All four wire into routes that already existed - no backend changes, no new APIs.

chat-uipersonas

The four cards are: Ask Gary (focuses the chat textarea), Upload Document (triggers a file picker and pushes through the existing standalone-upload endpoint), Review Contract (routes to the tabular review feature), and Draft Something (routes to workflows). The change is entirely in how the empty state is framed.

Two small mechanical additions came with it. ChatInputHandle gained a focus() method - one line, textareaRef.current?.focus() - so the Ask Gary card can drive the input imperatively. A hideModelToggle prop was added to ChatInput so the model dropdown is hidden on the home empty state but stays visible inside an active conversation.

foolish-bandit was explicit about what sits outside this PR's scope. The sidebar still uses feature names like Tabular Review and Workflows. The in-chat input still shows model names and a missing-API-key indicator. Account settings still expose per-provider API key inputs. All reported, none changed - they're outside the home empty state this commit is reshaping.

The commit is +143/-6 across two files. Lint and type-check baselines unchanged; the PR merged the same day it was opened.

So what Worth a look if you're building a simplified entry point for non-technical users. The `focus()` handle on `ChatInputHandle` is a clean addition that costs nothing to cherry-pick. The card layout itself is Gary-specific framing, but the pattern - progressive disclosure of features from a simplified home - translates.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

1 commit from foolish-bandit/gary, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
d761a8da Add four action cards to assistant home for Gary mode Claude 2026-05-07 ↗ GitHub
commit body
Replaces the bare 'Hi, {name}' empty state with a 2x2/4-up grid of
lawyer-friendly action cards above the existing chat input:

- Ask Gary - focuses the chat input
- Upload Document - uploads via existing /single-documents route and
  attaches the doc as a chip on the chat input
- Review Contract - routes to /tabular-reviews
- Draft Something - routes to /workflows

Hides the model dropdown only on the empty state (still available on
in-chat ChatInput and at /account/models). No new routes, no backend
changes, no removed functionality. ChatInputHandle gains a focus()
method and ChatInput gains a hideModelToggle prop.

https://claude.ai/code/session_019pRkhcGDRKQWHjzAnV5yCL

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-322.md from inside the repo you want the changes in.

⬇ Download capture-thread-322.md