Gnome toolbar for Tangled code review.

feat(menu): list newest first again, with longest waiting first as a setting #47

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

Within each verdict, the menu lists the newest activity first again, as it did before #32. Longest waiting first is now a choice under Settings → Behaviour → List PRs. Repo groups of the same size follow the chosen order too. The "waiting 3d" label is unchanged.

New settings key, for review: sort-order (newest-first by default, or oldest-first). It only changes the panel's order, so the helper doesn't see it. Fmt.byWait becomes Fmt.byTime(items, order), and tests/waiting.test.js checks both orders. Changing the setting while the menu is open reorders the menu in place.

The menu on main (left, longest waiting first) and with this PR (right, newest first). Look at the no-verdict PRs: 12m, 12m, 1h, 1h:

menu before and after

The new row:

List PRs setting

🤖 Generated with Claude Code

Commits 0