-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(@clack/core,@clack/prompts): path prompt #148
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 8c854c1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@Mist3rBru It would nice to include a video for reference! So we show it off in the release & also just see the functionality! |
@cpreston321 great idea! I included the video on PR description, now you can copy the link and paste on release |
is the path now usable? or not merged yet? |
@cpreston321 I was looking at this code after a while and it looks messy with both logics, what do you think about split it into 2 prompts, like |
PathPrompt
The
path
component allows user to select a file/folder using one of two approaches:Select
Selecting the file/folder with a tree based select with free navigation by arrow keys.
Demo
2023-11-10_10-16-15.mov
Text:
Typing the path with built-in autosuggestion and autocomplete features.
Demo
2023-11-10_10-15-33.mov
This PR includes:
Relates #35
Closes #32
Closes #96