Skip to content
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
d1867d7
feat(notifications): add GitHub notifications dashboard
sideshowbarker Jan 8, 2026
c12e331
feat(notifications): 3-line row layout with activity descriptions
sideshowbarker Jan 10, 2026
cf90177
feat(notifications): blue dot indicator, smart filtering, UI polish
sideshowbarker Jan 11, 2026
03d463d
feat(notifications): async resolve CheckSuite URLs to specific workfl…
sideshowbarker Jan 11, 2026
d77ba10
feat(notifications): add pagination and configurable notificationsLimit
sideshowbarker Jan 12, 2026
46a37c4
fix(notifications): ensure all columns render 3 lines for proper row …
sideshowbarker Jan 12, 2026
05bca81
feat(notifications): enable PR/Issue keybindings when viewing notific…
sideshowbarker Jan 12, 2026
8e692ad
feat(notifications): add (configurable) sections to Notifications das…
sideshowbarker Jan 12, 2026
205283d
fix(notifications): fix pagination when bookmarks exist
sideshowbarker Jan 13, 2026
5561051
feat(notifications): persist “marked as Done” state locally
sideshowbarker Jan 13, 2026
3747d18
fix(notifications): fetch additional pages when many are filtered out…
sideshowbarker Jan 13, 2026
d967b93
refactor(notifications): polish icons, error handling, and cursor beh…
sideshowbarker Jan 14, 2026
6d27444
refactor(notifications): move cached subject data to notificationview
sideshowbarker Jan 17, 2026
e60753d
refactor(notifications): consolidate PR/Issue key handling via action…
sideshowbarker Jan 17, 2026
6984afc
refactor(notifications): extract helpers and rename functions for cla…
sideshowbarker Jan 17, 2026
7cf2e8f
perf(notifications): parallelize mark-as-read and fetch operations
sideshowbarker Jan 17, 2026
228e2f6
refactor(notifications): move notification commands to notificationss…
sideshowbarker Jan 17, 2026
9e29375
refactor(notifications): extract DiffPR to common package
sideshowbarker Jan 17, 2026
bb2a9b6
feat(notifications): show success/fail status icons for CheckSuite no…
sideshowbarker Jan 17, 2026
8834945
test(notifications): add comprehensive test coverage
sideshowbarker Jan 17, 2026
e59c3e7
perf(notifications): optimize fetch and filter performance
sideshowbarker Jan 18, 2026
bad0af5
refactor(prview): extract MsgToAction for idiomatic Update signature
sideshowbarker Jan 19, 2026
0f58571
refactor(tui): extract sidebar and confirmation helpers
sideshowbarker Jan 19, 2026
74e58f9
fix(data): use atomic file writes to prevent race in async saves
sideshowbarker Jan 19, 2026
76fcaef
feat(keybindings): add Author variable for PR commands
sideshowbarker Jan 19, 2026
3fe374f
fix(notifications): un-regress PR tabbing (route tab navigation keys …
sideshowbarker Jan 19, 2026
cc4ccc6
chore: go fmt
dlvhdr Jan 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export default defineConfig({
"configuration/searching",
"configuration/pr-section",
"configuration/issue-section",
"configuration/notification-section",
"configuration/repo-paths",
"configuration/keybindings",
"configuration/theme",
Expand Down
18 changes: 17 additions & 1 deletion docs/src/content/docs/configuration/defaults.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ settings on a per-section basis.
```yaml
defaults:
issuesLimit: 20
notificationsLimit: 20
prApproveComment: LGTM
preview:
open: true
Expand All @@ -22,7 +23,7 @@ defaults:
By default, the dashboard is configured to:

- Display the preview pane with a width of 50 columns for all work items.
- Only fetch 20 PRs and issues at a time for each section.
- Only fetch 20 PRs, issues, and notifications at a time for each section.
- Display the PRs view when the dashboard loads.
- Refetch PRs and issues for each section every 30 minutes.
- Display dates using relative values.
Expand Down Expand Up @@ -110,6 +111,21 @@ This setting defines how many issues the dashboard should fetch for each section
[refresh current section]: /getting-started/keybindings/global/#r---refresh-current-section
[refresh all sections]: /getting-started/keybindings/global/#r---refresh-all-sections

### Notifications Fetch Limit (`notificationsLimit`)

| Type | Minimum | Default |
| :------ | :-----: | :-----: |
| Integer | 1 | 20 |

This setting defines how many notifications the dashboard should fetch when:

- The dashboard first loads.
- You navigate to the next notification in a table without another fetched notification to display.
- You use the [refresh current section] or [refresh all sections] commands.

[refresh current section]: /getting-started/keybindings/global/#r---refresh-current-section
[refresh all sections]: /getting-started/keybindings/global/#r---refresh-all-sections

### Preview Pane (`preview`)

These settings define how the preview pane displays in the dashboard. You can specify
Expand Down
19 changes: 19 additions & 0 deletions docs/src/content/docs/configuration/examples.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,24 @@ issuesSections:
- title: "Involved"
filters: "is:open involves:@me -author:@me"

notificationsSections:
- title: "All"
filters: ""
- title: "Created"
filters: "reason:author"
- title: "Participating"
filters: "reason:participating"
- title: "Mentioned"
filters: "reason:mention"
- title: "Review Requested"
filters: "reason:review-requested"
- title: "Assigned"
filters: "reason:assign"
- title: "Subscribed"
filters: "reason:subscribed"
- title: "Team Mentioned"
filters: "reason:team-mention"

pager:
diff: less
showAuthorIcons: true
Expand All @@ -52,6 +70,7 @@ defaults:
width: 84
prsLimit: 20
issuesLimit: 20
notificationsLimit: 20

theme:
ui:
Expand Down
27 changes: 25 additions & 2 deletions docs/src/content/docs/configuration/layout/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ title: Valid Options

## Valid Layout Options

Any column can define the [`grow`], [`width`], and [`hidden`] options.
Any column can define the [`align`], [`grow`], [`width`], and [`hidden`] options.

[`align`]: #column-alignment
[`hidden`]: #hide-column
[`grow`]: #grow-column
[`width`]: #column-width
Expand Down Expand Up @@ -42,4 +43,26 @@ font to be monospace, this is a reliable way to ensure a minimum width for reada
| `hidden` | boolean | false |

Specify whether the column should be hidden from view. Set this value to `true` to hide the
column or `true` to show it.
column or `false` to show it.

## Column Alignment

| Property | Type | Default |
| :------- | :----- | :------ |
| `align` | string | `left` |

Specify the horizontal alignment of the column's content. Valid values are:

- `left` — Align content to the left (default)
- `right` — Align content to the right
- `center` — Center the content

This is useful for numeric columns like comment counts where right-alignment improves readability.

```yaml
prs:
layout:
numComments:
width: 5
align: right
```
135 changes: 135 additions & 0 deletions docs/src/content/docs/configuration/notification-section.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
---
title: Notification Sections
---

# Notification Section Options (`notificationsSections`)

Defines sections in the dashboard's Notifications view.

- Every section must define a [`title`] and [`filters`].
- When you define [`limit`] for a section, that value overrides the
[`defaults.notificationsLimit`] setting.

[`title`]: #notification-title-title
[`filters`]: #notification-filters-filters
[`limit`]: #notification-fetch-limit-limit
[`defaults.notificationsLimit`]: /configuration/defaults/#notifications-fetch-limit-notificationslimit

## Search Section

The Notifications view includes a search section (indicated by a magnifying glass icon) as the first tab. This serves as a scratchpad for one-off searches without modifying your configured sections.

- Default filter: `archived:false`
- Respects `smartFilteringAtLaunch`: when enabled and running from a git repository, the search automatically scopes to that repo
- Use the `/` key to focus the search bar and enter custom queries

## Default Sections

By default, the dashboard includes these notification sections:

```yaml
notificationsSections:
- title: All
filters: ""
- title: Created
filters: "reason:author"
- title: Participating
filters: "reason:participating"
- title: Mentioned
filters: "reason:mention"
- title: Review Requested
filters: "reason:review-requested"
- title: Assigned
filters: "reason:assign"
- title: Subscribed
filters: "reason:subscribed"
- title: Team Mentioned
filters: "reason:team-mention"
```

You can customize these by defining your own `notificationsSections` in your config file.

## Notification Title (`title`)

This setting defines the section's name. The dashboard displays this value in the tabs for
the Notifications view.

## Notification Filters (`filters`)

This setting defines the filters for notifications in the section's table. Notification filters differ from PR and Issue filters because they use client-side filtering.

### Available Filters

#### Read State Filters

| Filter | Description |
|--------|-------------|
| `is:unread` | Show only unread notifications |
| `is:read` | Show only read notifications |
| `is:all` | Show both read and unread notifications |
| `is:done` | Show archived/done notifications |

#### Reason Filters

| Filter | Description |
|--------|-------------|
| `reason:author` | Activity on threads you created |
| `reason:comment` | Someone commented on a thread you're subscribed to |
| `reason:mention` | You were @mentioned |
| `reason:review-requested` | Your review was requested on a PR |
| `reason:assign` | You were assigned |
| `reason:subscribed` | Activity on threads you're watching |
| `reason:team-mention` | Your team was @mentioned |
| `reason:state-change` | Thread state changed (merged, closed, etc.) |
| `reason:ci-activity` | CI workflow activity |
| `reason:participating` | Meta-filter that expands to: author, comment, mention, review-requested, assign, state-change |

#### Repository Filters

| Filter | Description |
|--------|-------------|
| `repo:owner/name` | Show notifications only from the specified repository |

### Filter Examples

```yaml
# Show only notifications where you were mentioned
- title: Mentioned
filters: "reason:mention"

# Show unread notifications from a specific repo
- title: My Project
filters: "is:unread repo:myorg/myproject"

# Show notifications where you're actively participating
- title: Participating
filters: "reason:participating"

# Combine multiple reason filters
- title: Review & Mentions
filters: "reason:review-requested reason:mention"
```

### Filter Behavior

- **Default behavior**: With no filters or empty filters, the section shows unread notifications plus any bookmarked notifications
- **Explicit `is:unread`**: Shows only unread notifications, excluding bookmarked read notifications
- **Reason filters**: Applied client-side after fetching from GitHub's API

## Notification Fetch Limit (`limit`)

| Type | Minimum | Default |
| :------ | :-----: | :-----: |
| Integer | 1 | 20 |

This setting defines how many notifications the dashboard should fetch for the section when:

- The dashboard first loads.
- You navigate to the next notification in a table without another fetched notification to display.
- You use the [refresh current section] or [refresh all sections] commands.

This setting overrides the [`defaults.notificationsLimit`] setting.

[refresh current section]: /getting-started/keybindings/global/#r---refresh-current-section
[refresh all sections]: /getting-started/keybindings/global/#r---refresh-all-sections
[`defaults.notificationsLimit`]: /configuration/defaults/#notifications-fetch-limit-notificationslimit
13 changes: 13 additions & 0 deletions docs/src/content/docs/configuration/theme.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ colors:
faint: "#8a8a8a"
warning: "#800000"
success: "#008000"
actor: "#c6c6c6"
background:
selected: "#808080"
border:
Expand Down Expand Up @@ -212,6 +213,18 @@ dashboard UI:
- The icon for passing checks for PRs in the preview pane
- Success messages for commands, like when the dashboard fetches work items.

#### Actor Text Color

| Property | Type | default |
| :------- | :--- | :---------------------------------------- |
| `actor` | hex | `#c6c6c6` for dark or `#808080` for light |

This setting determines the color of the text for the following elements in the
dashboard UI:

- The username of the person who triggered a notification, displayed after the
notification title in the notifications view

### Background Colors (`background`)

Defines the background colors for the dashboard. By default, the background color for
Expand Down
Loading
Loading