Gnome toolbar for Tangled code review.

fix(menu): update the open menu in place, so a refresh keeps focus and popouts #16

Merged permadeath.com
targeting main from azurite-frogmouth.test.pds.did.bot/gnome-shell-extension-tangled-reviewer:claude/menu-in-place
Merged opened by and assigned to permadeath.com
targeting main from azurite-frogmouth.test.pds.did.bot/gnome-shell-extension-tangled-reviewer:claude/menu-in-place

Fixes "when there's an update, focus gets snagged and popouts disappear". An open menu used to be rebuilt from scratch on every state update. That dropped keyboard focus, closed any open repo group, Pause notifications or Diagnostics popout, and jumped the list back to the top. Now an update refills the header in place, and leaves the PR list alone if what it shows didn't change. If the list did change, only the list is rebuilt, and open groups, the scroll position and focus (on the same PR) are put back. The popouts aren't touched. The menu is still rebuilt in full when its shape changes, and every time it opens.

The headless smoke test now delivers real updates with the menu open. In one, a repo group is open with focus on a PR inside it; in the other, Diagnostics is open. It fails on the old code ("an update collapsed an open repo group") and passes with this change.

🤖 Generated with Claude Code

Commits 0