Skip to content
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: mutliple level command-palette, commands for docs #247

Merged
merged 5 commits into from Jun 5, 2023

Conversation

arashsheyda
Copy link
Member

I'm getting the docs list from this link
is it a good idea to have a docs-list-script in nuxt repository and whenever the docs ci runs, it also run the docs-list-script ?

command palette wth groups:

cp-groups.mp4

@antfu
Copy link
Member

antfu commented May 25, 2023

Having them in the commands sounds like a good idea, but I am not very sure about the custom search syntax and the dropdown - ideally command palette should be easy to use with only the text as the input. Maybe we could find another way to present?

@arashsheyda
Copy link
Member Author

@antfu Yes, thats right😁. thanks, By another way to present is something like: show the tabs and when user searchs filter between tabs, docs, ... is it a good idea?

@antfu
Copy link
Member

antfu commented May 29, 2023

I am thinking we could have something like Raycast, to have a second-level commands when going into some entries:

image image

@antfu
Copy link
Member

antfu commented Jun 5, 2023

Thanks, that's a very nice initiative! I have moved your scripts directly inside this repo so we can bundle them without a network request.

@antfu antfu changed the title feat: command-palette group feat: mutliple level command-palette, commands for docs Jun 5, 2023
@antfu antfu merged commit 3cf828e into nuxt:main Jun 5, 2023
1 of 3 checks passed
@arashsheyda arashsheyda deleted the command-palette-group branch June 5, 2023 14:59
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.

None yet

2 participants