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
Library click through to template part focus mode hides sidebar and Navigation editing feature #51839
However with the change to Library, when you click on a Template Part you now get taken to the focus mode in "edit" mode (canvas=edit) which hides the sidebar.
Given the value of #51492, we should retain the sidebar. If necessary this can be done conditionally by detecting whether a Navigation block is present in the blocks.
Thanks. I don't know much about the sidebar specifics. It might have been a design choice or an accidental inclusion where we didn't spot the regression. It's quite a subtle difference, so when testing I personally wouldn't have considered this a bug.
I noticed this too when I was fixing the routing issue for mobile. I thought it was a deliberate change so I retained the behavior. I agree that landing the canvas=view page first will be better though!
FWIW, due to how the sidebar animation is working now, landing directly to the edit mode might cause some unwanted flickering. It's not impossible to fix, but landing to the view mode first might make it easier.
Activity
getdave commentedon Jun 23, 2023
cc @talldan for visibility
talldan commentedon Jun 26, 2023
Thanks. I don't know much about the sidebar specifics. It might have been a design choice or an accidental inclusion where we didn't spot the regression. It's quite a subtle difference, so when testing I personally wouldn't have considered this a bug.
@SaxonF @kevin940726 or @aaronrobertshaw may know more.
getdave commentedon Jun 26, 2023
@WordPress/gutenberg-design Just a reminder that this feature was requested in #50704 as part of #50396.
I think all that needs to change is, if there is a Navigation in the Template Part then show the sidebar.
Or we could just show the sidebar at all times.
kevin940726 commentedon Jun 26, 2023
I noticed this too when I was fixing the routing issue for mobile. I thought it was a deliberate change so I retained the behavior. I agree that landing the
canvas=viewpage first will be better though!FWIW, due to how the sidebar animation is working now, landing directly to the edit mode might cause some unwanted flickering. It's not impossible to fix, but landing to the view mode first might make it easier.
getdave commentedon Jun 26, 2023
Ok I raised a PR in #51897 and folks can approve or reject as we determine. Thanks all 🙇