| 1 | + | --- |
| 2 | + | title: Your inbox |
| 3 | + | description: What needs you, and what you follow, as it happens. An agent waiting on you comes first; failures, merges, mentions and comments follow. Mark items read or done, save them, or snooze them. |
| 4 | + | --- |
| 5 | + | |
| 6 | + | Your **inbox** tells you when something needs you, or when something |
| 7 | + | happens to work you answer for: an agent is waiting on you, checks failed |
| 8 | + | on your pull request, g1t finished a change you asked for, someone mentioned |
| 9 | + | you. You are never told about what you did yourself. |
| 10 | + | |
| 11 | + | Open it from the bell in the top bar. The number on the bell is what is |
| 12 | + | unread. It is amber while an agent is waiting on you, red while a failure is |
| 13 | + | unread, and green otherwise. |
| 14 | + | |
| 15 | + | ## What lands there |
| 16 | + | |
| 17 | + | Each item comes from something that happened on g1t. Who is told depends on |
| 18 | + | what it was: |
| 19 | + | |
| 20 | + | | What happened | Who is told | Shown as | |
| 21 | + | | --- | --- | --- | |
| 22 | + | | Another agent asked a question of the agent on a pull request, or handed it work | The person the pull request belongs to, and the issue's author and assignees | Needs you | |
| 23 | + | | Checks failed, or could not run, on a pull request | The person the pull request belongs to | Error | |
| 24 | + | | A workflow failed on a pull request | The person the pull request belongs to | Error | |
| 25 | + | | A workflow failed on a branch | Whoever pushed the commit it ran on | Error | |
| 26 | + | | g1t finished a change and marked it ready for review | The person who asked g1t for it | Success | |
| 27 | + | | g1t reviewed a pull request | The person the pull request belongs to | Success when approved, Info when it asks for changes | |
| 28 | + | | A pull request was merged | The person the pull request belongs to | Success | |
| 29 | + | | Someone mentioned you with `@username` in a comment | You | Info | |
| 30 | + | | Someone commented on an issue or pull request you opened | You | Info, or Success for an approval | |
| 31 | + | |
| 32 | + | "The person a pull request belongs to" is its author, or, for a change g1t |
| 33 | + | made, the person who asked for it. g1t itself is never told. A mention in |
| 34 | + | code or in a quoted line does not count. |
| 35 | + | |
| 36 | + | You only see items about repositories you can read. If you lose access to a |
| 37 | + | repository, its items leave your inbox the next time you open it. |
| 38 | + | |
| 39 | + | ## Tabs |
| 40 | + | |
| 41 | + | | Tab | Shows | |
| 42 | + | | --- | --- | |
| 43 | + | | **All** | Everything, with what an agent is waiting on first | |
| 44 | + | | **Needs you** | What an agent is waiting on you for | |
| 45 | + | | **Errors** | Failed checks and workflows | |
| 46 | + | | **Success** | Merges, approvals and finished agent work | |
| 47 | + | | **Info** | Mentions and comments | |
| 48 | + | |
| 49 | + | The count beside each tab is what is unread under it. |
| 50 | + | |
| 51 | + | ## Work through it |
| 52 | + | |
| 53 | + | 1. Select the bell in the top bar. The inbox opens beside the page. |
| 54 | + | 2. Select an item to open what it is about. It is marked read, and the inbox |
| 55 | + | closes. |
| 56 | + | 3. Point at an item (on a phone, the buttons are always there) to act on it |
| 57 | + | without opening it: |
| 58 | + | |
| 59 | + | | Action | What it does | |
| 60 | + | | --- | --- | |
| 61 | + | | **Done** (✓) | Moves the item out of the inbox and into Done | |
| 62 | + | | **Mark as read** / **Mark as unread** | Changes whether it counts as unread | |
| 63 | + | | **Save** | Keeps it under Saved, even after it is done | |
| 64 | + | | **Snooze until** | Hides it for 3 hours, until tomorrow, or for a week, then brings it back | |
| 65 | + | |
| 66 | + | **Mark all read** marks everything under the tab you are on as read. |
| 67 | + | |
| 68 | + | ## The full inbox |
| 69 | + | |
| 70 | + | **Open inbox**, at the foot of the panel, goes to |
| 71 | + | [g1t.sh/inbox](https://g1t.sh/inbox). It has the same tabs, every item a page |
| 72 | + | at a time, and two more views: |
| 73 | + | |
| 74 | + | | View | Shows | |
| 75 | + | | --- | --- | |
| 76 | + | | **Saved** | Items you saved, done or not | |
| 77 | + | | **Done** | Items you marked done. Select ↶ on one to move it back | |
| 78 | + | |
| 79 | + | Mission control shows a **Needs you** card with the newest unread items an |
| 80 | + | agent is waiting on, then failures. It is hidden when there are none. |
| 81 | + | |
| 82 | + | ## How long items are kept |
| 83 | + | |
| 84 | + | Items you mark done are removed after 30 days. Any item is removed after 180 |
| 85 | + | days. Saved items are kept until you unsave them. |