adds a functional design
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
# Notes
|
||||
|
||||
The note is one plain-text scratch pad per project. It opens as a card at the top of the window with `Cmd+N`.
|
||||
|
||||
[Guide index](index.md) · Related: [Claude Code](claude-code.md), [Pass on to Agent](pass-on-to-agent.md), [Title bar](title-bar.md)
|
||||
|
||||
## At a glance
|
||||
|
||||
```text
|
||||
+----------------------------------------------------------------+
|
||||
| (1) Note .notes.txt (2) [ To the agent Cmd+P ] |
|
||||
+----------------------------------------------------------------+
|
||||
| (3) |
|
||||
| - check the refund flow after the merge |
|
||||
| - ask Claude to add tests for Handler::handle_ |
|
||||
| |
|
||||
+----------------------------------------------------------------+
|
||||
| (4) saved on focus loss . 92 characters |
|
||||
+----------------------------------------------------------------+
|
||||
```
|
||||
|
||||
1. **Header**: the title and the file name, `.notes.txt`.
|
||||
2. **To the agent**: sends the whole note to Claude.
|
||||
3. **Text area**: plain text in a monospaced font, with an amber caret.
|
||||
4. **Footer**: when the note saves, and how many characters it holds.
|
||||
|
||||
## Features
|
||||
|
||||
### What a note is
|
||||
- One note per project. Use it for to-dos, questions for Claude, or anything you want to keep next to the code.
|
||||
- It is plain text. There is no formatting and no Markdown preview.
|
||||
- An empty note shows the hint "Anything you want to keep next to this project…".
|
||||
|
||||
### Where it is stored
|
||||
- The note is the file `.notes.txt` in the root of the project.
|
||||
- You can open and edit that file in any other editor too. When it changes outside Helder, the note picks up the change, unless you have unsaved typing in it.
|
||||
- Like any file, `.notes.txt` shows up in [Git](git.md) unless you ignore it.
|
||||
|
||||
### Opening
|
||||
- Press `Cmd+N`, or click **Note** in the [title bar](title-bar.md).
|
||||
- The caret starts at the end of the text, so you can add a line at once.
|
||||
|
||||
### Saving
|
||||
There is no save key. The note saves itself when:
|
||||
- you close it (`Esc` or a click outside the card),
|
||||
- the window loses focus,
|
||||
- the window closes.
|
||||
|
||||
It only writes when the text changed. If a save fails, a [notification](notifications.md) says "Save failed".
|
||||
|
||||
### Passing the note to the agent
|
||||
- Press `Cmd+P` or click **To the agent**.
|
||||
- The whole note, trimmed, goes into Claude's composer. It is not submitted; press `Enter` in Claude to send it.
|
||||
- The note closes, so you see the text land, and a notification says "Note passed to agent".
|
||||
- An empty note sends nothing.
|
||||
- In the note, `Cmd+P` passes the note. It does not push, as it does elsewhere.
|
||||
|
||||
## Keyboard
|
||||
|
||||
| Keys | Action |
|
||||
|---|---|
|
||||
| `Cmd+N` | Open the note |
|
||||
| `Cmd+P` | Pass the note to Claude and close it |
|
||||
| `Esc` | Close and save |
|
||||
|
||||
## Related
|
||||
|
||||
- [Claude Code](claude-code.md): where the passed note arrives.
|
||||
- [Pass on to Agent](pass-on-to-agent.md): send code references instead of the note.
|
||||
- [Title bar](title-bar.md): the Note button.
|
||||
- [Notifications](notifications.md): the confirmation and the save-failed message.
|
||||
- [Keyboard shortcuts](keyboard-shortcuts.md): every key in one list.
|
||||
Reference in New Issue
Block a user