Repository navigation
Replies: 2 comments
|
I have an implementation ready for this. Behavior:
This keeps Tab inside the path input instead of moving focus away, and makes the picker behave closer to shell path completion. |
|
This is still wanted. I hit the same problem in the desktop app (v0.1.3, Linux). In Add Project > Local folder, typing a path filters the folder list, but Tab moves focus to the dialog buttons instead of completing the path. #4565 reports the same thing. Proposed behavior, shell-style, only in the add-project path input:
The earlier PRs #2552 and #4257 were closed as stale after the command palette rewrite, not because of their design. I have a branch on current Would you approve this direction and scope for a PR? I can adjust the behavior, for example not keeping focus in the input when there is nothing to complete. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/web
Problem or use case
When adding a new project, int the eadd project modal, you are doing auto complete suggestions for the path, so in this input, TAB should autocomplete (aka select the hovered path, and i think would actually map as a dupplicate of TAB).
Also this mimics how cli automoplete usually works, by selecting also the first pick.
Navi to the modal actions is redundat for TAB because you already went all in in kbd shortcuts.
This change would also help you not accidentaly leave the input focus on tab. now if i press tab it goes into another element and i need to reclick the input to refocus.
this is modeled kind of the same in the figma plugin options you can use in a figma plugin.
If you don't feel this is the better path just close this one.
Just imported my first project in T3. Great job guys!
No Ai gen in this input box :))
Bogris
Proposed solution
autoselect the selected subpath on tab
Why this matters
Cause it would align the nice add project modal with the autocomplete standard behaivour and the app would feel just a tad better.
Smallest useful scope
use tab in the same way of enter.
Alternatives considered
No response
Risks or tradeoffs
none, if it replicated enter.
crt TAB result is unusable anyway
Examples or references
No response
Contribution
All reactions