You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Nav offcanvas remove "Browse All" from inserter block picker #47014
As reported in #46939 (comment), when picking blocks from the Navigation offcanvas using the inserter there is a Browse All button. However, when clicked this breaks focus away from the offcanvas and should be removed.
I seems an ancient #23737 introduced a check for setInserterIsOpened a method that comes from settings and somehow it is unavailable in the site editor. So far nobody complained about the browse all missing in the site editor but it is missing ever since I think? Why? Because removing the check for setInserterIsOpened makes the browse all buttons show up.
I don't think we should remove the browse all button. Instead we should figure out something that tackles the context switching better. The problem in @alexstine 's review was that once the block was selected from the inserter the focus was not sent back to the list view in the inspector, but it was sent to the canvas instead.
Removing the browse all button hides blocks that can be inserted but don't fit in the six slots the quick inserter uses. There is search but one has to know what to search for.
The problem in @alexstine 's review was that once the block was selected from the inserter the focus was not sent back to the list view in the inspector, but it was sent to the canvas instead.
Removing the browse all button hides blocks that can be inserted but don't fit in the six slots the quick inserter uses. There is search but one has to know what to search for.
Ok let's close this one with the context that we didn't tackle it because there's a necessity to have the ability to browser all the blocks.
Activity
draganescu commentedon Jan 10, 2023
Three things I noticed trying to work on this issue:
Is this OK?
draganescu commentedon Jan 10, 2023
I seems an ancient #23737 introduced a check for
setInserterIsOpeneda method that comes from settings and somehow it is unavailable in the site editor. So far nobody complained about the browse all missing in the site editor but it is missing ever since I think? Why? Because removing the check forsetInserterIsOpenedmakes the browse all buttons show up.Not sure how to proceed :)
getdave commentedon Jan 10, 2023
@ntsekouras Has been working on inserter a lot recently I think. Maybe he would know...?
ntsekouras commentedon Jan 11, 2023
Hm.. It seems it's been removed here. @youknowriad do you remember if there was there a specific reason for it?
youknowriad commentedon Jan 11, 2023
Sorry, not sure I understand what was removed in my PR?
youknowriad commentedon Jan 11, 2023
Ok I see what you mean, it was an inadvertent change, I'll fix it.
draganescu commentedon Jan 11, 2023
I don't think we should remove the browse all button. Instead we should figure out something that tackles the context switching better. The problem in @alexstine 's review was that once the block was selected from the inserter the focus was not sent back to the list view in the inspector, but it was sent to the canvas instead.
Removing the browse all button hides blocks that can be inserted but don't fit in the six slots the quick inserter uses. There is search but one has to know what to search for.
getdave commentedon Jan 12, 2023
See #47018
Ok let's close this one with the context that we didn't tackle it because there's a necessity to have the ability to browser all the blocks.