-
-
Notifications
You must be signed in to change notification settings - Fork 26
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: improved homescreen for adding or creating projects #112
Conversation
🦋 Changeset detectedLatest commit: 4206b6b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
commit: |
While I like how flat it is (and how much vertically smaller it is), I dislike that the commonly used options aren't at the top (prettier, eslint, testing, tailwindcss, etc). Maybe we should order them by usage instead? Or perhaps we should still sort them by category, we just don't label them as such:
|
If we were to order by npm downloads it would be:
I think the issue is that general tools will always rank above Svelte-specific tools. E.g. I imagine more people will want to use mdsvex than storybook. We'd probably want to order by adder usage, but have no way to get that data unless we publish a package for each individual adder or add some kind of telemetry The other tough thing is that it becomes hard to locate an item you want in the list as you don't know where it might appear. |
I think sorting them by category could work instead (like in my example above), rather than sorting by usage.
true. I forget which prompt library I was using, but it had a built-in search filter in the multi-select prompt that would activate if you started typing, narrowing the possible options. I wonder if that's something that's worth looking into (even if we go with sorting them alphabetically). |
I prototyped
|
Never used |
I just tested
|
After playing with both sort orders locally I've come to agree with you. If you're setting up a new project, you're probably setting up a bunch of adders at once and it helps to have the ones you're most likely to need at the top. If you're just setting up one later on you can do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do agree that the ordering by usage makes sense and i would also prefer it over alphabetical ordering
No description provided.