-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Limit the block slash inserter to 9 items and show most used by default #25113
Conversation
Size Change: +2.92 kB (0%) Total Size: 1.2 MB
ℹ️ View Unchanged
|
I think this might cause some problems, since there isn't even a link like quick inserter to browse all and a user might want to search something that is not in top 6. There had been some issues about limiting to 6 in quick inserter as well in the past.. |
I pushed 0cc4970, needed to slice the list if one of the |
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 still have my concerns about limiting to 6 results, as there had been some issues about limiting to 6 in quick inserter as well, but there the browse all
button exists.
Code looks good though and we can alternatively revisit, if any new issues about this occur.
Good catch with the variations too 💯
6 seems a bit low for the slash inserter indeed, let's make it 9 to start with. |
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.
Feels good with 9 🚢
Thanks! |
This PR limits the block autocompleter to 6 items and default to the most used blocks by default.