Skip to content

Redesign the worktree notification inspector - #823

Merged
sbertix merged 1 commit into
mainfrom
sbertix/improve-notification-list
Aug 22, 2026
Merged

Redesign the worktree notification inspector#823
sbertix merged 1 commit into
mainfrom
sbertix/improve-notification-list

Conversation

@sbertix

@sbertix sbertix commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

Reworks the worktree notification inspector into a flat, reverse-chronological
list with per-row source and filtering.

  • One newest-first list replaces the per-worktree sections. Each row shows the
    repository and worktree it came from (dimmed when it is not the selected
    worktree), and clicking the row navigates to that surface.
  • Filters persisted in settings and bound directly from the filter menu: an
    All / Current Worktree scope, an Unread Only toggle, and a Group into
    Worktrees toggle that restores the sectioned layout on demand.
  • Right-click a row to Copy Notification, Mark as Read, or Dismiss; the overflow
    menu marks all as read or dismisses all, respecting the active filter.
  • Unread that the retention cap evicted collapses into one non-interactive
    summary row.
  • The inspector's scope, grouping, and unread-only preferences survive unrelated
    Settings-window writes.

Type of change

  • Bug fix (the linked issue is a bug report)
  • Feature (the linked issue is a feature request marked ready)
  • Documentation
  • Other (please describe)

How was this tested?

Added unit coverage for the flat and grouped filtering (scope + unread-only),
pruned-unread accounting, settings round-trips, and the settings-preservation
regression, alongside manual testing in a dev build.

  • make check passes (format + lint)
  • make test passes
  • I built and ran the app to confirm the change works

Checklist

  • This pull request is linked to an issue with Closes # above.
  • For a feature, the linked issue is labeled ready.
  • I am the author of this work and accountable for it; no commit is authored or co-authored by an AI agent.
  • I have read the Contributing guide and the Code of Conduct.

Replace the per-worktree sections with one flat, reverse-chronological list
(newest first). Each row shows the repository and worktree it came from, dimmed
when it is not the selected worktree, and clicking the row navigates to that
surface.

Add filters persisted in settings and bound directly from the filter menu: an
All / Current Worktree scope, an Unread Only toggle, and a Group into Worktrees
toggle that restores the sectioned layout on demand. Right-clicking a row copies
the notification, marks it as read, or dismisses it; the overflow menu marks all
as read or dismisses all, respecting the active filter.

Collapse unread that the retention cap evicted into a single non-interactive
summary row, and preserve the inspector's scope, grouping, and unread-only
preferences across unrelated Settings-window writes.
@sbertix
sbertix enabled auto-merge (squash) August 22, 2026 14:05
@sbertix
sbertix merged commit b831c0a into main Aug 22, 2026
3 checks passed
@sbertix
sbertix deleted the sbertix/improve-notification-list branch August 22, 2026 14:13
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.

1 participant