-
Notifications
You must be signed in to change notification settings - Fork 58
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
[Block Library/Inserter] Order blocks based on usage stats or content type #1105
Comments
I'd personally vote for deterministic versus dynamic ordering, unless is a mild one and not aggressively adapt to the block usage. I'm generally sensitive and confused when things troll my muscle memory and make me have to look to find them 😃. |
Totally agree with you on this point – what I meant was we might order based on most commonly used blocks amongst all users – nothing clever 😄 |
Another note: I lean towards the second approach above because it would mean less change over time – If we iterate the order of blocks over time as the usage stats change, that'd get annoying to users. Also, considering we might soon want to re-think the library bottom sheet to scale better anyhow, we might want to keep any changes here to the simplest. |
@hypest are we already doing this on the latest GB beta? I just pulled up WPAndroid 12.8 beta and after I add a block on the canvas, that block goes to first in my list on the bottom sheet – it's not this way on WPiOS 12.7 – it's a static list (which as discussed above maybe makes most sense). |
I think I noticed it too. Probably a web side feature that automagically sees its way to mobile too as we are using more and more of the web side components. |
Ahh, interesting. This mechanism could come in handy if/when we need to show the most common/recent block types in the toolbar, which was part of this proposal. |
Closing this as it's functionality already in place. |
As we've built out the set of block types that we currently have, we've just added them to the grid. Here's what that currently looks like:
The Block Library UI (aka Inserter) itself will need a restructure as soon as we have more than ~12-15 blocks. For now, we should consider organizing them, either by how commonly used they are or by type:
Order based on the last usage data I've seen
Group them roughly by type (text, media, other)
My preference would be to take the second approach (group by content type), but I'm open to other suggestions.
The text was updated successfully, but these errors were encountered: