Files
helder/docs/guide/notifications.md
2026-10-30 13:21:45 +01:00

99 lines
5.3 KiB
Markdown

# Notifications
Helder confirms what it just did with a toast: a small card that appears near the bottom centre of the window and goes away on its own. Toasts never ask for anything and never block your work.
[Guide index](index.md) · Related: [Window layout](layout.md), [Git](git.md), [Explorer](explorer.md), [Pass on to agent](pass-on-to-agent.md)
## At a glance
```text
+----------------------------------------------------------------------------+
| |
| (workspace) |
| |
| +-------------------------------------------+ |
| |# [] Committed 2 files [Fix the login fo..]| (1) |
| +-------------------------------------------+ |
| |# [] Pushed 1 commit to origin/main | |
| +-------------------------------------------+ |
| ^ ^ ^ ^ |
| (2)(3) (4) (5) |
| |
+----------------------------------------------------------------------------+
| status bar |
+----------------------------------------------------------------------------+
```
1. **Toast stack**: one card per message, newest at the bottom.
2. **Amber edge**: a thin amber rule on the left side of the card.
3. **Icon**: a small amber icon.
4. **Title**: what happened, in bright text.
5. **Detail**: the file, reference or message it is about, in a small amber chip.
## Features
### What a toast looks like
- A dark card with a thin border, a soft shadow and an amber rule on its left edge.
- The title says what happened, for example "Saved" or "Push failed".
- Most toasts carry a detail in an amber chip: a file path, a reference, a commit subject or a git message.
- A long detail is cut in the middle, so you see its start and its end.
- A card is never wider than 560 points.
### Where it appears
- Centred at the bottom of the window, 44 points above the bottom edge, just over the status bar.
- Several toasts stack on top of each other.
- Toasts may sit on top of an open overlay, such as search or clean copy.
### How it goes away
- Each toast disappears by itself after about 2.3 seconds.
- You cannot click a toast. Clicks go through it to whatever is underneath.
### When toasts appear
Files and the editor:
| Title | Detail | When |
|---|---|---|
| Saved | file path | You saved a file with `Cmd+S` (auto-save does not toast) |
| Save failed | file path | A file could not be written |
| Created file / Created folder | new path | After New File or New Folder |
| Renamed file / Renamed folder | new path | After Rename |
| Deleted file / Deleted folder | path | After Delete |
| Create failed / Rename failed / Delete failed | path or name | The file action did not work |
| Copied reference | the reference | After Copy reference, for example `app/User.php:42` |
| Copied | file name | After Copy file name |
Git:
| Title | Detail | When |
|---|---|---|
| Committed 1 file / Committed N files | commit subject (first 34 characters) | A commit succeeded |
| Commit failed | git's first error line | The commit did not work; your message stays in the field |
| `Pushed N commits to origin/<branch>` | none | The push succeeded; without commits ahead it reads `Pushed to origin/<branch>` |
| Push failed | git's first error line | The push did not work |
| `Pulled N commits from origin/<branch>` | none | The pull brought in commits; `Pulled from origin/<branch>` when the count was not known. An up-to-date pull shows nothing |
| Pull failed | git's first error line | The pull did not work |
| `Switched to <branch>` | none | A branch switch from the Git view succeeded |
| — Commit or discard N files before you switch. | none | You clicked a branch while there are uncommitted changes |
Stage, unstage, discard and typed console commands show no toast. Their output, errors included, is in the Git view's [console](git.md#console).
The agent:
| Title | Detail | When |
|---|---|---|
| Passed to agent | the reference | Text was inserted into the Claude pane |
| Copied | character count | You copied the text of the [clean-copy](clean-copy.md) card |
### Other short messages
Two other messages appear for a moment, but they are not toasts:
- **Too big.**: an amber word in the middle of the File column, for 1.6 seconds, when a file is too large to open, such as `composer.lock`. See [File view](file-view.md).
- **Branch and project card**: when you switch back to a Helder window, a card with the branch and the project name shows in the middle for half a second. See [Window layout](layout.md).
## Related
- [Git](git.md): commit, pull, push and branch switches, which report through toasts.
- [Explorer](explorer.md) and [Right-click menu](right-click-menu.md): the file actions behind most file toasts.
- [Pass on to agent](pass-on-to-agent.md): the "Passed to agent" toast.
- [Dialogs](dialogs.md): prompts that do ask you something, unlike toasts.