Skip to content

Simplify sidebar navigation and widgets - #677

Closed
willmot wants to merge 1 commit into
nextfrom
codex/sidebar-redesign
Closed

willmot wants to merge 1 commit into
nextfrom
codex/sidebar-redesign

Conversation

@willmot

@willmot willmot commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Simplifies the Updates sidebar with a compact All posts / New Post row, navigation that drills into the existing menu area, and collapsible widgets whose open state persists per site. Preserves all configured widgets, marks offsite links, and hides empty categories.

Keeps keyboard focus inside the mobile drawer and restores focus when navigating back. A clean sidebar-only install passed the production build, lint and 13 focus regression checks. Browser QA covered desktop and mobile navigation, widgets and notifications. The Storybook tooling migration is separate in #674.

Desktop — full local Updates view, 2196 × 1344

Production-matched branding, sidebar description, widget groups and Useful Links.

Full desktop Updates layout with the redesigned sidebar beside the post content

Mobile — full local Updates view, 390 × 844

Full mobile Updates view with the navigation drawer open
Before, live production sidebar Live production Updates sidebar before the redesign

- Written by Codex gpt-6.1-sol medium

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

🛝 Playground preview

Open PR #677 in WordPress Playground

Spins up a fresh WordPress with this PR's build of the H2 theme and demo content, logged in as admin.

Built from ae6d7b2 — the preview updates on every push to this PR.

@rmccue

rmccue commented Nov 4, 2026

Copy link
Copy Markdown
Member

I was mostly leaving the design stuff to an overall pass later while it's still in flux; is there a specific behaviour motivation for this?

@willmot

willmot commented Nov 4, 2026

Copy link
Copy Markdown
Member Author

That makes sense and not intended to be mergeable more as an idea, motivated by the current (lack) of design causing me pain. But it's fine to wait as I didn't realise this wasn't final design!

@willmot

willmot commented Nov 4, 2026 •

Copy link
Copy Markdown
Member Author

I think if there's a design pass planned later then makes sense to wait until then and close 👍

@willmot

willmot commented Nov 4, 2026 •

Copy link
Copy Markdown
Member Author

Few behaviour pieces

  • Collapsable widgets that remember state in browser which helps keep the sidebar from being so long (although we probably could just remove/cleanup widget content generally
  • Only show the dashboard link if admin bar is turned off
  • constrain the transition to child menus in the nav so only that section swaps rather than the whole sidebar
  • hide hover cards for posts in the sidebar menu
  • hide empty categories in the category menu
  • Add external link icons to external links automatically

@rmccue

rmccue commented Nov 4, 2026

Copy link
Copy Markdown
Member

Neat as a design concept in any case

  • Assuming the expandos are per widget? I considered that but based on looking across a few sites, seems common to use custom HTML blocks rather than strictly defined widgets (and WP obv moving in that direction with block sidebars)
  • Dashboard link moving up/de-emphasising could be better but I worry it crowds too much with long site names, and feedback has been that people write in the backend frequently so hence next giving it a bit more prominence
  • I like the inline nav only changing that section rather than the whole sidebar; styling is a bit messy with the background though (and non-white bg breaks some widgets)

@rmccue

rmccue commented Nov 4, 2026

Copy link
Copy Markdown
Member

hide hover cards for posts in the sidebar menu

This was intentional in next to keep (scanning through lots of posts is easier with hovercards), but actually I think a better way would be to move the hovercard out to the right of the link so it's not conflicting with the list

@willmot

willmot commented Nov 4, 2026

Copy link
Copy Markdown
Member Author

Yeah that would be nicer I think

@willmot willmot closed this Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants