fix: show resolved path in setup wizard's config location picker - #855
fix: show resolved path in setup wizard's config location picker#855kishore280 wants to merge 4 commits into
Conversation
|
@akramcodez kept this minimal on purpose. Just added the resolved file path next to each option in the location picker so you can see where it's about to write before confirming, e.g.: Didn't touch the UI beyond that — if no provider's configured, the chat panel still just sits stuck on "Loading models..." with no real feedback. Left that out of scope here, happy to pick it up separately if any UI changes are planned down the line. |
|
Hey @kishore280 - thanks for this, the direction is right and the changeset/scope are clean. Two things I'd like fixed before merge:
Smaller points:
|
Fixes #852.
The location picker offered "Global user config" vs "Current project
directory" as bare labels, no path shown either way. No way to know
which directory you were about to write into before confirming.
Now shows the resolved path next to both options, home-relativized
with
~, truncated on narrow terminals using the samePATH_LENGTH_NARROW_TERMINAL/PATH_LENGTH_NORMAL_TERMINAL constants
status.tsx already uses for this.
Ran: test:ava on location-step.spec.tsx (16 pass, 1 new), test:types, test:lint.