Skip to content

feat: suggestions in role, company, and location fields - #28

Merged
shaaddev merged 1 commit into
mainfrom
t3code/tackle-github-issue
Aug 30, 2026
Merged

shaaddev merged 1 commit into
mainfrom
t3code/tackle-github-issue

Conversation

@shaaddev

@shaaddev shaaddev commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Closes #4

Summary

  • Adds components/ui/autocomplete.tsx, a wrapper over Base UI 1.7's Autocomplete styled to match Input and SelectContent.
  • Role and Location now suggest from the user's past entries first, then a starter list (lib/suggestions.ts). Company suggests from history only.
  • Free text is still allowed. Typing filters (contains match, max 8), clicking opens the list, arrow keys + Enter or a click fills the value. Enter with nothing highlighted still submits the form. The popup hides when nothing matches.
  • A small context provider (suggestions-provider.tsx) passes suggestions from the applications page to the form no matter where the dialog opens from.

Testing

  • pnpm typecheck, pnpm lint, pnpm format:check pass.
  • No browser check yet. Worth a manual look at Escape inside the dialog (first closes the list, second closes the dialog) and popup placement near the bottom of the viewport.

🤖 Generated with Claude Code

Adds a Base UI Autocomplete wrapper and uses it in the application form.
Role and Location combine the user's past entries with a starter list;
Company suggests from history only. Free text is still allowed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
application-record Ignored Ignored Aug 30, 2026 2:46am

@shaaddev
shaaddev merged commit 4e4c78f into main Aug 30, 2026
10 checks passed
@shaaddev
shaaddev deleted the t3code/tackle-github-issue branch September 2, 2026 18:48
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.

Auto-suggestions in Form Fields

1 participant