# Inbox

Organize GitHub notifications, track new activity, and mark items as done.

The inbox keeps track of what needs your attention. From there, you can reply to feedback, review code, merge pull requests, and close issues. It lives in a persistent tab, so closing the other tabs always brings you back to the inbox.

**For email users:** Chonk's inbox takes the place of your GitHub notification emails. Mark each item as **Done** when you have handled it to remove it from the inbox. Once you have caught up, your inbox is empty.

**For [GitHub Notifications](https://github.com/notifications) users:** Chonk uses the notifications you already receive, with tools to organize them, keep track of what you have handled, and review changes in place.

## What shows up

The inbox shows notifications from repositories you watch and threads you subscribe to on GitHub.

Chonk checks for new notifications in the background and fetches discussions and pull request diffs ahead of time. When you return to the inbox, the updates are ready to read and review, even when you are offline.

> [!NOTE]
> Your [GitHub notification settings](https://github.com/settings/notifications) control which notifications Chonk receives. Make sure that **Notify me** includes **on GitHub** for everything you want to see in Chonk.

## Preview pane

Use <kbd>J</kbd> and <kbd>K</kbd> to move between inbox items. The preview pane shows the selected item's discussion. You can reply to feedback, merge pull requests, and close issues there. Press <kbd>S</kbd> to show or hide the pane.

Press <kbd>Enter</kbd> to open the item in a new tab for a closer look. For pull requests, press <kbd>C</kbd> to jump straight to the diff.

![An inbox pull request with its discussion and reply controls in the preview pane](/images/screenshots/docs/inbox-preview.png)

## Mark as done

When you have caught up with an item, press <span class="kbd-group"><kbd>Shift</kbd> <kbd>D</kbd></span> to mark it as **Done**, either in the inbox or in the item's tab. Chonk removes it from the inbox and remembers where you left off. It also marks the notification as Done on GitHub.

Opening an item in a tab does not mark it as Done. You can take a quick look, return to it later, and mark it as Done only once you have handled it.

When there is new activity, such as comments or code changes, the item shows up in the inbox again. Icons on the item show what has changed since you last marked it as Done. Hover over the icons to see what they mean. Your own activity is left out of this summary.

<img src="/images/screenshots/docs/inbox-activity.png" alt="Activity icons and their explanation for an inbox item" width="550">

In the discussion, use <kbd>N</kbd> and <kbd>P</kbd> to jump between new comments and events. The new activities are marked with a blue dot.

For pull requests, the file-diff icon opens **New changes** in a new tab. This shows a diff of the code changes since you last marked the item as Done. The diff excludes unrelated changes, so it stays focused on the pull request even after a rebase.

<img src="/images/screenshots/docs/new-activity.png" alt="A new comment with the activity count, navigation arrows, and new changes button" width="694">

## Mark for later

If you want to keep an item pending but don't plan to deal with it right now, mark it for **Later**. It moves to the end of its group and stays there until you mark it as Done or a new notification arrives. It does not set a timed reminder.

<img src="/images/screenshots/docs/inbox-later.png" alt="An item marked for later and the Mark for later menu action" width="544">

## Groups and rules

You can organize your inbox into groups. Each group appears as a separate card, and rules decide which items belong to it. Configure groups and rules in <span class="kbd-group"><kbd data-linux="Ctrl">Cmd</kbd> <kbd>T</kbd></span> → **Settings → Inbox**.

For example, let's create a **Requires me** group. Add a rule with **New activity → Ping**, select **Mention** and **Review request**, then assign it to that group. Items with a new mention of you or a new request for your review will appear there.

![Inbox groups and rules, with mentions and review requests sent to Requires me](/images/screenshots/docs/inbox-rules.png)

Each item appears in only one group. Rules are checked from top to bottom, and the **first matching rule** decides the group. Put specific rules above broader repository or organization rules. All conditions in a rule must match, but if a condition lists several values, any one can match. Items that match none of the rules go to the fallback group.

When adding a condition to a rule, **Item → Ping** matches mentions and review requests across all activity. **New activity → Ping** matches only those since the item was last marked as Done. The **Requires me** example uses **New activity**, so an old mention won't keep an item in that group.

## System notifications

Each group has a **Notify** switch that controls system notifications for that group. For these notifications to appear, they must also be enabled in <span class="kbd-group"><kbd data-linux="Ctrl">Cmd</kbd> <kbd>T</kbd></span> → **Settings → Notifications** and allowed by your operating system.

The **Count** switch controls whether the group's items contribute to the total count shown on the inbox tab. The items remain visible in the inbox when **Count** is off.
