Skip to content

feat(ui): g toggles the default PR board between sections and by-author grouping - #168

Merged
noamsto merged 1 commit into
mainfrom
feat/166-feat-ui-toggle-the-default-pr-board-betw
Oct 7, 2026
Merged

noamsto merged 1 commit into
mainfrom
feat/166-feat-ui-toggle-the-default-pr-board-betw

Conversation

@noamsto

@noamsto noamsto commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Closes #166

Summary

g toggles the default open PR board between Review requested / Mine / Others and author-grouped layout. Layout only: same data set, no refetch. PRSection.byAuthor skips the category branch while cats/catOrder stay stored, so held rows and toggling back keep working. The flag lives on the model, is re-applied on every sections paint and on tab switches, and is session-scoped. Cursor and marks are anchored by PR number. On merged/closed/server-filtered views (already author-grouped) and with a / query active, g shows a status hint; on the issue board it reports PR-only. Legend and README updated.

Plan: recovered from critic-reviewed plan (cursor anchor uses cursorAnchor, not paintAnchor, so a pinned row 0 still keeps its PR).

Testing

  • go test ./... and go test -race ./...: all ok
  • golangci-lint run ./... (fresh cache): 0 issues; nilaway: no findings in new code
  • New internal/ui/groupby_test.go: toggle without cmd, cursor kept (incl. pinned-top), survives refresh, marks kept, merged-view and issue hints, legend

@noamsto noamsto self-assigned this Oct 6, 2026
@noamsto
noamsto merged commit aff0c48 into main Oct 7, 2026
1 check passed
@noamsto
noamsto deleted the feat/166-feat-ui-toggle-the-default-pr-board-betw branch October 7, 2026 12:33
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.

feat(ui): toggle the default PR board between sections and by-author grouping

1 participant