adds claude-generated commit messages and a recent commits panel to the git view - adds log tailing in the explorer, branch merging and a clean up button
This commit is contained in:
@@ -110,6 +110,26 @@ After the action:
|
||||
- A deleted file closes in the File view.
|
||||
- A [notification](notifications.md) confirms each action, or says why it failed.
|
||||
|
||||
### Tail a log file
|
||||
|
||||
Right-click a `.log` file and choose **Tail log**. A block opens at the bottom of the Explorer, under the tree:
|
||||
|
||||
```text
|
||||
|-------------------------------------|
|
||||
| TAIL laravel.log x |
|
||||
|-------------------------------------|
|
||||
| [2026-11-04 10:12:01] local.INFO ...|
|
||||
| [2026-11-04 10:12:03] local.ERROR ..|
|
||||
+-------------------------------------+
|
||||
```
|
||||
|
||||
- It is a small live terminal that runs `tail -f` on the file, so new lines show up as they are written.
|
||||
- It takes about 40% of the column. It has no splitter.
|
||||
- One tail runs at a time. Tail log on another file replaces the running one.
|
||||
- Click `x` (**Stop tailing**) to end the tail and close the block.
|
||||
- Switching projects or closing the window ends the tail. A project always opens without one.
|
||||
- Select text to copy it. Right-click a selection for **Copy**, **Read aloud selection** and **Plak**.
|
||||
|
||||
### Stay up to date
|
||||
|
||||
The tree follows the disk. Helder watches the project folder and reloads the tree after a short pause when files change. `Cmd+R` reloads it by hand, together with git and the open file.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Git commit form
|
||||
|
||||
The commit form is the block at the top of the [Git](git.md) view, under its top bar. It holds the commit message, the author, and the Commit split button.
|
||||
The commit form is the block at the top of the [Git](git.md) view, under its top bar. It holds the commit message, the Gen. Commit Message button, the author, and the three commit buttons.
|
||||
|
||||
[Guide index](index.md) · Related: [Git](git.md), [Notifications](notifications.md), [Keyboard shortcuts](keyboard-shortcuts.md)
|
||||
|
||||
@@ -10,21 +10,21 @@ The commit form is the block at the top of the [Git](git.md) view, under its top
|
||||
+----------------------------------------------------------------------------+
|
||||
| (1) fix the login form_ |
|
||||
|----------------------------------------------------------------------------|
|
||||
| (2) Jonathan <jonathan@example.com> (3) Cmd+Enter commits |
|
||||
| (4) [ Commit 2 files | v ] |
|
||||
| (2) [ * Gen. Commit Message ] (3) Jonathan <jonathan@example.com> |
|
||||
| (4) Cmd+Enter commits |
|
||||
| (5) [ Add, Stage & Commit ] (6) [ Commit 2 files ] (7) [ Commit and push ] |
|
||||
+----------------------------------------------------------------------------+
|
||||
(5)
|
||||
+------------------------+
|
||||
| v Commit |
|
||||
| ^ Commit and push |
|
||||
+------------------------+
|
||||
```
|
||||
|
||||
1. **Message field**: the commit message. The grey placeholder `Commit message` shows while it is empty.
|
||||
2. **Author**: `user.name <user.email>` from your git config, read when the view opens. With no email set, only the name shows; with no name, nothing.
|
||||
3. **Hint**: `⌘↵ commits`.
|
||||
4. **Commit button**: `Commit N files`, or `Nothing staged`. The caret on its right opens the menu.
|
||||
5. **Commit menu**: **Commit** and **Commit and push**.
|
||||
2. **Gen. Commit Message button**: asks Claude to write the message for your staged changes. See [Generate a message](#generate-a-message).
|
||||
3. **Author**: `user.name <user.email>` from your git config, read when the view opens. With no email set, only the name shows; with no name, nothing.
|
||||
4. **Hint**: `⌘↵ commits`.
|
||||
5. **Add, Stage & Commit button**: stages every change, new files included, then commits. No push.
|
||||
6. **Commit button**: `Commit N files`, or `Nothing staged`. Commits without pushing.
|
||||
7. **Commit and push button**: the amber one. Commits, then pushes.
|
||||
|
||||
In the app all of row 2 to 7 is one footer line: the Gen. Commit Message button, the author and the hint on the left, the three commit buttons on the right.
|
||||
|
||||
## Features
|
||||
|
||||
@@ -38,17 +38,30 @@ The commit form is the block at the top of the [Git](git.md) view, under its top
|
||||
- This keeps dictated or pasted text as one short subject line.
|
||||
- The draft stays in the field while the view is closed.
|
||||
|
||||
### Generate a message
|
||||
- Stage the files first. Then click **Gen. Commit Message**.
|
||||
- Helder sends the staged changes to the Claude Code CLI (`claude`, the same tool the agent terminal runs) and asks for one short sentence, such as `Adds a new button on the header to navigate to profile`. Two separate changes are joined with ` - `.
|
||||
- The answer replaces what is in the field, as one lowercase line, and the cursor goes to the field so you can edit it before you commit. Nothing is committed for you.
|
||||
- While Claude writes, the button reads `Generating…` and further clicks do nothing. It is dimmed when nothing is staged.
|
||||
- Only the staged diff is sent. A very large diff is cut after 60 000 characters; the list of changed files is always sent in full.
|
||||
- When it fails, your draft stays and a [notification](notifications.md) says `Couldn't generate a commit message`, with the reason: `claude not found` (install the Claude Code CLI), Claude's first error line (for example a sign-in problem), or `timed out` (after 90 seconds).
|
||||
|
||||
### Commit
|
||||
You can commit in three ways:
|
||||
You can commit in two ways:
|
||||
|
||||
- Click **Commit N files**.
|
||||
- Choose **Commit** from the caret menu.
|
||||
- Press `Cmd+Enter` while the view is open. This works from the message field too, but not from the console input.
|
||||
|
||||
The button is amber when at least one file is staged and the message is not empty. Otherwise it is grey. A click always runs `git commit`, also when the button is grey, so git's own refusal shows in the [console](git.md#console).
|
||||
With nothing staged **Commit N files** and **Commit and push** are dimmed and do nothing; `Cmd+Enter` still runs `git commit`. With files staged a click always runs `git commit`, also with an empty message, so git's own refusal shows in the [console](git.md#console).
|
||||
|
||||
### Commit and push
|
||||
- Choose **Commit and push** from the caret menu. It commits, and when the commit succeeds it pushes, the same as the **Push** button. See [Pull and push](git.md#pull-and-push).
|
||||
- Click **Commit and push**. It is amber when at least one file is staged and the message is not empty, grey otherwise. It commits, and when the commit succeeds it pushes, the same as the **Push** button. See [Pull and push](git.md#pull-and-push).
|
||||
|
||||
### Add, Stage & Commit
|
||||
- Click **Add, Stage & Commit** to stage every change and commit it in one go: edited, deleted and new files. It does not push.
|
||||
- With an empty message nothing is staged and nothing runs; the cursor goes to the message field.
|
||||
- It is dimmed and does nothing when there are no changes, during a merge conflict (resolve it first), or while a push or pull runs.
|
||||
- When staging fails, for example because another git process holds the index, nothing is committed. The error is in the [console](git.md#console).
|
||||
|
||||
### After a commit
|
||||
- The message field clears.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Right-click menu
|
||||
|
||||
Helder draws its own right-click menu, in the same dark style everywhere. This page lists every menu in the app: on Git view rows and the Commit button, in the Explorer, in the code, in the Diff, and in the two terminal panes.
|
||||
Helder draws its own right-click menu, in the same dark style everywhere. This page lists every menu in the app: on Git view rows and branches, in the Explorer, in the code, in the Diff, and in the two terminal panes.
|
||||
|
||||
[Guide index](index.md) · Related: [Git](git.md), [Explorer](explorer.md), [Dialogs](dialogs.md), [Pass on to Agent](pass-on-to-agent.md), [File view](file-view.md), [File view: Diff](file-view-diff.md)
|
||||
|
||||
@@ -21,7 +21,7 @@ Helder draws its own right-click menu, in the same dark style everywhere. This p
|
||||
+----------------------------------------+
|
||||
```
|
||||
|
||||
1. **Header**: what you clicked: a path, or the project name ending in `/`. Folder, code, Diff, terminal and commit menus have no header.
|
||||
1. **Header**: what you clicked: a path, or the project name ending in `/`. Folder, code, Diff and terminal menus have no header.
|
||||
2. **Highlighted item**: an amber rule on the left. The first item is highlighted when the menu opens.
|
||||
3. **Separator**: a thin line between groups of items.
|
||||
4. **Destructive item**: Delete reads in amber-deep, so it stands out.
|
||||
@@ -79,20 +79,6 @@ Right-click a file row in the [Git](git.md) view. The header is the file's path.
|
||||
|
||||
Stage, unstage, discard, delete and restore are buttons on the row itself, not menu items. See [Row actions](git.md#row-actions).
|
||||
|
||||
### Commit menu
|
||||
|
||||
Click the caret on the right of the **Commit** button in the [Git](git.md) view. The menu hangs under the caret and has no header.
|
||||
|
||||
```text
|
||||
+----------------------------------------+
|
||||
| v Commit |
|
||||
| ^ Commit and push |
|
||||
+----------------------------------------+
|
||||
```
|
||||
|
||||
- **Commit**: the same as the Commit button.
|
||||
- **Commit and push** (bold): commits, then pushes when the commit succeeded. See [Git commit form](git-commit-form.md#commit-and-push).
|
||||
|
||||
### Explorer: file
|
||||
|
||||
Right-click a file in the [Explorer](explorer.md). The header is the file's path.
|
||||
@@ -132,6 +118,16 @@ A Markdown file (`.md`) in the Explorer gets one extra group after the copy item
|
||||
|
||||
- **Read aloud**: reads the headings, paragraphs, list items, quotes and table cells aloud. Markup and link addresses are left out, and code blocks are skipped. The open file is read as it stands in the editor, unsaved edits included. A file with nothing to read shows `Nothing to read`. Reading another file stops the first one.
|
||||
|
||||
A `.log` file gets one extra group after the copy items:
|
||||
|
||||
```text
|
||||
|----------------------------------------|
|
||||
| >_ Tail log |
|
||||
|----------------------------------------|
|
||||
```
|
||||
|
||||
- **Tail log**: opens the [tail block](explorer.md#tail-a-log-file) at the bottom of the Explorer, running `tail -f` on the file. A running tail on another file stops first.
|
||||
|
||||
- **Rename file**: opens the [name prompt](dialogs.md#name-prompt) with the current name. Only the part before the extension is selected, so typing keeps the extension.
|
||||
- **Delete file**: always asks first; see [Dialogs](dialogs.md#delete-file-or-folder). The file is deleted for good, not moved to the Trash.
|
||||
|
||||
@@ -282,6 +278,8 @@ Without a selection:
|
||||
+----------------------------------------+
|
||||
```
|
||||
|
||||
The [tail block](explorer.md#tail-a-log-file) in the Explorer has the same menu without **Paste** and **Wait what?**. Without a selection it opens no menu.
|
||||
|
||||
- **Copy** (only with a selection): copies the selected terminal text.
|
||||
- **Paste**: types the clipboard text into that pane, as a normal paste would. With an empty clipboard nothing happens.
|
||||
- **Read aloud selection** (only with a selection): reads the selected text with the system voice. Markdown markup is left out. With nothing left to read, a [notification](notifications.md) says `Nothing to read`. Stop it with **Stop** in the [title bar](title-bar.md#read-aloud).
|
||||
@@ -319,7 +317,7 @@ Delete file and Delete folder always ask; no setting turns that off.
|
||||
|
||||
- [Dialogs](dialogs.md): the confirm dialog and the name prompt that menu items open.
|
||||
- [Pass on to Agent](pass-on-to-agent.md): what happens after a Pass on item.
|
||||
- [Git](git.md): the rows and the Commit button behind the git menus.
|
||||
- [Git](git.md): the rows and branches behind the git menus.
|
||||
- [Explorer](explorer.md): the rows behind the file, folder and empty-space menus.
|
||||
- [File view: Diff](file-view-diff.md): where Show diff leads.
|
||||
- [Notifications](notifications.md): the confirmations after Copy and file actions.
|
||||
|
||||
Reference in New Issue
Block a user