Skip to content

Guide new users at the model picker, No Git badge, and version env - #114

Merged
badcuban merged 1 commit into
mainfrom
fix/fresh-install-quick-wins-1
Aug 7, 2026
Merged

Guide new users at the model picker, No Git badge, and version env#114
badcuban merged 1 commit into
mainfrom
fix/fresh-install-quick-wins-1

Conversation

@badcuban

@badcuban badcuban commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

First batch of fresh-install quick wins from the 0.3.2 UX audit (full report with screenshots in the maintainer's audit workspace).

What changed

  • Model picker explains missing providers. Searching for a provider that isn't installed or isn't signed in now names the problem and the fix, with an "Open Settings" action, instead of the bare "No models match". When every enabled provider is unusable, the empty picker lists each provider with its settings-page status line. New pure module modelPickerEmptyState.ts reuses getProviderSummary so the picker and settings describe providers identically.
  • No more empty Favorites landing. The picker only opens on the Favorites tab when there is at least one favorite to show; fresh installs land on the active provider tab.
  • "No Git" badge explains itself via the shared tooltip: chat works, source control/diffs/refs need git, git init enables them.
  • Generic APP_VERSION env var no longer trusted. Only the namespaced THREADLINES_/BADCODE_/T3CODE_APP_VERSION aliases set the server's reported version; a bare APP_VERSION from an unrelated tool was making healthy installs display a version-mismatch warning.

Testing

  • vp fmt, vp lint, vp run typecheck green.
  • Unit: modelPickerSearch.test.ts (6 new cases for the empty-state resolver), config.test.ts (APP_VERSION ignored).
  • Browser suite: @threadlines/web#test:browser ProviderModelPicker — 33 pass, including two new: provider-aware search empty state with settings link, and favorites-empty default tab.

First batch of fresh-install quick wins from the 0.3.2 UX audit:

- Model picker empty states name the provider and the fix (not installed
  vs needs sign-in) instead of the bare no-models-match text, with an
  Open Settings action, reusing the settings page status language
- The picker no longer opens on an empty Favorites tab
- The No Git badge explains what is disabled and how to enable it
- Drop the generic APP_VERSION env alias; only namespaced version vars
  are honored so ambient variables cannot make the server misreport
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
threadlines Skipped Skipped Aug 7, 2026 12:31am

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Aug 7, 2026
@badcuban
badcuban merged commit cc66747 into main Aug 7, 2026
17 of 18 checks passed
@badcuban
badcuban deleted the fix/fresh-install-quick-wins-1 branch August 7, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant