Skip to content

Make the Connect step 2 its own view and polish the console - #5

Merged
pei-tinybird merged 1 commit into
mainfrom
feature/connect-step-two
Oct 13, 2026
Merged

pei-tinybird merged 1 commit into
mainfrom
feature/connect-step-two

Conversation

@pei-tinybird

@pei-tinybird pei-tinybird commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

After connecting through Vercel Connect and RawTree OAuth, you landed back on a /sign-in that looked almost the same as the start, so it felt like going back to the beginning. Step 2 is now its own focused view. The console also gets a few visual fixes.

Changes

  • app/sign-in/page.tsx: once connected, the page shows "Choose your database" with a "Connected to RawTree · Disconnect" row and the picker only. The method tabs, preview, how-it-works and explainer are hidden, and ?method=key is ignored until you disconnect. Disconnect brings back the original layout.
  • components/sign-in/search-select.tsx (new), workspace-picker.tsx: organization, cluster and database use searchable selects (base-ui Combobox), ported from jev-pr-quality.
  • components/console/console-app.tsx: card title icons are gray and sit on the title's optical center. The consent row puts collector and database on one line and the IDs on the next. The scrolling left column pads all sides, so the cards' ring isn't clipped.
  • components/date/button.tsx: the outline variant gets a visible hover (bg-muted). It was white on white. This also fixes Flush now, Reset identity and the date picker trigger.

Test plan

  • npm run typecheck
  • npm test
  • /sign-in step 1 unchanged; step 2 checked with stubbed workspaces, including ?method=key
  • Searchable select filters, and picking a cluster updates the database and the submitted value
  • /console: icon alignment measured, consent row layout, cards' ring visible on all sides
  • Full Vercel Connect round trip on the deployment

🤖 Generated with Claude Code

After the Vercel Connect round trip, /sign-in now shows a focused
"Choose your database" view: no method tabs, no preview or how-it-works
sections, a connected row with Disconnect, and searchable selects ported
from jev-pr-quality. ?method=key is ignored while connected.

Console: gray card icons nudged onto the title's optical center, the
collector and database on their own line in the consent row, a visible
hover on outline buttons, and room for the cards' ring in the scrolling
column.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@pei-tinybird
pei-tinybird requested a review from a team as a code owner October 13, 2026 11:17
@pei-tinybird pei-tinybird self-assigned this Oct 13, 2026
@pei-tinybird
pei-tinybird merged commit d664e33 into main Oct 13, 2026
1 check passed
@pei-tinybird
pei-tinybird deleted the feature/connect-step-two branch October 13, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant