adds nice git interface

This commit is contained in:
2026-10-30 13:21:45 +01:00
parent b9c03a7637
commit caec81e762
107 changed files with 6466 additions and 3992 deletions
Binary file not shown.
+9 -5
View File
@@ -26,10 +26,12 @@ Helder (executable) → HelderUI → HelderServices → HelderCore
- **Closing.** A window close, a project switch and ⌘Q all run `prepareToClose()` first: every unsaved file (at most the open one plus a vanished-file buffer) is asked about, and a cancel keeps everything open. Then `closeProject()` waits for running work, writes the session and ends the terminals.
- **Lifecycle.** `start()`: recents → config (applied to every store and the terminals) → git, tree and the `.clean-copy` baseline in parallel → `editor.restore` → watcher → git polling (`git.refreshInterval`) → the PHP class list 1.5 s later. Watcher events: `.cleanCopy` (`.clean-copy` in the root, 150 ms debounce, fired besides `.project`) makes `CleanCopyStore` re-read the file and opens the `.cleanCopy` overlay for new non-blank text (the text found at load is the baseline; another open overlay makes it wait, keeping only the newest); `.project` re-reads git, the tree, the open file and every unsaved buffer (the edits kept), invalidates the symbol index and reloads the class list 2 s after the last change; `.git` re-reads git; `.config` re-resolves and re-applies the config. ⌘R re-reads git and the tree and lets the disk win in the open file. A project switch or window close saves the session, stops the watcher and polling, and ends both terminals.
- **Terminals.** `TerminalStore` owns both panes' handles. Ending a pane goes through the store (`terminateAll`, `restart`, or `release` when a pane's window closes), which signals the child and lets `ChildReaper` collect it, so no zombie or orphan is left. A pane whose child exited restarts on the next key press. Right-click raises `contextMenuRequested`; the model shows the app's own menu (`.terminal` target: Copy with a selection, Paste). Font size follows `layout.textScale` (⌘0/⌘+/⌘−) live.
- **Git view.** ⌘G toggles `LayoutStore.isGitViewOpen` (never persisted, reset on a project switch). `WorkspaceView` draws `GitView` as an overlay over title bar, columns and status bar, under `OverlayHost`, so every overlay and toast sits above it; the columns stay mounted. `KeyContext.gitViewOpen` sends keys to `KeyRouter.gitViewKey` (column keys rest, ⌘↵ commits) and makes a bare Esc `.closeGitView` once no overlay is open; `inGitConsole` (first responder is a `GitConsoleFieldEditor`) keeps ⌘↵ from committing out of the console. `openGitView()` / `closeGitView()` in `+Commands` move the focus request (commit message in, previous `activePanel` out). Design source: `docs/design_handoff_helder_app_v2/README.md`.
- **Git commands.** Every git write and every typed console command goes through `SourceControlStore.run`, which chains onto `commandTail` so two commands never race for `.git/index.lock`, logs `$ git …` and streams lines via `GitServicing.execute` → `ProcessRunning.stream` into the console (`GitOutputClassifier`, one per run). `execute` never throws and switches off prompts, editors and pagers (`GIT_TERMINAL_PROMPT=0`, `GIT_EDITOR=true`, `GIT_PAGER=cat`), so a run can never wait on input. Typed commands run without literal pathspecs (globs work); buttons always pass explicit paths, never `add -A`. Push/pull/fetch and typed commands get `remoteTimeout` (120 s). Commit always runs git, even when `canCommitNow` is false, so git's refusal is the error the user sees. Branch switching is refused in the store while `isDirty`, without asking git. The status read (`load`) stays on `ProcessRunning.run`.
- **Git and files.** Git gets paths as literal pathspecs (`GIT_LITERAL_PATHSPECS=1`, so `pages/[id].vue` is one file). A changed file over `FileLimits.maxDiffFileBytes` (1 MB) keeps its row but loads no text: `GitFileChange.isTooBig` → `Diff.isTooBig`, and the Diff shows "Too big.". Saves are atomic (temp file, then rename, keeping permissions). Writes, creates, renames and deletes are refused when the entry's folder resolves (symlinks included) outside the project (`containedURL`). The watcher drops `IgnoreRules.walkIgnoredNames`, framework caches (`storage/framework/`, `bootstrap/cache/`, `.phpunit*`) and `files.exclude`.
- **Processes.** Every new window (⇧⌘N, the Dock's New Window, Open Folder or Open Recent with no key window) is a new Helder process via `SystemActing.openNewInstance`: `NSWorkspace` with `createsNewApplicationInstance` in the bundle, `InstanceLauncher` (Foundation `Process`) under `swift run`. The folder travels as `-HelderProject <path>`, which `ProjectLocator.initialRoot` reads as its directory argument; a bare path could reach AppKit as a file to open. Switching projects (⌘O, Open Recent in a window) stays in the process. `AppName` renames the process to the project's title (the launcher is "Helder"), so Mission Control, the Dock and ⌘Tab tell projects apart. Windows are not restorable and `NSQuitAlwaysKeepsWindows` is off, so a launch opens exactly one window.
- **Editor.** `EditorStore` shows exactly one file (`activePath`); opening another replaces it, and there are no tabs. Every `open` (Git column, Explorer, search, recent files, links) re-reads the file from disk; the disk wins. Unsaved edits do not outlive switching: opening any file, the same one included, while the open file is dirty asks Save / Don't Save / Cancel (with `editor.autoSave` on it saves silently). Cancel moves nothing, Explorer selection included; a failed save keeps the dirty file open. `dirtyPaths` is therefore at most the open file plus a vanished-file buffer, and the close/quit flow asks about each. ⌘W closes the open file (asking first when dirty) and shows the empty state. `EditorBar` above the code shows the type badge, the path, the unsaved dot and `+N`/`−N`, then a Preview button for Markdown and a Diff button for a changed file (`EditorPresentation.barButtons`). A changed file shows Actual (the live buffer with changed lines marked), an unchanged one plain code; ⌘M only flips Markdown between code and preview. The session stores the open file and its mode and side; a stored `openTabs` list and unknown modes are ignored.
- **Focus.** `WorkspaceModel.focusRequest` names where the keyboard should go (a column, the commit box); the view that takes it calls `focusTaken(_:)`. The editor's text view follows `EditorStore.textFocusRequest`, which also moves when the Diff closes.
- **Editor.** `EditorStore` shows exactly one file (`activePath`); opening another replaces it, and there are no tabs. Every `open` (Git view, Explorer, search, recent files, links) re-reads the file from disk; the disk wins. Unsaved edits do not outlive switching: opening any file, the same one included, while the open file is dirty asks Save / Don't Save / Cancel (with `editor.autoSave` on it saves silently). Cancel moves nothing, Explorer selection included; a failed save keeps the dirty file open. `dirtyPaths` is therefore at most the open file plus a vanished-file buffer, and the close/quit flow asks about each. ⌘W closes the open file (asking first when dirty) and shows the empty state. `EditorBar` above the code shows the type badge, the path, the unsaved dot and `+N`/`−N`, then a Preview button for Markdown and a Diff button for a changed file (`EditorPresentation.barButtons`). A changed file shows Actual (the live buffer with changed lines marked), an unchanged one plain code; ⌘M only flips Markdown between code and preview. The session stores the open file and its mode and side; a stored `openTabs` list and unknown modes are ignored.
- **Focus.** `WorkspaceModel.focusRequest` names where the keyboard should go (a column, the Git view's commit message); the view that takes it calls `focusTaken(_:)`. The editor's text view follows `EditorStore.textFocusRequest`, which also moves when the Diff closes.
## Where things live
@@ -39,7 +41,8 @@ Sources/HelderCore/
Config/ HelderConfig (tolerant decoding), config resolution, .env title
Diff/ Diff models, LineDiff, DiffViews, ViewMode
Files/ FileNode + FileTree, PathUtils, FileType (language, badge), limits + ignore rules, ContextActions (menus)
Git/ GitStatus/Change/GitSnapshot, Porcelain parsing, GitDerivation (rows, grouping, commit text)
Git/ GitStatus/Change/GitSnapshot, Porcelain parsing (incl. behind/upstream), GitDerivation (rows, commit text),
GitSections (the four sections, InlineDiff), GitConsole (echo, input parsing, line classifier), GitBranches
Highlight/ SyntaxHighlighter and one grammar per language
Markdown/ block/inline tree and parser, MarkdownSpeech (the prose Read aloud speaks)
Search/ result models, Fuzzy, InFileSearch, rg --json parsing
@@ -49,7 +52,7 @@ Sources/HelderServices/
Files/ FileServicing (read, readText → .binary), FileService, FSEventsWatcher + WatchDebounce
Git/ GitServicing, GitService, GitDirectory (worktrees)
Logging/ Log (unified log) + FileLogger (~/Library/Logs/Helder/helder.log)
Process/ ProcessRunner, ExecutableLocator, ChildReaper, InstanceLauncher
Process/ ProcessRunner (`run`, and `stream` for line-by-line output), ExecutableLocator, ChildReaper, InstanceLauncher
Project/ ConfigService, RecentStores, SessionStore, ProjectLocator
Search/ SearchServicing + RipgrepSearchService, ProjectScanner (rg, or a Swift walk)
Speech/ SpeechServicing + SpeechService (AVSpeechSynthesizer, the system voice), shared by the window
@@ -61,7 +64,7 @@ Sources/HelderUI/
Components/ OverlayShell/OverlayCard/OverlayHeader/OverlayFooter, ContextMenuPanel/Header/Row/Separator,
Keycap, EscChip, Primary/Secondary button styles, focusRing, SegmentButton, Splitter,
ButtonGroup (pane toggles, toolbar), Tooltip, TypeBadge, PanelLabel/PanelHeader, Hairline, selectableRow, Blink
SourceControl/ the git column and the commit box
GitView/ the full-screen Git view (⌘G): top bar, commit block, sections with inline diffs, console, branches
Explorer/ the file tree column and the row glyphs
Editor/ the bar above the code, code/markdown/image panes, Diff overlay, pass-on panel, symbol popup
Terminal/ agent + shell panes over SwiftTerm
@@ -104,6 +107,7 @@ How the suites are organised and how to run one: see the Testing section of the
- **`bundle.sh --install`** refuses to replace a `~/Applications/Helder.app` with a different bundle id without `--force`.
- **⌘N** is unbound; "New Window" is ⇧⌘N. New Window starts a new process on the launcher, and the child never inherits `HELDER_PROJECT` (it would win over the folder argument). ⌘A is select-all in the focused view (in the code pane, the whole file); fluid columns are ⌘L.
- **Config.** `files.followGitignore` defaults to **false** (the main-process value). There is no CSS layer: code font and size come from config/Typography.
- **Removed keys still decode.** `git.confirmStage` / `git.confirmUnstage` are gone from `HelderConfig.Git`; old configs load and ignore them. A saved `ColumnLayoutSnapshot` from the Git-column era still decodes; its `sourceControlWidth` and `gitVisible` are ignored. Keep both tolerant when touching these types.
- **One file, no Original.** The editor deliberately has no tabs and no Original mode. `git.defaultDiffMode: "original"` in an older config decodes as `"updated"`.
- **SwiftTerm** has no line-height or letter-spacing setting, so `terminal.lineHeight`/`letterSpacing` from the config are ignored.
- **Pointer.** `Components/PointerPolicy.swift` is the one rule: I-beam, pointing hand or arrow. Text views conform to `PointerTextTarget`; a SwiftUI button or row gets the hand with `.pointerHand()` on the exact view a left click acts on, never on a container. Its region view takes no clicks and reads `\.isEnabled`, `disabledLook` and `\.pointerLayer` (`.overlay` under `OverlayHost` and the ⇧⌘O list), so a disabled button and every column behind an overlay keep the arrow. `updateCursor` asks the `PointerOwner` under the mouse first, so a text field inside a clickable row keeps the I-beam. AppKit hands a cursor update to the hit view, and a region view takes no hits, so `NSHostingView` would set the arrow; `PointerPolicy.installCursorUpdateMonitor()` (called at launch) swallows every cursor update in the key window, passes every mouse move on untouched, and for both runs `updateCursor` once afterwards (`scheduleUpdate`, coalesced per window). Inside an event SwiftUI's hit test returns its root view, so nothing calls `updateCursor` from inside an event, and the deferred call never resets cursor rects, which would fire new updates. Region views and the terminals keep a `PointerTracker` area (cursor update, enter, exit) so AppKit still sends an update when the mouse crosses their edge.
+63 -62
View File
@@ -11,17 +11,18 @@ Helder is a dark, AI-first macOS code editor for reviewing and navigating code w
The window has three horizontal regions stacked top to bottom:
1. A top bar.
2. The main body, split into four resizable columns.
2. The main body, split into three resizable columns.
3. A bottom status bar.
The four columns of the body, left to right, are:
The three columns of the body, left to right, are:
1. **Source Control**
2. **Explorer** (file tree)
3. **Editor** (one file and its code)
4. **Agent and Terminal**, a single column split into two stacked panes: the Claude agent pane on top and a shell terminal below it.
1. **Explorer** (file tree)
2. **Editor** (one file and its code)
3. **Agent and Terminal**, a single column split into two stacked panes: the Claude agent pane on top and a shell terminal below it.
Every boundary between panes is a draggable splitter. The vertical splitters between the four columns adjust their widths. The horizontal splitter between the agent pane and the terminal pane adjusts their heights. Splitter positions persist across launches. Panes have sensible minimum widths and heights so they cannot be collapsed to nothing by dragging.
Git is not a column: the full-screen **Git view** (section 3) covers all three regions while it is open.
Every boundary between panes is a draggable splitter. The vertical splitters between the three columns adjust their widths. The horizontal splitter between the agent pane and the terminal pane adjusts their heights. Splitter positions persist across launches. Panes have sensible minimum widths and heights so they cannot be collapsed to nothing by dragging.
The interface is dark only. Code is always syntax highlighted, in every panel and every view.
@@ -33,68 +34,66 @@ The top bar contains, left to right:
- The Helder wordmark.
- A breadcrumb showing the path to the active file, for example `console / src / Http / Controller / UserController.php`. The breadcrumb is **display only** for now. It is not clickable and does not navigate.
- Centred on the window, the **pane toggles**: Git · Explorer · File · Claude, one per column, all on by default (see Pane toggles in section 9). The breadcrumb truncates before it reaches them.
- On the right, the toolbar: **Search** (`Cmd+F`) is an action; **Fluid** (`Cmd+L`) and **Hidden** (`Cmd+.`) are toggles. Then `?` for the keyboard shortcuts.
- While Helder reads aloud, a **Stop** toggle appears left of **Search**, in the same style and switched on. A click switches it off and stops the reading; the button then goes away. It also goes away when the reading reaches the end, and a project switch or window close stops the reading.
- Centred on the window, the **pane toggles**: Explorer · File · Claude. Each shows or hides one column, all on by default (see Pane toggles in section 9). The breadcrumb truncates before it reaches them.
- On the right, the toolbar: **`Git N`** (`Cmd+G`) toggles the Git view (section 3); N counts the changed files, a file both staged and unstaged once, and the count is left out when there are none. **Search** (`Cmd+F`) is an action; **Fluid** (`Cmd+L`) and **Hidden** (`Cmd+.`) are toggles. Then `?` for the keyboard shortcuts.
- While Helder reads aloud, a **Stop** toggle appears left of **Git**, in the same style and switched on. A click switches it off and stops the reading; the button then goes away. It also goes away when the reading reaches the end, and a project switch or window close stops the reading.
---
## 3. Source Control panel
## 3. Git view
The leftmost column. It shows the working state of the project's git repository and is where staging and committing happen.
A full-screen view over the whole window (top bar, columns and status bar) for staging, committing, pulling, pushing and switching branches. `Cmd+G`, the `Git N` toggle and View › Show Git open it. `Cmd+G`, `Esc` and its **Close** button close it. Dialogs, context menus, search, the Diff and toasts sit above it. The columns stay mounted under it, so terminals keep running and the editor keeps its state. Opening it puts the keyboard in the commit message; closing it hands the keyboard back to the column that had it. It is not persisted: a project always opens with it closed.
### Header
While it is open, the columns' row, focus and editor keys rest. `Cmd+Return` commits, except from the console input. The other `Cmd` shortcuts keep working. `Cmd+C` with no selection, outside a terminal, opens the view on the commit message. `Esc` closes the topmost layer: an overlay (context menu, dialog, search, Diff) first, then the Git view; with neither open it reaches the terminal.
A `SOURCE CONTROL` header with a count badge showing the total number of changed files (staged plus unstaged).
From top to bottom:
### Commit area
### Top bar
Directly under the header:
`[ git ]`, the current branch in amber, and its place against the upstream: `in sync with origin`, `N ahead of origin`, `N behind origin`, `N ahead · M behind origin`, or `no upstream`. Ahead and behind come from the status header. On the right: **Pull** (with `↓N` when behind), **Push** (with `↑N` when ahead) and **Close** (`⌘G`).
- A single-line **commit message** input.
- A **Commit** button whose label includes the staged count, for example `Commit 2`.
- The Commit button is enabled only when there is at least one staged change and the message field is not empty. Clicking it commits the staged changes with the typed message, clears the message field, and moves the committed files out of the staged section. The working tree updates accordingly.
Opening the view reads the author and the branches, re-reads git and runs `git fetch origin`, but only when an origin exists, so ahead/behind are current.
- **Pull** runs `git pull --no-rebase`: diverged branches merge instead of failing on an unset `pull.rebase`.
- **Push** runs `git push`; when git reports there is no upstream, it retries with `git push -u origin <branch>`. `Cmd+P` pushes from anywhere.
- Both time out after 120 seconds. While one runs its button reads `Pulling…` / `Pushing…`, the console header says so, and a second pull or push is ignored. Git never prompts: no terminal prompt, no editor, no pager.
- The result is a toast: `Pushed N commits to origin/<branch>`, `Pulled N commits from origin/<branch>`, or `Push failed` / `Pull failed` with git's first error line.
### Commit block
- The **commit message**: always one lowercase line. Capitals become lowercase and line breaks become spaces as the user types or pastes, so `Enter` never starts a second line. The field grows with wrapped text from 56 to 180 points. An amber underline shows focus.
- The **author**, `user.name <user.email>` from git config.
- A `⌘↵ commits` hint.
- A **Commit** split button: `Commit N files`, or `Nothing staged`. It is amber when something is staged and the message is not empty, grey otherwise. The caret opens **Commit** and **Commit and push**.
- A commit always runs `git commit -m`, also from the grey button, so git's own refusal shows in the console. On success the message clears and a toast says `Committed N files` with the subject; on failure the message stays, a toast says `Commit failed`, and an empty message takes the focus back. **Commit and push** pushes only after a successful commit.
### Sections
Two stacked sections, each with its own header and count:
Four colour-coded sections, each only when it has rows, in this order:
1. **STAGED CHANGES (n)** on top, listing files that are staged.
2. **CHANGES (n)** below, listing unstaged working-tree changes (added, modified, deleted).
1. **staged**: every staged row, whatever its status. Row and bulk action: **Unstage** / **Unstage all**.
2. **changed**: unstaged edits to tracked files, including renames and conflicts. **Discard** and **Stage**.
3. **new · untracked**: **Delete** and **Stage**.
4. **deleted**: **Restore** and **Stage**.
### Row anatomy
- A header shows the name, a count badge and the bulk actions; a click folds the section.
- A row shows a chevron, a status badge (`A`, `M`, `D`, `R`, `U`), the path (folder dim, name bright, struck through when deleted), `+N` / `−N`, and its actions. A click expands an inline side-by-side diff of that row's half, last commit (or index) left and working tree right, with 3 lines of context around each change and longer unchanged runs folded into `⋯ N unchanged lines`. A file over the diff cap shows `Too big.`.
- A conflicted row offers only **Stage**: staging marks the resolution.
- **Discard** reverts unstaged changes (modified and deleted files from the index, new files removed). **Discard** and **Delete** ask first (`git.confirmDiscard`, default on); **Restore** never asks. Stage and unstage never ask.
- **Right-click** a row: **Open in editor** (left out for a deleted file), **Pass on reference**, **Copy reference**. Open in editor and Pass on reference close the view first.
Each row, identical in both sections:
### Console
- A status letter on the far left: `A` added, `M` modified, `D` deleted, each in its own color (added teal, modified amber, deleted amber-deep).
- A file-type icon, then the file name.
- The dimmed relative path, aligned to the right of the name.
- Change counts at the far right: additions in teal (`+N`) and deletions in amber-deep (`-N`).
- Deleted files are shown with the file name struck through and dimmed.
- Rows have default, hover, and selected states. The selected row is the file currently open in the editor.
The bottom-left panel. Every action logs the exact git command (`$ git add -- path`) and streams its output line by line, coloured by kind: errors, hints, staged and unstaged lines of `status`, and the ref update of a push. Below the log, a `$ git` input runs typed commands, with or without a leading `git`. `clear` empties the log, a bare `log` runs `log --oneline --decorate -n 30`, and `Up` recalls earlier input. Commands, typed or from buttons, run one at a time. The log keeps the last 400 lines.
### Interactions
### Branches
- **Left-click** a row opens that file in the editor, on the live file. It does not open the full-screen Diff.
- **Right-click** a row opens a context menu, designed to grow over time:
- In CHANGES (unstaged): **Open diff**, **Stage file**, and **Discard changes**.
- In STAGED: **Open diff**, and **Unstage file**.
- **Open diff** is the explicit way into the full-screen Diff (section 5).
- **Hover quick action**: on hover, an unstaged row shows a `+` to stage it in one click, and a staged row shows a `-` to unstage it.
- Optional section actions: **Stage all** on the CHANGES header and **Unstage all** on the STAGED header.
- **Discard** is a destructive action. It asks for confirmation first (controlled by `git.confirmDiscard`, default on). Discarding reverts a modified file to its committed state and restores a deleted file.
- Staging and unstaging do not ask for confirmation by default (`git.confirmStage` and `git.confirmUnstage`, default off).
### Branch summary bar
At the very bottom of this column, a bar shows the current branch name and the total line changes across the working tree, for example `feat/payments-balance +50 -38`. This bar is **display only**. It does not switch branches.
The bottom-right panel: **local** branches, then **remote · origin**. The current branch is marked; a remote branch with a local counterpart reads `tracked`. A click switches (`switch →`); a remote branch without a local one is checked out as a new tracking branch (`checkout →`). While there are uncommitted changes, switching is locked: the header says so, the other branches dim, and a click shows a toast instead of running git.
### Empty states
- When nothing is staged, the STAGED section shows a dimmed line: `No staged changes`.
- When the working tree is clean, the CHANGES section shows a dimmed line: `Working tree clean`.
Scope note: git in this version covers staging, unstaging, committing, and discarding. Push, pull, fetch, and branch switching are not part of this version.
- Not a repository: `— Not a git repository.`
- Clean working tree: `— No changes. The working tree is clean.`
---
@@ -104,11 +103,11 @@ The second column. A standard project file tree.
- An `EXPLORER` header.
- Folders expand and collapse. Files and folders use type icons.
- Files that have changes show the same status letter as the Source Control panel (`A`, `M`, `D`) on the right of their row.
- Files that have changes show their status letter (`A`, `M`, `D`) on the right of their row.
- **Left-click** a file opens it in the editor. The selected file is highlighted.
- The tree hides paths matched by `files.exclude` and, when `files.followGitignore` is on, paths ignored by git.
- **Right-click** a file offers **Copy reference**, which copies the file's project-relative path to the clipboard (the file-level form of the editor's Copy reference).
- A Markdown file (`.md`) also offers **Read aloud**, in its own group after the pass-on and copy items, in the Explorer and on its git rows. Helder reads the text with the system voice: headings, paragraphs, list items, quotes and table cells, with the markup and link URLs left out and code blocks 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`. A new Read aloud replaces the one that is playing. A `$` is read as "dollar", except before a digit (`$5` stays "five dollars").
- A Markdown file (`.md`) also offers **Read aloud**, in its own group after the pass-on and copy items, in the Explorer. Helder reads the text with the system voice: headings, paragraphs, list items, quotes and table cells, with the markup and link URLs left out and code blocks 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`. A new Read aloud replaces the one that is playing. A `$` is read as "dollar", except before a digit (`$5` stays "five dollars").
---
@@ -228,26 +227,28 @@ Opens a fuzzy file-open overlay. The user types part of a file name or path, the
### Search (`Cmd+F`)
Opens a modal search overlay that searches **both** file contents and file names at once. The overlay covers 90 percent of the application width and is centered over a dimmed background.
Opens a modal search overlay that searches the open file, file contents and file names at once. Like the Git view, it covers the whole window edge to edge, title bar and status bar included: no margin, no dimmed background, no card. It sits above the Git view when opened from there; toasts sit above it.
Inside the overlay:
- A query field at the top.
- Two result columns below:
- **Left column, 70 percent width**: matches found inside files (content search), grouped by file, each match shown as the matching line with the query highlighted in context.
- **Right column, 30 percent width**: files whose name or path matches the query.
- A query field at the top, with the type chips and a summary.
- Result columns below, each with a fixed share of the width that never changes when the focus moves:
- **This file** (30 percent, only when a file is open): matches in the open file.
- **Project** (45 percent, 65 percent without This file): matches found inside files, grouped by file, each match shown as the matching line with the query highlighted in context.
- **Files** (25 percent, 35 percent without This file): files whose name or path matches the query.
- The focused column shows its focus only by its amber title and count.
- Selecting a content result opens the file and jumps to that line. Selecting a file-name result opens that file.
- When nothing matches, each column shows a brief no-results message.
- `Esc` closes the overlay. The respected excludes are the same as the Explorer (`files.exclude` and, when on, gitignore).
- `Esc` closes the overlay; there is no area to click to close it. The respected excludes are the same as the Explorer (`files.exclude` and, when on, gitignore).
### Mouse pointer
The pointer shows what a left click does at that spot. It depends only on what lies under the mouse.
- **Pointing hand** only where a left click runs an action: buttons (title-bar toggles and tools, `?`, Preview, Diff, Commit, Push, stage `+` / unstage `−`, Stage all / Unstage all, dialog buttons, Collapse, search chips), clickable rows (Git file rows, Explorer rows, search results, recent files and projects, launcher rows, symbol popup rows, context-menu items) and the project name in the title bar. Never on a view that only reacts to a right-click, a tooltip or hover.
- **I-beam** where a click places a caret or starts a selection: the code (also below the last line), the Markdown preview, both terminals, the commit message and every overlay input.
- **Pointing hand** only where a left click runs an action: buttons (title-bar toggles and tools, `?`, Preview, Diff, the Git view's buttons and section headers, dialog buttons, Collapse, search chips), clickable rows (Git view file rows and switchable branches, Explorer rows, search results, recent files and projects, launcher rows, symbol popup rows, context-menu items) and the project name in the title bar. Never on a view that only reacts to a right-click, a tooltip or hover.
- **I-beam** where a click places a caret or starts a selection: the code (also below the last line), the Markdown preview, both terminals, the commit message, the Git console and every overlay input.
- **Arrow** everywhere else: labels, headers, folder labels, the gutter, the status bar, scrims, toasts, empty states, and a disabled button such as Commit with nothing staged.
- With an overlay open, every column behind it shows the arrow; the overlay's own buttons, rows and inputs keep theirs.
- With an overlay open, every column behind it, and the Git view, shows the arrow; the overlay's own buttons, rows and inputs keep theirs.
- A splitter shows a resize arrow; `Cmd` over a known PHP class name in the code shows the hand. No other pointers are used.
### Pane resizing
@@ -256,7 +257,7 @@ Dragging any splitter resizes the adjacent panes. Positions persist across launc
### Pane toggles
Each title-bar toggle shows or hides its column; `Cmd+G` is the same as the Git toggle. Hiding only hides: the terminals and their processes, the editor buffer and scroll, and the Explorer's expanded folders survive any number of hide/show cycles. The editor absorbs the freed width; with the editor hidden the Agent and Terminal column fills the rest. With every column off the body shows the editor background. A hidden column cannot take focus, and hiding the focused column hands the keyboard back to the window. `Cmd+C` to the commit box shows a hidden Source Control column. The four flags are saved per project.
Each column toggle in the title bar shows or hides its column; `Cmd+1`, `Cmd+2` and `Cmd+3` do the same for Explorer, File and Claude. Hiding only hides: the terminals and their processes, the editor buffer and scroll, and the Explorer's expanded folders survive any number of hide/show cycles. The editor absorbs the freed width; with the editor hidden the Agent and Terminal column fills the rest. With every column off the body shows the editor background. A hidden column cannot take focus, and hiding the focused column hands the keyboard back to the window. The three flags are saved per project. A saved layout from before the Git view still loads; its Git width and flag are ignored.
### Session restore
@@ -273,14 +274,14 @@ Settings are project-scoped and live in a `.helder` folder in the project root.
- **Effective value** of any setting: the value from `config.json` if present, otherwise the value from `config.default.json`, merged key by key.
- There is no theme file. The code font and size are built in; `Cmd+0`, `Cmd++` and `Cmd+−` zoom the editor, Diff and terminal text.
Settings that affect behavior described above include indentation and editor display, file and search excludes, the default diff mode (`updated` or `diff`), git confirmation prompts, the terminal shell override, the agent auto-launch and command, and session restore.
Settings that affect behavior described above include indentation and editor display, file and search excludes, the default diff mode (`updated` or `diff`), the git discard confirmation, the terminal shell override, the agent auto-launch and command, and session restore.
---
## 11. States and edge cases summary
- **No project open**: the window shows an empty state inviting the user to open a project folder.
- **Clean working tree**: Source Control shows its empty-section messages; the Explorer still shows the full tree.
- **Clean working tree**: the Git view shows its clean message; the Explorer still shows the full tree.
- **Unchanged file open**: normal editable view, no Diff button.
- **Added or deleted file**: views behave as described in section 5.
- **Binary or unsupported file**: placeholder, no Preview or Diff button.
File diff suppressed because it is too large Load Diff
-409
View File
@@ -1,409 +0,0 @@
# Handoff: Helder — editor for working with Claude Code
## Overview
Helder is a desktop code editor built around one job: work on a codebase together with
Claude Code. It replaces a general IDE with four columns — source control, explorer,
editor, agent — plus four overlays (search, keyboard shortcuts, project
launcher, expanded diff) and a set of small surfaces (context menus, a pass-on-to-agent
prompt, tooltips, a markdown preview).
This handoff describes one consistent visual system for all of those screens.
## About the design files
The files in this bundle are **design references written in HTML**. They show the
intended look, spacing and states. They are not production code to copy.
The task is to **recreate these screens in the target codebase's own environment**
(Electron + React, Tauri + Svelte, SwiftUI, whatever the app already uses) with its
established patterns. If no environment exists yet, pick the framework that fits a
desktop editor and implement the design there.
`Helder IDE.dc.html` is a single-canvas board: every screen sits on one page, side by
side, at real pixel sizes. Open it in a browser to inspect any value with devtools.
## Fidelity
**High fidelity.** Colours, type, row heights, paddings, radii and states are final and
exact. Recreate them pixel-for-pixel. Everything is authored with inline styles so any
element's computed value can be read directly from the file.
Two things are deliberately *not* final:
- The code shown inside the editor panes is sample content, not a spec.
- Icons are Unicode stand-ins (`⌕ ▤ ◇ ⧉ ✎ ↺ ⇄ ⑂ ◆ →`). Ship them as Lucide glyphs at
stroke width 1.75, 16px inline / 18px standalone.
---
## Design tokens
### Surfaces (four, no more)
| Token | Hex | Use |
|---|---|---|
| `editor` | `#101720` | Editor canvas, terminal, launcher backdrop, code blocks |
| `panel` | `#18202B` | Title bar, side panels, status bar, overlays, menus, tooltip host |
| `raised` | `#232C39` | Selected row, hairline borders, tooltip surface, keycap borders |
| `hover` | `#1E2733` | Row hover fill only |
### Text on dark
| Token | Hex | Use |
|---|---|---|
| `text-1` | `#F4F5F4` | Active file, dialog titles, selected row |
| `text-2` | `#E4E7E6` | Body copy, code plain text |
| `text-3` | `#BAC0C0` | Inactive rows, identifiers, secondary copy |
| `text-4` | `#6C7783` | Labels, paths, meta, comments |
| `text-5` | `#3A424C` | Line numbers, disabled |
### Accent — amber, reserved
`#E8913A` primary · `#C4741F` deep · `#F0B476` soft · `rgba(232,145,58,.10)` tint ·
`rgba(232,145,58,.22)` focus ring.
Amber is allowed **only** for: the active toolbar toggle (tint fill), the 2px selection
rule, the caret, keycap glyphs, the blinking period in the wordmark, the primary button
fill (ink text on amber, never white), the search-hit highlight, section markers, list
markers, links, and counts in the status bar. Never an amber panel, never an amber
heading.
### Light canvas (this board only)
`#EFF0EE` page · `#E5E7E4` spec card · `#CDD1CD` hairline · `#171C22` ink ·
`#3A424C` ink muted · `#6B7480` ink dim. The application itself is dark only.
### Syntax — eight colours, lifted but unsaturated
| Role | Hex |
|---|---|
| plain / punctuation | `#F1F3F2` |
| function / method name | `#A9C0E4` |
| class / type / CSS selector | `#EFBCB0` |
| variable / property | `#D4D9D8` |
| comment | `#828D9A` |
| keyword / operator / pseudo-class | `#D8BEE4` |
| string / value / type path | `#A8D6CB` |
| number / tag / hex literal | `#F8C793` |
No bold, no italic in code. Weight stays 400 so the column reads flat.
### Diff
- added: text `#8FBFB4`, fill `rgba(143,191,180,.12)`, 2px left rule `#8FBFB4`
- removed: text `#C4741F`, fill `rgba(196,116,31,.14)`, 2px left rule `#C4741F`
- counts in headers: `+1` in `#8FBFB4`, `−1` in `#C4741F` (real minus sign U+2212)
No green, no red anywhere. The diff reads on shape and on the 2px rule.
### Type
- `IBM Plex Mono` — 400/500/600/700. All labels, paths, code, keycaps, titles, numbers.
- `IBM Plex Sans` — 400/500. Rows, menu items, tooltips, buttons, running text.
| Role | Spec |
|---|---|
| Board display | Mono 700, 58px/1.02, `-0.04em` |
| Section title | Mono 700, 20px/1.2, `-0.02em` |
| Dialog title | Mono 700, 14px/1 |
| Section/panel label | Mono 700, 10px, `0.14em`, uppercase, `#6C7783` |
| Board label | Mono 700, 10–11px, `0.14em`, uppercase, `#6B7480` |
| Code | Mono 400, 13px / 20px line box |
| Search hit line | Mono 400, 12px / 24px line box |
| Path / meta / status bar | Mono 400, 11–12px |
| Keycap | Mono 600, 12px, padding 4px 6px, 1px `#232C39`, radius 2px, glyph `#E8913A` |
| Row label | Sans 400 13px (500 when selected) |
| Body copy | Sans 400, 14px/1.7, max 68ch |
| Tooltip | Sans 400, 12px/1.5 |
### Geometry
| Value | Where |
|---|---|
| 24px | Explorer / launcher-adjacent row height |
| 26px | Source-control row height |
| 28px | Status bar, state-specimen rows |
| 30px | Context-menu item height |
| 34px | Editor tab strip, markdown/code panel header |
| 44px | Title bar and toolbar |
| 20px | Code line box (13px type) |
| 2px | Radius: buttons, inputs, tags, keycaps, menus' inner rows, code blocks |
| 4px | Radius: panels, cards, menus |
| 8px | Radius: overlays (modals) only |
| 1px | Every hairline (`#232C39` on dark, `#CDD1CD` on light) |
| 2px | Accent rule: selection, focus border, pull-quote |
| 9999px | Traffic-light dots and avatars only |
Column widths in the workspace: source control 300 · explorer 288 · editor flex ·
agent 480 (the agent takes `flex: 1` when the editor is hidden). Agent terminal block 190px tall. Full frame 1760 × 1000.
### Elevation
Only two shadows exist:
- dropdown / context menu: `0 4px 16px rgba(23,28,34,.10)`
- overlay: `0 16px 48px rgba(23,28,34,.18)`
No ambient card shadow, no glow.
### Motion
Colour transitions only, 160ms `cubic-bezier(0.22,1,0.36,1)` (120ms on small controls).
The single exception is `blink`: a stepped 1.1s on/off (no fade) used for the caret, the
terminal block cursor and the amber period in the wordmark. No entrance animation, no
lift, no scale, no parallax.
---
## Screens
### 01 · Workspace (1760 × 1000)
Vertical stack: title bar 44px → body (flex row) → status bar 28px.
**Title bar** (`#18202B`, 1px bottom `#232C39`, padding 0 14px, gap 18px)
Traffic lights 12px (`#E8913A`, `#6C7783`, `#3A424C`, gap 8px) · wordmark
`helder` Mono 700 13px `#F4F5F4` with a blinking `.` in `#E8913A` · project `odynt`
Mono 12px `#6C7783` · `·` · branch `main` Mono 500 12px `#E8913A` · breadcrumb of the
open path in Mono 12px `#6C7783`, last segment `#F4F5F4` 600, `›` separators · the
pane-toggle group, centred · the toolbar group, right-aligned · `?` (26px square, 1px
`#232C39`, radius 2, Mono 600 12px `#6C7783`), 8px gap from the toolbar group.
**Button group** — one shared treatment for both header groups. Container: 1px
`#232C39`, radius 2, overflow hidden, no gap. Each button: padding 6px 10px, gap 7px,
Sans 500 12px/1, `white-space: nowrap`, 1px `#232C39` left divider (not on the first).
- On: fill `rgba(232,145,58,.10)`, label `#F4F5F4`, 6px round dot `#E8913A`.
- Off: no fill, label `#6C7783`, dot `#3A424C`.
- Action (not a toggle): no dot, label `#BAC0C0`.
- Shortcut, when shown: Mono 600 11px, no border — `#E8913A` when on or on an action,
`#6C7783` when off.
**Pane toggles** (centred: `position:absolute; left:50%; top:50%;
transform:translate(-50%,-50%)` inside the title bar) — Git · Explorer · File · Claude.
One per column, all on by default, no shortcut shown.
**Toolbar** (right) — Search ⌘F (action) · Auto-fit ⌘A (toggle, on) · Hidden ⌘.
(toggle, off). The old Git ⌘G toolbar button is removed; the
Git pane toggle replaces it.
**Source control column** (300px, `#18202B`, 1px right border)
Commit box: 52px `#101720` field, 1px `#232C39`, radius 2, placeholder
"Shift+Enter to commit" `#6C7783`; 34px push button `↑` beside it, same border.
Group header: Mono 700 10px `0.14em` uppercase `#6C7783`, count right in `#E8913A`
("STAGED CHANGES 4", "CHANGES 1"). Under each group the files are clustered per folder:
a 22px subhead carries `▤` plus the directory path in Mono 400 11px `#6C7783` —
one path per cluster, never repeated on the rows — and clusters are separated by an 8px
gap. Rows 26px: status letter (Mono 600 10px — staged
`#8FBFB4`, unstaged `#F0B476`) · 8px type badge · file name Sans 12px, ellipsised.
Footer line "4 staged · 1 unstaged" Mono 11px `#6C7783`.
**Explorer** (288px, `#18202B`) — 30px header ("EXPLORER" / project name), then 24px
rows. Indent 16px per level (12 · 28 · 44 · 60 · 76 padding-left). Collapsed `›`
`#6C7783`; expanded `⌄` `#E8913A`, its label `#F4F5F4`. File rows carry an 8px type
badge and, when dirty, a trailing `M` in `#8FBFB4`.
Type badge: Mono 600 8px, ink text `#101720` on a per-extension fill, radius 2,
padding 3px 4px — php `#C3A6CE` · md `#BAC0C0` · js `#F0B476` · css `#8FBFB4`.
**Editor** (flex, `#101720`) — 34px strip: "MODIFIED" label, `+1` / `−1` counts, then a
right-aligned segmented control (1px `#232C39`, radius 2, dividers 1px): Actual ·
Original · Diff · Split. Active segment = amber fill with `#171C22` text.
Code area: CSS grid `56px 1fr`, line box 20px, numbers right-aligned `#5A6472` with
14px right padding. **Indentation is padding-left on the code cell** (7.82px per space:
31.3 / 62.6 / 93.8 / 125.1) — do not ship non-breaking spaces.
**Agent panel** (480px, `#18202B`, 1px left border)
Header: 60px `#232C39` square (mark), then `Claude Code` Mono 700 14px + version in
`#6C7783`, model line Sans 12px `#BAC0C0`, cwd Mono 12px `#6C7783`.
Notice strip: fill `rgba(232,145,58,.10)`, `[ ! ]` Mono 600 12px `#E8913A`, sentence
Sans 12px, inline command in Mono `#F0B476`.
Transcript: user turn prefixed `›` in `#E8913A`, agent turn `◆` in `#6C7783`, text
Sans 13px/1.6. Tool calls sit in a `#101720` block, 1px `#232C39`: verb in `#8FBFB4`
(read) or `#F0B476` (write), target and counts `#6C7783`.
Prompt field: 44px, `#101720`, **2px `#E8913A` border + `0 0 0 2px rgba(232,145,58,.22)`
ring** (this is the focus treatment everywhere), `›` prefix, blinking 1px caret.
Status line: Mono 11px `#6C7783`; project chip = amber fill with `#171C22` text;
`▸▸ auto mode` in `#E8913A`; slash hint right.
Terminal: 190px, `#101720`, Mono 12px/1.7 — `[main]` `#8FBFB4`, `[~/path]$` `#6C7783`,
output `#6C7783`, 7×14px blinking amber block cursor.
**Status bar** (28px, `#18202B`) — `⑂ main` in `#E8913A`, `+16` `#8FBFB4`, `−12`
`#C4741F`, then right-aligned path · Ln/Col · UTF-8 · LF · language (`#BAC0C0`).
### 02a · Search (⌘F)
Overlay: flat ink scrim `rgba(16,23,32,.72)` (no blur), 34px inset, panel `#18202B`,
1px `#232C39`, radius 8, overlay shadow.
- Query bar 54px: `⌕` `#E8913A`, query Mono 500 16px `#F4F5F4`, blinking caret; right
side = extension filters (active = amber fill + ink text; inactive = 1px border,
`#BAC0C0`) and a Mono 11px result summary `#6C7783` behind a 1px left divider.
- Three columns: **this file** (230px) · **project** (flex) · **files** (250px), split by
1px borders. Column headers are the standard 10px mono labels; the focused column's
header is `#E8913A` with a count chip (amber fill, ink text).
- Result group header: type badge + path Mono 12px `#BAC0C0`, hit count right `#6C7783`.
- Hit lines: grid `64px 1fr`, line box 24px. Match run = amber fill with `#171C22` text
on the selected row, `#F0B476` text elsewhere. Selected row: `#232C39` fill, 2px amber
left rule, and the line number lifts to `#E8913A` (never leave it at `#3A424C`).
- Empty column state: one plain sentence, Sans 12px `#6C7783` ("No matches in this
file." / "No file names match."). No illustration.
- Footer 38px: key hints (`⌘←`/`⌘→` column, `⌘↑`/`⌘↓` row, `↵` open) with amber glyphs,
`esc` chip right.
### 02b · Keyboard shortcuts (`?`)
Same overlay shell. 50px header with `◇` `#E8913A` + "Keyboard shortcuts" + `esc` chip.
Body groups (`NAVIGATE`, `AGENT`, `GIT`, `FILE`) each a 10px mono label, then a
`92px 1fr` grid: keycap cluster left (gap 4px), description Sans 13px `#E4E7E6` right,
6px vertical padding per row.
### 02d · Project launcher
Window `#101720` with only traffic lights (34px), no title bar. Centred panel on
`#18202B`, radius 8, overlay shadow, top-aligned with 20px/40px padding.
Header: `◆` amber + wordmark with blinking period + "Open a project to begin" Sans 12px
`#6C7783`. Then a 46px "Open new project…" row with `+` amber and an `↵` chip.
`RECENT` label, then 38px rows: `▤` icon, name Sans 500 13px, path Mono 11px `#6C7783`.
Selected row: `#232C39`, 2px amber left rule, icon and path lift one step.
Footer 36px: `⌘↑↓ navigate · ↵ open`.
### 03 · Expanded diff (1760 × 620)
Own window: 42px title bar (traffic lights, path Mono 500 12px `#F4F5F4`, "MODIFIED",
`+1` / `−1`, "staged → actual" Mono 11px `#6C7783`, and a right-aligned
"Collapse `esc`" button with 1px border).
Two panes split by a 1px border; each has a 30px header — left `ORIGINAL` + "before"
`#3A424C`, right `UPDATED` in `#E8913A` + "after".
Panes are grids `52px 1fr`, line box 22px, indentation as padding-left, and **identical
line numbering in both panes** so the eye can travel across. Changed row gets the fill,
the 2px left rule and a lifted number colour.
### 04 · Small surfaces
**Context menu** (explorer and source control) — 320px, `#18202B`, 1px `#232C39`,
radius 4, dropdown shadow, 8px vertical padding. First a path header (Mono 11px
`#6C7783`, 1px bottom border). Items 30px, Sans 13px `#BAC0C0`, icon `#6C7783`.
Highlighted item: `#232C39` fill, 2px amber left rule, label `#F4F5F4` 500, icon amber.
Destructive item ("Delete file", "Discard changes"): `#C4741F` label. Groups separated
by a 1px rule with 6px margins.
Explorer items: Pass on reference · Copy reference · Pass on file name · Copy file name
| Rename file · Show in Finder · Delete file.
Source-control items: Pass on reference · Copy reference | Stage changes · Open diff ·
Discard changes.
**Pass on to agent** — 460px panel, 14px padding, gap 12. Title row (`◇` amber +
Mono 700 13px + `esc` chip), a focused 38px input (2px amber border + ring, blinking
caret), then an INSERTS preview: 10px mono label + the composed string on an amber fill
with `#171C22` text, radius 2, ellipsised. Footer hint `↵ insert into agent · esc cancel`
with amber glyphs.
**Tooltip** — `#232C39` surface, 1px `#3A424C`, radius 2, padding 8px 10px, max 300px,
Sans 12px/1.5 `#E4E7E6`. No arrow, no shadow. The current state is named inside the
sentence in amber ("Hidden files: *hidden* — …", "Auto-fit panels: *on* — …"), then one
sentence saying what a click does.
**Markdown Actual / Preview** — same 34px header on both halves; the segmented control's
active side is the amber fill. Actual = the code grid (`44px 1fr`, line box 20px) with
`##` headings in `#F0B476`. Preview: 18px/20px padding, max 68ch, Sans 13px/1.7 body,
Mono 700 headings with a 1px `#232C39` underline.
### 06 · Code colours and markdown preview
Four specimens at 620px: a JS module, a PHP class, a CSS file and the full markdown
preview. Each panel: 34px header with type badge, path Mono 500 12px, and a right
language label (or the Actual/Preview control).
The markdown preview is the reading surface, so it is the one place where Sans body copy
gets room:
- eyebrow: 10px mono label `#6C7783`
- h2: Mono 700 24px/1.1, `-0.03em`, `#F4F5F4`
- h3: Mono 700 17px/1.2 with a 1px `#232C39` underline, 8px below the text
- paragraph: Sans 14px/1.7 `#E4E7E6`, max 68ch, `text-wrap: pretty`
- list: flex rows, gap 10, `—` marker in `#E8913A` (never a bullet, never an emoji)
- inline code: Mono 13px `#F0B476` on `#18202B`, 1px `#232C39`, radius 2, padding 1px 5px
- block quote: 2px amber left rule, 16px left padding, Sans *italic* 15px `#F0B476`
- code block: `#18202B`, 1px `#232C39`, radius 2, padding 14px 16px, Mono 13px/20px,
syntax palette as above
- table: 1px `#232C39` container, radius 2; header row on `#18202B` with 10px mono
labels; body rows Sans 13px `#BAC0C0`, cells 10px 14px, 1px row rules; state words use
`#8FBFB4` (done) and `#E8913A` (open)
- link: `#E8913A` with a 1px `#232C39` bottom border; hover lifts the text to `#F4F5F4`
and the border to `#E8913A`. `→` marks forward action.
---
## Interactions and behaviour
| Trigger | Result |
|---|---|
| `⌘F` | Search overlay, query seeded from the editor selection |
| `⌘↑` / `⌘↓` | Move the row cursor in the focused list |
| `⌘←` / `⌘→` | Move focus between search columns |
| `↵` | Open the selected row (search hit, file, recent project) |
| `⌘→` (editor) | Pass the current selection to the agent |
| `⌘M` | Cycle Actual · Original · Diff · Split |
| `⌘C` / `⌘↵` / `⌘P` (git) | Focus commit message / commit staged / push branch |
| `⌘A` | Toggle auto-fit panels (columns re-fit on resize and focus) |
| `⌘.` | Toggle hidden dotfiles in tree and search |
| `⌘G` | Show or hide the source-control column (same as the Git pane toggle) |
| Pane toggle click | Show or hide that column — see below |
| `⌘S` / `⌘W` / `⌘D` | Save / close / delete (confirm) the current file |
| right-click a row | Context menu, anchored to the pointer, first item pre-highlighted |
| `esc` | Close the top overlay, menu or prompt; never more than one |
**Pane visibility — strictly visibility.** A pane toggle only hides or shows its
column. It must never unmount, re-create or reset what is inside it:
- Keep every column mounted; hide with `display: none` (or equivalent), not by removing
it from the tree or rendering conditionally.
- The Claude Code session, the terminal process and its scrollback, the prompt draft,
the explorer's expanded state, the editor buffer, cursor and scroll position all
survive any number of hide/show cycles.
- No session restart, no PTY respawn, no re-fetch when a column comes back.
- Remaining columns reflow: the editor (flex) absorbs freed width; when the editor is
hidden the agent column grows to fill. All four may be off at once; the body then
shows the editor background.
- Persist the four flags per project.
Rules that hold everywhere:
- Exactly one overlay at a time, on a flat ink scrim. Overlays never stack.
- Hover changes fill one step and nothing else. No lift, no scale, no shadow, no opacity.
- Press holds the hover colour. Nothing shrinks.
- Focus is always the 2px amber border plus the 2px 22% ring. Never remove it.
- Disabled is 40% opacity plus `cursor: not-allowed`, no recolouring.
- Empty and error states are one plain sentence starting with an em dash. No icon, no
apology, no exclamation mark.
## State
- `project` — path, branch, recent list (persisted)
- `openFile` — path, language, dirty flag, cursor line/col, view mode
(`actual|original|diff|split`)
- `tree` — expanded paths, selected path, `showHidden`
- `git` — staged[], unstaged[], commit message draft, ahead/behind counts
- `agent` — model, session, transcript, prompt draft, pending tool calls, auth notices
- `overlay` — `null | search | shortcuts | diff | launcher | menu | passOn`
- `panels` — column widths, `autoFit`, and `visible: { git, explorer, file, claude }`
(all `true` by default, persisted per project)
Search runs per keystroke against three indexes (open file, project contents, file
names) and reports counts per column; a query with no hits leaves the columns in their
empty state rather than collapsing them.
## Assets
None. No images, no illustrations, no photography. Icons come from Lucide
(`lucide@0.544.0`, stroke width 1.75); the Unicode glyphs in the mock are placeholders.
Fonts are IBM Plex Mono and IBM Plex Sans (currently from Google Fonts — swap in local
woff2 for a desktop build).
## Files
- `Helder IDE.dc.html` — the design board: all screens, one canvas, real sizes
- `tokens/*.css` — the Kade token files the board is built on (colour, type, spacing,
radius, elevation, motion, fonts)
- `styles.css` — the token entry point
- `support.js` — the runtime the board needs to open in a browser (not part of the design)
Open `Helder IDE.dc.html` in a browser. The board is inert except for the four pane
toggles in the workspace title bar, which demonstrate the hide/show behaviour.
-8
View File
@@ -1,8 +0,0 @@
@import url("tokens/fonts.css");
@import url("tokens/colors.css");
@import url("tokens/typography.css");
@import url("tokens/spacing.css");
@import url("tokens/radius.css");
@import url("tokens/elevation.css");
@import url("tokens/motion.css");
@import url("tokens/base.css");
-23
View File
@@ -1,23 +0,0 @@
*,
*::before,
*::after { box-sizing: border-box; }
body {
margin: 0;
background: var(--color-stone);
color: var(--color-ink-body);
font-family: var(--font-body);
font-size: var(--text-base);
font-weight: var(--weight-body);
line-height: var(--leading-normal);
-webkit-font-smoothing: antialiased;
}
a { color: var(--color-amber-deep); text-decoration-color: var(--color-stone-rule); text-underline-offset: 3px; transition: var(--transition-color); }
a:hover { color: var(--color-ink-body); text-decoration-color: var(--color-ink-dim); }
[data-surface="slate"] a { color: var(--color-amber); }
[data-surface="slate"] a:hover { color: var(--color-neutral-1); }
::selection { background: var(--color-amber-ring); color: var(--color-ink-body); }
:focus-visible { outline: 2px solid var(--color-amber); outline-offset: 2px; }
-66
View File
@@ -1,66 +0,0 @@
/* Kade palette — cool stone paper, slate-ink dark punctuation, amber as the only accent. */
:root {
/* Stone — the default canvas. Cool, quarried, never white. */
--color-stone: #EFF0EE;
--color-stone-2: #E5E7E4;
--color-stone-3: #D8DBD7;
--color-stone-rule: #CDD1CD;
/* Ink ramp — text on stone. */
--color-ink-body: #171C22;
--color-ink-muted: #3A424C;
--color-ink-dim: #6B7480;
/* Slate — the sparing dark surface. One or two blocks per page. */
--color-slate: #101720;
--color-slate-2: #18202B;
--color-slate-3: #232C39;
/* Neutral ramp — text on slate. Pure white does not exist in this system. */
--color-neutral-1: #F4F5F4;
--color-neutral-2: #E4E7E6;
--color-neutral-3: #BAC0C0;
--color-neutral-4: #6C7783;
/* Amber — the single accent. Reserved for action, state and signal. */
--color-amber: #E8913A;
--color-amber-deep: #C4741F;
--color-amber-soft: #F0B476;
--color-amber-tint: rgba(232, 145, 58, 0.10);
--color-amber-ring: rgba(232, 145, 58, 0.22);
/* Semantic aliases — prefer these in component code. */
--surface-page: var(--color-stone);
--surface-card: var(--color-stone-2);
--surface-card-hover: var(--color-stone-3);
--surface-dark: var(--color-slate);
--surface-dark-card: var(--color-slate-2);
--text-body: var(--color-ink-body);
--text-muted: var(--color-ink-muted);
--text-dim: var(--color-ink-dim);
--text-accent: var(--color-amber-deep);
--text-on-accent: var(--color-ink-body);
--border-hairline: var(--color-stone-rule);
--border-strong: var(--color-ink-muted);
--action-fill: var(--color-amber);
--action-fill-hover: var(--color-amber-deep);
--focus-ring: var(--color-amber-ring);
--focus-border: var(--color-amber);
--signal-error: var(--color-amber-deep);
}
/* Slate scope — inside a dark block the ramps invert. Apply to the block, not the page. */
[data-surface="slate"] {
--surface-page: var(--color-slate);
--surface-card: var(--color-slate-2);
--surface-card-hover: var(--color-slate-3);
--text-body: var(--color-neutral-1);
--text-muted: var(--color-neutral-2);
--text-dim: var(--color-neutral-4);
--text-accent: var(--color-amber);
--border-hairline: var(--color-slate-3);
--border-strong: var(--color-neutral-3);
}
-8
View File
@@ -1,8 +0,0 @@
/* Elevation is carried by the stone ramp, not by shadow. Shadows exist only for layers that
cross the page plane (dropdown, modal) and for the amber focus ring. */
:root {
--shadow-none: none;
--shadow-dropdown: 0 4px 16px rgba(23, 28, 34, 0.10);
--shadow-modal: 0 16px 48px rgba(23, 28, 34, 0.18);
--ring-focus: 0 0 0 2px var(--color-amber-ring);
}
-10
View File
@@ -1,10 +0,0 @@
/* Kade type stack — IBM Plex Mono (display + labels) and IBM Plex Sans (body + UI).
No licensed binaries shipped with the source skills, so the families load from Google Fonts.
Replace this @import with local @font-face rules once real woff2 files are supplied. */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap");
:root {
--font-display: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
--font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
--font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
-10
View File
@@ -1,10 +0,0 @@
/* Colour shifts only. Kade never translates, lifts, or scales on hover. */
:root {
--ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
--duration-fast: 120ms; /* @kind other */
--duration-base: 160ms; /* @kind other */
--duration-slow: 260ms; /* @kind other */
--transition-color: color var(--duration-base) var(--ease-out),
background-color var(--duration-base) var(--ease-out),
border-color var(--duration-base) var(--ease-out);
}
-11
View File
@@ -1,11 +0,0 @@
/* Kade is rectangular. A rounded card is an antipattern. */
:root {
--radius-none: 0px;
--radius-sm: 2px;
--radius-md: 4px;
--radius-lg: 8px;
--radius-full: 9999px;
--border-width: 1px;
--border-width-accent: 2px;
}
-21
View File
@@ -1,21 +0,0 @@
/* 4px base step. Section rhythm is deliberately generous; the calm comes from air, not decoration. */
:root {
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 20px;
--space-6: 24px;
--space-8: 32px;
--space-10: 40px;
--space-12: 48px;
--space-16: 64px;
--space-20: 80px;
--space-24: 96px;
--gutter: var(--space-6);
--section-y: var(--space-24);
--section-y-tight: var(--space-16);
--container: 1140px;
--measure: 68ch;
}
-31
View File
@@ -1,31 +0,0 @@
/* One scale for display (Plex Mono 700) and body (Plex Sans). Line-height tightens as size grows. */
:root {
--text-2xs: 10px;
--text-xs: 11px;
--text-sm: 13px;
--text-base: 15px;
--text-md: 17px;
--text-lg: 20px;
--text-xl: 24px;
--text-2xl: 32px;
--text-4xl: 44px;
--text-6xl: 58px;
--text-7xl: 76px;
--leading-display: 1.02;
--leading-tight: 1.15;
--leading-snug: 1.3;
--leading-normal: 1.6;
--leading-loose: 1.7;
/* Plex Mono display tracking is negative; label tracking is wide. */
--tracking-display: -0.04em;
--tracking-heading: -0.02em;
--tracking-normal: 0;
--tracking-label: 0.14em;
--weight-body: 400;
--weight-medium: 500;
--weight-semibold: 600;
--weight-display: 700;
}
File diff suppressed because it is too large Load Diff
+319
View File
@@ -0,0 +1,319 @@
# Handoff: Helder App v2 — full-screen Git view
## Overview
Helder is a desktop IDE shell for one developer working with Claude Code. It has a title bar, an Explorer (file tree), a File editor, a Claude transcript with prompt and terminal, a status bar, plus overlays for search and file diff.
**v2 replaces the old 264px Git sidebar with a full-screen Git view.** Press **⌘G** to toggle it. The view covers the whole window, the same way the file diff overlay does. In it the user can:
- see staged, changed, new (untracked) and deleted files, each in its own colour-coded section, with **Staged always on top**
- expand any file to see an inline side-by-side diff with collapsed context
- stage, unstage, discard, delete or restore files one at a time or in bulk
- write a commit message and commit, or commit and push
- pull and push, with ahead/behind counts
- read the real git commands and their output in a **console**, and type git commands there
- see local and remote **branches** and switch between them, but only when the working tree is clean
Everything outside the Git view works as it did in v1 (Explorer, File, Claude, terminal, search, diff, menus, modals). The only exceptions are the changed shortcuts listed below.
## About the design files
The files in this bundle are **design references created in HTML**. They are prototypes that show the intended look and behaviour; they are not production code to copy. The task is to **recreate this design in Helder's real codebase**, using its existing framework, state management and git layer. If no environment exists yet, pick the best fit; for a desktop IDE shell that is likely Electron or Tauri, with React and a real git backend such as `simple-git`, `isomorphic-git` or shelling out to `git`.
The prototype fakes git: file contents live in memory, and console output is simulated. The real build must run real git commands and stream their real stdout and stderr into the console.
## Fidelity
**High-fidelity.** Colours, type, spacing, states and copy are final. Recreate them pixel-precisely with the codebase's own components. The visual language is the Blijnder **Kade** design system in its dark (slate) application: IBM Plex Mono and IBM Plex Sans, flat fields, 2px radii, amber as the only accent, no shadows except on menus and modals.
---
## Keyboard shortcuts (v2)
| Key | Action |
|---|---|
| ⌘G / Ctrl+G | Open or close the Git view |
| ⌘1 / ⌘2 / ⌘3 | Toggle Explorer / File / Claude (in v1 this was ⌘1–4, with Git on ⌘1) |
| ⌘F | Search the project |
| ⌘L | Fluid (soft wrap) |
| ⌘. | Show hidden files |
| ⌘N | Scratch note |
| ⌘↵ (in the commit message) | Commit |
| ↑ (in the console input) | Recall the last command |
| Esc | Closes the topmost layer, in this order: context menu → modal → search → file diff → Git view → interrupts Claude |
The title-bar panel toggle group now reads `Git N · Explorer · File · Claude`. **N** is the number of changed files, and the Git button's dot is amber while the view is open.
---
## Screen: Git view (full screen)
A `position: fixed; inset: 0` layer, `z-index: 44`, background `#101720`, min-width 900px, laid out as a flex column. It sits above the app shell and below the file diff overlay (45), context menu (60/61), modal (70) and toast (80). This lets the confirm modals and the commit menu appear on top of it.
From top to bottom:
### 1. Top bar — 44px
- Background `#18202B`, bottom border `1px #232C39`, padding `0 14px`, flex row, gap 14px, items centred.
- **`[ GIT ]`**: Plex Mono 700, 11px, letter-spacing .14em, uppercase, `#828D9A`.
- **Branch**: Lucide `git-branch` icon at 13px, then the branch name. Plex Mono 500, 12px, `#E8913A`, truncated with an ellipsis.
- **Sync label**: Plex Mono 400, 12px, `#828D9A`. Text is `2 behind origin`, `1 ahead · 2 behind origin`, or `in sync with origin`.
- A flex spacer, then three buttons, each 28px tall:
- Shared style: padding `0 11px`, border `1px #232C39`, radius 2px, transparent background, Plex Sans 500 12px `#BAC0C0`, icon 14px, gap 7px.
- Hover: text `#F4F5F4`, border `#3A424C`.
- **Pull**: icon `arrow-down-to-line`, label `Pull` (`Pulling…` while busy), then the count `↓2` in Plex Mono 600 11px `#E8913A`. The count is hidden when 0.
- **Push**: icon `arrow-up-from-line`, label `Push` (`Pushing…` while busy), then the count `↑1` in the same amber style.
- **Close**: icon `minimize-2`, label `Close`, then the key hint `⌘G` in amber mono 11px.
### 2. Commit block
- Background `#18202B`, bottom border `1px #232C39`.
- **Message textarea**: full width, auto-grows (`field-sizing: content`) from 56px up to 180px.
- Background `#101720`, no border except a `1px #232C39` bottom border, which turns `#E8913A` on focus.
- Padding `14px 16px`, Plex Mono 400, 14px / 1.6, colour `#F4F5F4`, caret `#E8913A`.
- Placeholder: `Commit message`. The field gets focus when the Git view opens.
- **Footer row**: 52px tall, padding `0 14px 0 16px`, gap 16px.
- Author `Jonathan van Rij <jonathan@blijnder.nl>` in Plex Mono 12px `#828D9A`. In the real build, read this from `git config user.name` and `user.email`.
- Hint `⌘↵ commits` in Plex Mono 12px `#6C7783`.
- A spacer, then a **split button**, radius 2px, 32px tall:
- Main part: min-width 160px, padding `0 18px`, Plex Sans 600 13px.
- Label: `Commit N file(s)`, or `Nothing staged` when nothing is staged.
- Ready state (≥1 staged file **and** a non-empty message): background `#E8913A`, text `#101720`.
- Otherwise: background `#232C39`, text `#828D9A`. It stays clickable, so git's own error appears in the console.
- Caret part: 32×32px, `chevron-down` icon at 14px, separated from the main part by a `1px #101720` left border. It opens a context menu with `Commit` (icon `check`) and **`Commit and push`** (icon `arrow-up-from-line`, bold).
- Hover on either part: `filter: brightness(.92)`. (Real build: use amber-deep `#C4741F` instead, per Kade.)
### 3. File sections (scrolling area, `flex: 1`, padding-bottom 24px)
Sections appear in this fixed order, and only when they contain files:
| Section | Contains | Colour | Tint (header background) | Bulk actions (left column · right column) | Row actions (left · right) |
|---|---|---|---|---|---|
| **STAGED** | every staged path, any status | `#E8913A` | `rgba(232,145,58,.08)` | — · Unstage all | — · Unstage |
| **CHANGED** | unstaged, modified | `#F0B476` | `rgba(240,180,118,.06)` | Discard all · Stage all | Discard · Stage |
| **NEW · UNTRACKED** | unstaged, added | `#8FBFB4` | `rgba(143,191,180,.06)` | Delete all · Stage all | Delete · Stage |
| **DELETED** | unstaged, deleted | `#C3A6CE` | `rgba(195,166,206,.06)` | Restore all · Stage all | Restore · Stage |
The section right after Staged gets `margin-top: 28px` and a `1px #232C39` top border, which visually separates staged from unstaged work.
If there are no changes at all, the area shows only: `— No changes. The working tree is clean.` (Plex Sans 13px / 1.6, `#828D9A`, padding `24px 16px`).
**Section header**: 46px tall, padding `0 14px 0 11px`, a `3px` left border in the section colour, the tint background, and a `1px #232C39` bottom border. Hover background is `#18202B`. Clicking it collapses or expands the section. From left to right:
- Chevron at 14px: `chevron-down` in `#E8913A` when open, `chevron-right` in `#6C7783` when closed.
- Label: Plex Mono 700, 11px, .14em, uppercase, in the section colour.
- Count badge: Plex Mono 600 11px, text `#101720` on the section colour, radius 2px, padding `3px 6px`.
- A spacer, then the **actions table**.
**Actions table** (identical in headers and rows, so the buttons line up as columns): a CSS grid `grid-template-columns: 100px 100px; gap: 6px`. When a section has only one action (Staged), the left cell is an empty spacer, so `Unstage` always sits in the right column.
- **Header buttons**: 100×28px, border `1px #3A424C`, radius 2px, transparent background, Plex Sans 500 12px. Hover: border `#6C7783`, background `#232C39`.
- **Row buttons**: 100×26px, border transparent, background transparent. Hover: border `#3A424C`, background `#232C39`, text `#F4F5F4`.
- **Text colour**: destructive actions (Discard, Delete, and their "all" versions) use `#F0B476`; all others use `#BAC0C0`.
- Buttons stop propagation, so clicking one never expands the row.
**File row**: 36px tall, padding `0 14px 0 11px`, gap 10px, row bottom border `1px #232C39`.
- A 3px left border: `#E8913A` for rows in Staged, transparent elsewhere.
- Background `#18202B` when expanded, transparent otherwise. Hover background is `#1F2834`.
- Click toggles the inline diff; right-click opens the context menu (below).
- From left to right:
1. Chevron at 13px: `chevron-down` in `#E8913A` when expanded, otherwise `chevron-right` in `#6C7783`.
2. **Status badge**: 18×18px, radius 2px, filled with the status colour (M `#F0B476`, A `#8FBFB4`, D `#C3A6CE`), letter in Plex Mono 700 11px `#101720`. Tooltip: Modified / New file / Deleted.
3. **Path**: flex 1, ellipsis, Plex Mono 400 13px. The directory part plus `/` is `#828D9A`; the file name is `#F4F5F4`. Deleted files have a `line-through` and the name in `#828D9A`.
4. **Stats**, placed just left of the actions table:
- `+N` in a 52px right-aligned cell, Plex Mono 500 12px `#8FBFB4`.
- `−N` in a 52px right-aligned cell, Plex Mono 500 12px `#F0B476`, padding-right 8px. Use a real minus sign `−`.
5. The actions table.
**Row context menu**:
- `Open in editor` (bold, icon `file-text`; not shown for deleted files): closes the Git view and opens the file.
- Separator.
- `Pass on reference` (icon `sparkle`): closes the Git view and inserts `@path` into the Claude prompt.
- `Copy reference` (icon `files`).
### 4. Inline diff (inside an expanded row)
- A `1px #232C39` top border, padding `8px 0 12px`, Plex Mono 400 13px / 22px.
- Each line is a two-column grid, `minmax(0,1fr) minmax(0,1fr)`. Left is the last commit, right is the working tree. The left cell has a `1px #232C39` right border.
- **Each cell**:
- Line-number column: 52px wide, right-aligned, padding-right 12px, `user-select: none`.
- Code: `white-space: pre-wrap; word-break: break-word; tab-size: 4`, colour `#E4E7E6`.
- **Line types**:
| Type | Background | Line-number colour |
|---|---|---|
| Unchanged | transparent | `#3A424C` |
| Removed (left) | `rgba(232,145,58,.12)` | `#F0B476` |
| Added (right) | `rgba(143,191,180,.12)` | `#8FBFB4` |
| Empty filler (the side with no line) | `rgba(35,44,57,.35)` | — |
- **Intra-line highlight**: when a removed line is paired with an added line, compute their common prefix and suffix. Highlight the differing middle with a background of `rgba(232,145,58,.38)` on the left and `rgba(143,191,180,.36)` on the right. If they share no prefix or suffix, there is no highlight.
- **Hunking**: keep 3 lines of context around each change. Collapse any other run of unchanged lines into one separator row:
- 28px tall, `margin: 6px 0`, background `#18202B`, padding-left 64px.
- Text: `⋯ N unchanged lines` in Plex Mono 11px `#6C7783`.
- Added files show everything on the right; deleted files show everything on the left.
- The prototype uses an LCS line diff (`diffOps`). In production, use `git diff` hunks (`--unified=3`), or a proper diff library, and pair `-`/`+` runs line by line.
### 5. Bottom strip — 230px, split 50/50
- Background `#18202B`, top border `1px #232C39`.
- `display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr)`. The left half has a `1px #232C39` right border.
**Left — Console**
- **Header**: 32px tall, padding `0 12px 0 16px`.
- `[ CONSOLE ] GIT` in Plex Mono 700 10px, .14em, uppercase, `#6C7783`.
- Busy label: `→ pushing to origin…` or `→ pulling from origin…` in 12px `#E8913A`.
- A spacer, then the clear button (icon `eraser` at 14px, `#828D9A`, hover `#F4F5F4`).
- **Log**: scrolls, auto-scrolls to the bottom on every new line, padding `0 16px 12px`, Plex Mono 12px / 1.6, `pre-wrap`, `tab-size: 4`, max 400 lines kept.
- Command lines: `$ git …` in `#F4F5F4`.
- Normal output: `#BAC0C0`.
- Errors and rejections: `#E8913A`.
- Hints: `#828D9A`.
- Staged paths in `status`: `#8FBFB4`; unstaged and untracked paths: `#F0B476`.
- **Input line**: prompt `$ git` in `#8FBFB4`, then an input with no border, Plex Mono 12px `#F4F5F4`. Placeholder: `status · add -A · commit -m "…" · push · pull · log`. Clicking anywhere in the console focuses it, unless the user is selecting text. Enter runs the command; ↑ recalls the last one; `clear` empties the log. A leading `git ` is optional.
**Every UI action logs the exact git command it ran.** The prototype supports these commands, and the real build should simply run git:
- `status`
- `add <path|.|-A>`
- `restore --staged <path|.>`
- `restore <path>`
- `clean -f <path>`
- `commit -m "…"`
- `push`
- `pull`
- `log`
- `diff [--staged]`
- `branch [-a]`
- `switch <name>` / `checkout <name>`
**Right — Branches**
- **Header**: 32px tall, padding `0 16px`.
- `[ BRANCHES ]` in the same style as the console header.
- Right side, 12px mono: `clean · click to switch` in `#828D9A`, or `— N uncommitted files · switching locked` in `#F0B476`.
- **List**: scrolls, with two groups. Group labels are Plex Mono 700 10px, .14em, uppercase, `#6C7783`, padding `8px 16px 4px`:
- **LOCAL**: local branches.
- **REMOTE · ORIGIN**: `origin/*` branches.
- **Branch row**: 28px tall, padding `0 16px 0 13px`, a 3px left border, gap 10px, hover background `#232C39`. From left to right:
- Icon at 13px: `git-branch` for local branches, `cloud` for remote ones.
- Name: Plex Mono 12px, ellipsis.
- Meta text: 11px `#6C7783`.
- Action text: 11px Plex Mono 600 `#E8913A`.
- **States**:
| State | Left border | Background | Name | Icon | Meta | Action | Cursor / opacity |
|---|---|---|---|---|---|---|---|
| Current | `#E8913A` | `rgba(232,145,58,.08)` | 600, `#F4F5F4` | `#E8913A` | `current` | — | default cursor |
| Other, tree clean | transparent | transparent | 400, `#BAC0C0` | `#6C7783` | `tracked` on remotes that already have a local branch | `switch →`, or `checkout →` for a remote with no local branch | pointer |
| Other, tree dirty | transparent | transparent | 400, `#BAC0C0` | `#6C7783` | — | — | 40% opacity, `not-allowed` cursor |
Tooltip on the dirty state: `Commit or discard your changes first`.
- **Switch rules**:
- "Dirty" means there is at least one changed file, staged or not.
- Clicking a branch while dirty only shows the toast `— Commit or discard N files before you switch.` Typing `git switch` while dirty logs git's real error: `error: Your local changes to N files would be overwritten by checkout.` / `Please commit your changes or stash them before you switch branches.` / `Aborting`.
- When clean, switching to a local branch runs `git switch <name>`.
- Switching to a remote branch with no local branch runs `git switch <name>`, which auto-creates a tracking branch. It logs `branch '<name>' set up to track 'origin/<name>'.` and `Switched to a new branch '<name>'`, then adds the branch to the local list.
- After a switch: the title bar, status bar and Git top bar show the new branch; ahead/behind are recalculated; expanded diffs are cleared; a toast reads `Switched to <name>`.
---
## Interactions & behaviour
**Stage / unstage**
- Stage runs `git add <paths>`; when all unstaged paths are staged at once, it logs `git add -A`.
- Unstage runs `git restore --staged <paths>`, or `.` when everything is unstaged.
- Each file moves between sections immediately.
**Discard / delete / restore**
- Modified files: `git restore <paths>`. New files: `git clean -f <paths>`, which logs `Removing <path>` per file.
- Modified and new files open a confirm modal first:
- Title: `Discard changes to <path|N files>?`, or `Delete <path|N files>?` when every file is new.
- Body: `This reverts to the last commit and cannot be undone.`, or `New files are removed from disk. This cannot be undone.` when the batch includes new files.
- Confirm button: `Discard` or `Delete` (amber). Enter confirms, Esc cancels.
- Restoring deleted files is not destructive, so it runs at once without a modal.
**Commit**
- Validation runs through git and shows in the console:
- Nothing staged: `no changes added to commit (use "git add" and/or "git commit -a")`, or `nothing to commit, working tree clean`.
- Empty message: `Aborting commit due to empty commit message.`, and the message field gets focus.
- On success the console shows:
- `[<branch> <sha>] <first line>`
- ` N files changed, X insertions(+), Y deletions(-)`
- ` create mode 100644 <path>` / ` delete mode 100644 <path>` for added and deleted files
- After a commit: the message clears, the staged section disappears, ahead increases by 1, and the commit is added to `git log`.
- **Commit and push** pushes right after a successful commit.
**Push**
- Ahead 0: `Everything up-to-date`.
- Behind > 0: rejected (all in `#E8913A` except the hints):
- ` ! [rejected] <br> -> <br> (fetch first)`
- `error: failed to push some refs to '…'`
- Two hint lines in `#828D9A`: `hint: Updates were rejected because the remote contains work that you do not` / `hint: have locally. Pull first, then push again.`
- Otherwise the console shows the real progress output (`Enumerating…`, `Writing objects…`, `To …`) and ends with ` <old>..<new> <br> -> <br>` in `#8FBFB4`. Then ahead becomes 0 and a toast confirms.
- While busy the button reads `Pushing…` and further push/pull clicks are ignored.
**Pull**
- Behind 0: `Already up to date.`
- Otherwise: `From …`, then a fast-forward (`Updating a..b`, `Fast-forward`, and a diffstat), or `Merge made by the 'ort' strategy.` when ahead > 0, which creates a merge commit. Then behind becomes 0 and a toast reads `Pulled N commits from origin/<br>`.
- In the real build, refresh the file list after a pull.
**Other details**
- On open, the prototype seeds the console with `git fetch origin` output; this is what makes it show "2 behind". In the real build, run a background fetch when the view opens, or every few minutes, to keep the ahead/behind counts honest.
- Toasts appear at the bottom centre: background `#232C39`, border `1px #3A424C`, radius 2px, Plex Mono 13px, prefix `→ ` in amber, hidden after 2.4s.
- **Motion**: colour transitions only, 120–160ms on `cubic-bezier(0.22,1,0.36,1)`. Nothing slides or scales.
## State (Git view)
```
gitOpen: boolean // ⌘G
gitSec: { [sectionKey]: boolean } // false = collapsed (default: open)
gitOpenFiles: string[] // expanded rows, key = `${section}:${path}`
commitMsg: string
staged: string[] // staged paths (real build: from `git status --porcelain=v2`)
files: { [path]: { orig, content } } // prototype only — replace with git status + git diff
BR: string // current branch
branches: string[]; remotes: string[] // `git branch`, `git branch -r`
ahead: number; behind: number // `git rev-list --left-right --count HEAD...@{u}`
commits: { sha, msg }[]
gBusy: null | 'push' | 'pull'
glog: { t: string, c: color }[] // console lines, cap 400
gInput: string; gHist: string[] // console input + history
```
**Derived values**:
- File status: M if `orig ≠ content`, A if `orig === null`, D if `content === null`.
- `unstaged` = changed minus staged. Sections come from status plus staged membership.
- `dirty` = changed.length > 0; it locks branch switching.
## Design tokens used
- **Slate surfaces**:
- `#101720`: page, editor, diff, message field
- `#18202B`: bars, panels, expanded row, separators
- `#1F2834`: row hover
- `#232C39`: rules, hover fills, disabled button
- `#2B3544`: menu border
- `#3A424C`: strong rule, button border, unchanged line numbers
- **Text**:
- `#F4F5F4`: primary
- `#E4E7E6`: code
- `#BAC0C0`: secondary
- `#828D9A`: muted
- `#6C7783`: faint
- **Accent**: `#E8913A` (amber), `#C4741F` (amber-deep, hover), `#F0B476` (amber-soft).
- **Status**:
- Modified `#F0B476`, New `#8FBFB4` (teal), Deleted `#C3A6CE` (lilac), Staged `#E8913A`.
- Teal and lilac already exist in Helder's v1 vocabulary (diff colours and the php badge). They are app-level additions outside the core Kade palette.
- **Type**:
- IBM Plex Mono (400/500/600/700) and IBM Plex Sans (400/500/600).
- Sizes used: 10, 11, 12, 13, 14px.
- Label style: 700, letter-spacing .14em, uppercase, written lowercase in source and in brackets, e.g. `[ console ] git`.
- **Radius**: 2px for buttons, badges and inputs; 4px for menus; 8px for modals.
- **Shadows**: only for menus `0 4px 16px rgba(16,23,32,.45)` and modals `0 16px 48px rgba(16,23,32,.5)`.
- **Spacing**: 4px steps. Common values are 6, 8, 10, 12, 14 and 16px.
## Assets
- **Icons**: Lucide 0.544.0 at stroke width 1.75, through the Kade `Icon` component. Used here:
- `git-branch`, `cloud`
- `arrow-down-to-line`, `arrow-up-from-line`
- `minimize-2`, `chevron-down`, `chevron-right`
- `eraser`, `check`, `file-text`, `sparkle`, `files`
- **Fonts**: IBM Plex Mono and IBM Plex Sans (Google Fonts, through the Kade `tokens/fonts.css`).
- There are no images.
## Files
- `Helder App v2.dc.html`: the full prototype. Open it in a browser next to `support.js`; it loads the Kade tokens and bundle from `_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/` in the source project.
- **Where to look in the file**:
| What | Where |
|---|---|
| Git view markup | the `<!-- git overlay -->` block |
| Git logic | methods prefixed `g…`: `gStage`, `gUnstage`, `gDiscard`, `gCommit`, `gPush`, `gPull`, `gSwitch`, `gStatus`, `gRun`, `gitRows` |
| Section, row and branch view models | `renderVals()`, from `const GC` to `brGroups` |
- `support.js`: the prototype runtime, needed only to open the HTML. Do not port it.
+4 -4
View File
@@ -79,16 +79,16 @@ Example `config.json`:
| `editor.tabSize` | `4` | Spaces per indent step for `Tab` and `Shift+Tab`. Helder indents with spaces |
| `editor.wordWrap` | `"markdown"` | Fold long lines: `"off"` never, `"on"` always, `"markdown"` only in Markdown files. The Diff never wraps |
### git: the Git column
### git: the Git view
| Setting | Default | Effect |
|---|---|---|
| `git.confirmDiscard` | `true` | Ask before Discard changes |
| `git.confirmStage` | `false` | Ask before staging a file |
| `git.confirmUnstage` | `false` | Ask before unstaging a file |
| `git.confirmDiscard` | `true` | Ask before Discard and Delete in the Git view. Restore never asks |
| `git.defaultDiffMode` | `"updated"` | How a changed file opens: `"updated"` on the live file, `"diff"` in the full-screen Diff |
| `git.refreshInterval` | `10000` | Milliseconds between automatic git status checks. `0` turns the check off. File watching still works |
`git.confirmStage` and `git.confirmUnstage` are gone: staging never asks. An older `config.json` that still has them loads fine; Helder ignores them.
### files: the Explorer and search
| Setting | Default | Effect |
+10 -13
View File
@@ -12,8 +12,8 @@ Helder asks you something in three ways: a confirm dialog before a risky action,
|////////// +------------------------------------------------+ ////////////|
|////////// | (1) Discard changes to app/Http/User.php? | ////////////|
|////////// | | ////////////|
|////////// | (2) This reverts the file to the last commit | ////////////|
|////////// | and cannot be undone. | ////////////|
|////////// | (2) This reverts to the last commit and | ////////////|
|////////// | cannot be undone. | ////////////|
|////////// | | ////////////|
|////////// | (3)[ Cancel esc ] (4)[ Discard enter ] | ////////////|
|////////// +------------------------------------------------+ ////////////|
@@ -24,7 +24,7 @@ Helder asks you something in three ways: a confirm dialog before a risky action,
1. **Title**: the question, often with the path it is about.
2. **Body**: what will happen. Not every confirm dialog has one.
3. **Cancel**: closes the dialog and does nothing. Its key is `Esc`.
4. **Confirm button**: amber-deep, named after the action (Discard, Delete, Stage, Unstage). Its key is `Enter`.
4. **Confirm button**: amber-deep, named after the action (Discard or Delete). Its key is `Enter`.
## Features
@@ -39,19 +39,18 @@ Helder shows a confirm dialog for these actions:
| Action | Title | Body | Button | When |
|---|---|---|---|---|
| Discard changes | `Discard changes to <path>?` | `This reverts the file to the last commit and cannot be undone.` | Discard | When `git.confirmDiscard` is on (default) |
| Stage changes | `Stage <path>?` | none | Stage | Only when `git.confirmStage` is on |
| Unstage changes | `Unstage <path>?` | none | Unstage | Only when `git.confirmUnstage` is on |
| Discard (Git view) | `Discard changes to <path>?` | `This reverts to the last commit and cannot be undone.` | Discard | When `git.confirmDiscard` is on (default) |
| Delete (Git view, new files) | `Delete <path>?` | `New files are removed from disk. This cannot be undone.` | Delete | When `git.confirmDiscard` is on (default) |
| Delete file | `Delete file?` | `<path> will be permanently deleted.` | Delete | Always |
| Delete folder | `Delete folder?` | `<path>/ and everything inside it will be permanently deleted.` | Delete | Always |
#### Discard changes
Comes from **Discard changes** on a [Git](git.md) row. On confirm, the file goes back to the last commit, both its staged and unstaged changes. A new file is deleted. An open copy in the [File view](file-view.md) reloads. A [notification](notifications.md) says `Discarded changes`.
Comes from **Discard** or **Delete** in the [Git](git.md) view, on a row or as **Discard all** / **Delete all** on a section. With more than one file, the title names the count instead of a path, for example `Discard changes to 3 files?`. When the files include a new file, the body says `New files are removed from disk. This cannot be undone.`
#### Stage and unstage
On confirm, a changed file loses its unstaged changes: it goes back to its staged version, or to the last commit when nothing is staged. A new file is deleted from disk. An open copy in the [File view](file-view.md) reloads.
Come from the hover `+` / `−` on a git row, or from the [right-click menu](right-click-menu.md#git-rows), but only when you turned the matching setting on. **Stage all** and **Unstage all** never ask.
**Restore** on a deleted file never asks. Stage and unstage never ask either.
#### Delete file or folder
@@ -151,15 +150,13 @@ With `editor.autoSave` on, opening another file saves the open one silently, wit
| Setting | Default | Effect |
|---|---|---|
| `git.confirmDiscard` | `true` | Ask before Discard changes |
| `git.confirmStage` | `false` | Ask before staging one file |
| `git.confirmUnstage` | `false` | Ask before unstaging one file |
| `git.confirmDiscard` | `true` | Ask before Discard and Delete in the Git view |
| `editor.autoSave` | `false` | Save the open file silently instead of asking, when you open another file |
## Related
- [Right-click menu](right-click-menu.md): where most of these dialogs start.
- [Git](git.md): discard, stage and unstage.
- [Git](git.md): discard and delete.
- [Explorer](explorer.md): new, rename and delete.
- [File view](file-view.md): saving, and the unsaved-edits dot.
- [Notifications](notifications.md): the message after each action.
+1 -1
View File
@@ -37,7 +37,7 @@ The Explorer is the project's file tree. It is the second column from the left,
- Click a folder to expand it. Click it again to collapse it.
- Each click also re-reads that folder from disk, so files the agent just added show up.
- A project opens with every folder collapsed.
- Opening a file from anywhere (Git column, [Go to file](go-to-file.md), [Search](search.md)) expands its folders and highlights it in the tree.
- Opening a file from anywhere (the [Git](git.md) view, [Go to file](go-to-file.md), [Search](search.md)) expands its folders and highlights it in the tree.
- Folders come first, then files, each sorted by name. Case does not matter in the sort.
### Icons
+3 -3
View File
@@ -34,8 +34,8 @@ The Diff is a full-screen, side-by-side comparison of a changed file. It covers
### Open the Diff
- Click **Diff** in the [file view](file-view.md) bar. The button shows only on a file with git changes.
- Right-click a marked (teal) line in the file view and choose **Show diff**. The Diff opens centred on that line.
- Right-click a row in [Git](git.md) and choose **Open diff**.
- A file you open from a Git row remembers that row. The **Diff** button then shows that row's half (staged or unstaged). Show diff on a marked line always compares the last commit with the file on disk.
- Show diff on a marked line always compares the last commit with the file on disk.
- The [Git](git.md) view has its own inline diff per file row. **Open in editor** on a row opens the file; click **Diff** there for the full-screen view.
### Layout
- The Diff covers all columns. The window's shortcuts still work over it.
@@ -95,6 +95,6 @@ The Diff is a full-screen, side-by-side comparison of a changed file. It covers
## Related
- [File view](file-view.md): the live view with teal line marks, where **Show diff** opens the Diff.
- [Git](git.md): the changes, the staged and unstaged halves, and **Open diff**.
- [Git](git.md): the Git view, with an inline diff per changed file.
- [Pass on to Agent](pass-on-to-agent.md): the reference format and the prompt.
- [Right-click menu](right-click-menu.md): the menus across Helder.
+2 -2
View File
@@ -33,7 +33,7 @@ The file view is the third column (Col C), between the [Explorer](explorer.md) a
## Features
### Open a file
- Click a file in the [Explorer](explorer.md) or a row in [Git](git.md), pick a result in [Search](search.md), or use [Go to file](go-to-file.md).
- Click a file in the [Explorer](explorer.md), choose **Open in editor** on a row in the [Git](git.md) view, pick a result in [Search](search.md), or use [Go to file](go-to-file.md).
- The new file replaces the one that was open. Helder shows one file at a time.
- A file always opens fresh from disk.
- When you open a file at a line (from Search or the [symbol popup](code-symbols.md)), that line moves to the middle of the pane and flashes amber for about a second.
@@ -53,7 +53,7 @@ The file view is the third column (Col C), between the [Explorer](explorer.md) a
- Type to edit. Undo and redo work as usual (`Cmd+Z`, `Cmd+Shift+Z`).
- `Cmd+S` saves the file. A "Saved" [notification](notifications.md) confirms it. If the write fails, you see "Save failed" and the file stays open with your edits.
- `Cmd+S` on a file without edits does nothing.
- After a save, the [Git](git.md) column updates.
- After a save, git re-reads, so the [Git](git.md) view and the status bar update.
### Auto-save
- Auto-save is off by default. Turn it on with `editor.autoSave` in the [configuration](configuration.md).
+36 -58
View File
@@ -1,98 +1,76 @@
# Git commit form
The commit form sits at the foot of the [Git](git.md) column, edge to edge. It holds the commit message field, the Commit button and the Push 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 author, and the Commit split button.
[Guide index](index.md) · Related: [Git](git.md), [Notifications](notifications.md), [Keyboard shortcuts](keyboard-shortcuts.md)
## At a glance
```text
+-------------------------------------+
| (1) Shift+Enter to commit |
| |
| |
|-------------------------------------|
| (2) Commit ^ | (3)^ |
+-------------------------------------+
+----------------------------------------------------------------------------+
| (1) fix the login form_ |
|----------------------------------------------------------------------------|
| (2) Jonathan <jonathan@example.com> (3) Cmd+Enter commits |
| (4) [ Commit 2 files | v ] |
+----------------------------------------------------------------------------+
(5)
+------------------------+
| v Commit |
| ^ Commit and push |
+------------------------+
```
1. **Message field**: one line of commit message. The grey hint `Shift+Enter to commit` shows while it is empty.
2. **Commit button**: amber when there is something staged.
3. **Push button**: a narrow button with an up arrow. It lights up when the branch has commits to 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**.
## Features
### Write the message
- Click the field, or press `Cmd+C` anywhere outside a terminal with no text selected. `Cmd+C` also shows the [Git](git.md) column when it is hidden.
- The focused field gets an amber outline.
- Opening the [Git](git.md) view puts the cursor in the field. `Cmd+C` with no text selected, outside a terminal, opens the view there too.
- The field gets an amber line under it while it has the cursor.
- The field grows with long text and scrolls after about seven lines.
- A commit message in Helder is always **one lowercase line**:
- Capitals become lowercase as you type or paste.
- A line break becomes a space. Pressing `Enter` on its own does not start a new line.
- A line break becomes a space. `Enter` does not start a new line, and it does not commit.
- This keeps dictated or pasted text as one short subject line.
- The draft stays in the field while you work elsewhere in the window.
- The draft stays in the field while the view is closed.
### Commit
You can commit in three ways:
- Click **Commit**.
- Press `Shift+Enter` (or `Cmd+Enter`, or `Ctrl+Enter`) in the message field.
- Press `Cmd+Enter` anywhere in the window.
- 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.
A commit only happens when both are true:
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).
- At least one file is staged.
- The message is not empty (spaces alone do not count).
The **Commit** button follows the first rule only. It is amber when something is staged and grey and disabled when nothing is. With files staged but an empty message, the button looks ready but a click does nothing. Type a message first.
### 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).
### After a commit
- The message field clears.
- The committed files leave **Staged Changes**. Unstaged edits stay in **Changes**.
- The committed files leave the **staged** section. Unstaged edits stay where they were.
- A [notification](notifications.md) says `Committed N files`, with the start of your message below it (cut off after 34 characters).
- The Push button lights up, because the branch is now ahead of its remote.
- **Push** in the top bar shows `↑N`, because the branch is now ahead of its remote.
### When a commit fails
- Your message comes back in the field, so you can fix and retry.
- A notification says `Commit failed`, with git's own error text below it. A typical cause is a git hook that rejected the commit.
### Push
- Click the **Push** button right of Commit, or press `Cmd+P`.
- The button is **lit** (amber arrow on an amber tint) when there is something to push:
- The branch is ahead of its remote branch, or
- The branch has no remote branch yet.
- It is grey when there is nothing to push. A click still runs the push; git then reports it is up to date.
- Hover the button for a tooltip: `Push 2 commits to remote (⌘P)`, `Push the branch to remote (⌘P)`, or `Nothing to push (⌘P)`.
What happens when you push:
- A notification says `Pushing…`. The button dims and ignores clicks until the push ends.
- A branch with no remote branch is pushed to `origin` and set to track it, so the next push needs nothing extra.
- Helder never asks for a password. Git must already have access to the remote, for example through an SSH key or a credential helper.
- A push that takes longer than two minutes stops.
- When it ends, a notification says `Pushed` with git's summary line, or `Push failed` with git's last error line.
- The Git column re-reads git, so the Push button goes back to grey.
Pull, fetch and branch switching are not part of Helder. Use the [Command line](command-line.md) for those.
- Your message stays in the field, so you can fix and retry.
- A notification says `Commit failed`, with git's first error line below it. The full output is in the console. Typical causes are nothing staged, an empty message, or a git hook that rejected the commit.
- When the message was empty, the cursor goes back to the field.
## Keyboard
| Keys | Action |
|---|---|
| `Cmd+C` | Focus the message field (no text selected, not in a terminal) |
| `Shift+Enter` | Commit, while in the message field |
| `Cmd+Enter` | Commit, from anywhere in the window |
| `Ctrl+Enter` | Commit, while in the message field |
| `Cmd+C` | Open the Git view on the message field (no text selected, not in a terminal) |
| `Cmd+Enter` | Commit, while the Git view is open (not from the console input) |
| `Cmd+P` | Push the current branch |
## Related
- [Git](git.md): the column that holds this form, and where you stage files.
- [Git](git.md): the view that holds this form, and where you stage files.
- [Notifications](notifications.md): the messages after a commit or push.
- [Status bar](status-bar.md): shows the branch you commit and push to.
- [Command line](command-line.md): for git commands Helder has no button for.
- [Keyboard shortcuts](keyboard-shortcuts.md): every shortcut in one list.
+125 -129
View File
@@ -1,163 +1,162 @@
# Git
The Git column (Source Control) is the leftmost column of the window. It lists every changed file in the project's git repository, lets you stage and unstage them, and holds the commit box at its foot.
The Git view is a full-screen page for everything git: it lists every changed file with an inline diff, stages and commits, pulls and pushes, switches branches, and shows each git command it runs in a console. Open it with `Cmd+G`.
[Guide index](index.md) · Related: [Git commit form](git-commit-form.md), [Right-click menu](right-click-menu.md), [Dialogs](dialogs.md), [File view: Diff](file-view-diff.md), [Status bar](status-bar.md)
[Guide index](index.md) · Related: [Git commit form](git-commit-form.md), [Right-click menu](right-click-menu.md#git-rows), [Dialogs](dialogs.md), [Notifications](notifications.md), [Status bar](status-bar.md)
## At a glance
```text
+-------------------------------------+
| (1) STAGED CHANGES - 2 |
| (2) [] app/Http |
| (3) M [php] UserController.php +4 |
| A [php] Invoice.php +31 |
|-------------------------------------|
| (1) CHANGES + 3 |
| [] . |
| M [md] README.md +2 -1 |
| [] tests/Feature |
| (4) M [php] UserTest.php [ + ] |
| D [php] -OldTest.php- -12 |
| |
|-------------------------------------|
| (5) Shift+Enter to commit |
| |
|-------------------------------------|
| (6) Commit ^ | (7) ^ |
+-------------------------------------+
+----------------------------------------------------------------------------+
| (1) [ git ] <> main 1 ahead of origin [Pull] [Push ^1] [Close CmdG] |
|----------------------------------------------------------------------------|
| (2) fix the login form_ |
| Jonathan <jonathan@example.com> Cmd+Enter commits [Commit 2 files|v] |
|----------------------------------------------------------------------------|
| (3)|v staged (2) [ ] [Unstage all]|
| |> [M] app/Http/UserController.php +4 -1 [Unstage] |
| |> [A] app/Models/Invoice.php +31 -0 [Unstage] |
| |
| (3) v changed (1) [Discard all] [Stage all]|
| (4) v [M] README.md +2 -1 [Discard] [Stage] |
| (5) 12 | old line || 12 | new line |
| 13 | same line || 13 | same line |
| ... 40 unchanged lines |
| v new . untracked (1) [Delete all] [Stage all]|
| v deleted (1) [Restore all] [Stage all]|
|----------------------------------------------------------------------------|
| (6) [ console ] git (x) | (7) [ branches ] clean . ... |
| $ git add -- README.md | local |
| $ git commit -m "fix the login form" | |<> main current |
| $ git _ | <> feature/a switch -> |
| | remote . origin |
| | () origin/feature/b checkout->|
+----------------------------------------------------------------------------+
```
1. **Group header**: `Staged Changes` or `Changes`, with the row count in amber on the right. Hover the header to see its quick action: `-` (Unstage all) or `+` (Stage all).
2. **Folder line**: the folder that the rows below it live in. `.` is the project root.
3. **Row**: status letter, file-type badge, file name, and line counts.
4. **Hover quick action**: a `+` or `-` that replaces the line counts while you hover or select the row.
5. **Commit message**: see [Git commit form](git-commit-form.md).
6. **Commit button**: see [Git commit form](git-commit-form.md).
7. **Push button**: see [Git commit form](git-commit-form.md).
1. **Top bar**: the branch, where it stands against origin, and the Pull, Push and Close buttons.
2. **Commit block**: the message, the author and the Commit button. See [Git commit form](git-commit-form.md).
3. **Section header**: the section name, its row count, and the bulk actions.
4. **File row**: status badge, path, line counts and the row actions.
5. **Inline diff**: the last commit on the left, the working tree on the right.
6. **Console**: every git command the view runs, with its output, and an input line for your own.
7. **Branches**: local branches and the branches on origin.
## Features
### Two groups: staged and unstaged
### Open and close the view
- `Cmd+G`, the **Git** toggle in the [Title bar](title-bar.md), or View > Show Git opens it. The toggle reads `Git N`, where N counts the changed files.
- The view covers the whole window: title bar, columns and status bar. The columns stay as they were under it. Terminals keep running.
- When it opens, the keyboard goes to the commit message.
- `Cmd+C` with no text selected, outside a terminal, also opens the view on the commit message.
- Close it with `Cmd+G`, `Esc`, or the **Close** button. The keyboard goes back to the column that had it.
- Dialogs, right-click menus, [Search](search.md), the full-screen [Diff](file-view-diff.md) and [notifications](notifications.md) show on top of the view. `Esc` closes those first, then the view.
- While the view is open, the column keys rest (arrows, `Cmd+Left` / `Cmd+Right`). `Cmd+1`, `Cmd+2` and `Cmd+3` still toggle the columns under it.
- The view is not remembered: a project always opens with it closed.
- **Staged Changes** sits on top. It lists what the next commit will hold.
- **Changes** sits below. It lists edits in the working tree that are not staged yet.
- Each group shows its row count on the right of its header.
- Inside a group, rows are grouped by folder. Each folder gets a small folder line with its path. Hover a folder line to see the full path; the project root reads `.`.
- One file can show up twice: once in Staged Changes and once in Changes. That happens when you staged a file and then edited it again. Each row stands for its own half of the change.
### Top bar
- `[ git ]`, then the current branch in amber.
- Next to it, where the branch stands against its remote: `in sync with origin`, `1 ahead of origin`, `2 behind origin`, `1 ahead · 2 behind origin`, or `no upstream`.
- **Pull** shows `↓N` when there are commits to pull. **Push** shows `↑N` when there are commits to push.
- Opening the view runs `git fetch origin`, so the ahead and behind numbers are up to date. A repository without an `origin` skips this.
There is no column header or title. The column starts with the first group.
### Sections
The changes sit in up to four sections, in this order. A section with no rows is left out.
### Row anatomy
| Section | Colour | What it holds | Row actions | Bulk actions |
|---|---|---|---|---|
| **staged** | amber | Everything staged for the next commit, whatever its status | Unstage | Unstage all |
| **changed** | light amber | Unstaged edits to tracked files; also renames and conflicts | Discard, Stage | Discard all, Stage all |
| **new · untracked** | teal | New files git does not track yet | Delete, Stage | Delete all, Stage all |
| **deleted** | lilac | Tracked files deleted from disk | Restore, Stage | Restore all, Stage all |
- Click a section header to fold or unfold it.
- One file can show up twice: once in staged and once in another section. That happens when you staged a file and then edited it again. Each row stands for its own half.
- A conflicted row (`U`) only offers **Stage**. Staging it marks the conflict as resolved.
### File rows
Every row, left to right:
- **Status letter** (see the table below).
- **File-type badge**, the same badge the [Explorer](explorer.md) uses.
- **File name**. A deleted file has its name struck through and dimmed. Files under `tests/` or `cypress/` show in a dimmer grey, so source files stand out.
- **Line counts** on the far right: `+N` in teal for added lines, `−N` in amber-deep for removed lines. A count of zero is left out.
- A chevron: click anywhere on the row to show or hide its inline diff.
- A status badge: `A` new, `M` modified, `D` deleted, `R` renamed, `U` conflict. Hover it for the word.
- The path: the folder dim, the file name bright. A deleted file is struck through.
- The line counts: `+N` in teal and `−N` in light amber.
- The row actions, from the table above.
Hover a row to see its full project-relative path in a tooltip.
Staged rows carry an amber bar on their left edge.
### Status letters and colours
### Row actions
- **Stage** and **Unstage** run at once. They never ask.
- **Discard** throws away the unstaged changes of a file. The file goes back to its staged version, or to the last commit when nothing is staged.
- **Delete** removes a new file from disk.
- **Restore** brings a deleted file back.
- Discard and Delete ask first by default (`git.confirmDiscard`). See [Dialogs](dialogs.md#discard-changes). Restore never asks.
- An open file in the [File view](file-view.md) reloads after a Discard, Delete or Restore.
| Letter | Meaning | Colour in Staged Changes | Colour in Changes |
|---|---|---|---|
| `A` | Added: a new file, also an untracked one or a copy | teal | amber |
| `M` | Modified; a merge conflict also reads `M` | teal | amber |
| `D` | Deleted | teal | amber-deep |
| `R` | Renamed | teal | light grey |
### Inline diff
- The last commit (or the staged version) is on the left, the working tree on the right, lines side by side.
- Removed lines have an amber tint, added lines a teal tint. In a changed line pair, the part that differs is highlighted.
- Each change keeps 3 unchanged lines around it. Longer unchanged runs fold into `⋯ N unchanged lines`.
- A file over 1 MB shows `Too big.`. A file with no text changes shows `— No line changes.`.
- For the full-screen comparison, open the file and use the [Diff](file-view-diff.md).
Staged letters are always teal, whatever the status. Unstaged letters follow the status. A merge conflict shows as one `M` row in Staged Changes, because git cannot stage half of a conflict.
### Right-click a row
Right-click a file row for **Open in editor**, **Pass on reference** and **Copy reference**. See the [right-click menu](right-click-menu.md#git-rows). Open in editor and Pass on reference close the view first.
### Open a file from a row
### Pull and push
- **Pull** runs `git pull --no-rebase`. When your branch and origin both have new commits, git merges them.
- **Push** runs `git push`, or `Cmd+P` from anywhere. A branch with no upstream yet is pushed again with `git push -u origin <branch>`, so the next push needs nothing extra.
- While one runs, its button reads `Pulling…` or `Pushing…` and the console header says so. A second Pull or Push is ignored until it ends.
- Pull and push stop after 120 seconds.
- Helder never asks for a password. Git must already have access to the remote, for example through an SSH key or a credential helper.
- A [notification](notifications.md) says how it ended, for example `Pushed 2 commits to origin/main` or `Push failed` with git's error line.
- **Click** a row to open that file in the [File view](file-view.md). It opens on the live file, not the full-screen Diff.
- The row remembers which half you clicked. When the file has rows in both groups, the Diff for that file then compares just that half: `HEAD → staged` for a staged row, `staged → actual` for an unstaged row.
- The row of the open file stays highlighted.
- To go straight into the full-screen Diff, use **Open diff** in the [right-click menu](right-click-menu.md#git-rows).
### Console
- Every action in the view logs the exact git command, such as `$ git add -- README.md`, and then git's output as it arrives.
- Errors read in amber, hints dim, staged and unstaged files from `status` in their colours, and a pushed branch in teal.
- Type your own command after `$ git` and press `Enter`. A leading `git` is allowed: `status` and `git status` do the same.
- `clear` empties the console. So does the eraser button in its header.
- `log` on its own shows the last 30 commits, one line each.
- `Up` brings back the commands you typed before, newest first.
- Commands run one at a time, in order. Typed commands also stop after 120 seconds.
- Git cannot ask you anything here: there is no editor and no pager. A command that needs an editor, such as `commit` without `-m`, stops with git's error.
- Click the console log without selecting text to put the cursor on the input line.
- The console keeps the last 400 lines.
### Stage and unstage one file
### Branches
- **local** lists your local branches. **remote · origin** lists the branches on origin.
- The current branch has an amber bar and reads `current`. A remote branch that has a local branch reads `tracked`.
- Click a branch to switch to it (`switch →`).
- Click a remote branch with no local branch to check it out (`checkout →`). Git creates a local branch that tracks it.
- Switching is locked while there are uncommitted changes. The header then reads `— N uncommitted files · switching locked`, the other branches are dimmed, and a click shows a notification that asks you to commit or discard first.
- Hover a row. Its line counts make way for a quick action button:
- `+` on a row in Changes: **Stage changes**.
- `−` on a row in Staged Changes: **Unstage changes**.
- Click the button. The row moves to the other group.
- The same actions sit in the [right-click menu](right-click-menu.md#git-rows).
- By default there is no confirmation. Turn on `git.confirmStage` or `git.confirmUnstage` to get a [confirm dialog](dialogs.md#confirm-dialog) first.
### Stage all and unstage all
- Hover the **Changes** header and click `+` (**Stage all**). Every unstaged file is staged.
- Hover the **Staged Changes** header and click `−` (**Unstage all**). Every staged file goes back to Changes.
- The button only shows while the group has rows.
- Stage all and Unstage all never ask for confirmation.
### Discard changes
- Right-click a row and choose **Discard changes**. See the [right-click menu](right-click-menu.md#git-rows).
- It asks first by default (`git.confirmDiscard`). See [Dialogs](dialogs.md#discard-changes).
- A file that exists in the last commit goes back to that version, in the staging area and on disk. Both its staged and its unstaged changes are gone.
- A file that is not in the last commit (a new file) is unstaged and deleted from disk.
- A staged rename also gets its old file back.
- An open file reloads from disk after a discard.
### Row cursor and keyboard
The column has a keyboard cursor: one highlighted row.
- Click the column, or move focus to it with `Cmd+Left` / `Cmd+Right`, to make it the active column.
- `Up` and `Down` move the cursor through the rows: first all staged rows, then all unstaged rows, folder by folder.
- `Enter` opens the row under the cursor, the same as a click.
- `Cmd+Right` opens the row's [right-click menu](right-click-menu.md#git-rows), beside the column at the row's height.
- Hovering a row with the pointer also moves the cursor to it.
- When the cursor's row disappears, for example after a commit, the next `Up` or `Down` starts again at the top.
### Empty states
- **Not a repository**: the column shows `— Not a git repository.` and nothing else. The commit box stays at the foot.
- **Clean working tree**: the column shows `— No changes. The working tree is clean.`
- **Nothing staged**: under the Staged Changes header, `— Nothing staged.`
- **Everything staged**: under the Changes header, `— All changes are staged.`
### Branch and totals
The column itself shows no branch. The current branch, the line totals of all changes, and the staged and unstaged counts sit on the left of the [Status bar](status-bar.md). The branch cannot be switched from Helder.
### When the view is empty
- **Not a repository**: `— Not a git repository.`
- **Clean working tree**: `— No changes. The working tree is clean.`
### Worktrees
A project folder that is a git worktree (or a submodule) works like a normal repository. Helder finds the real git folder and watches it for changes. There is no worktree list or worktree switcher.
### How the list stays up to date
You do not need to refresh by hand. The list updates by itself:
- **On every change**: Helder watches the project folder and the git folder. Edits by you, by the agent, or by git in a terminal update the list after a short pause.
- **On a timer**: as a backstop, git is re-read every 10 seconds by default (`git.refreshInterval`).
- **When you click into the column**: moving focus into the Git column from another column re-reads git.
- **After every action**: stage, unstage, discard, commit and push all re-read git when they finish.
- **By hand**: `Cmd+R` (View → Refresh) re-reads git, the file tree and the open file. The column flashes briefly to show it.
When a git action fails, a [notification](notifications.md) names the action, for example `Stage failed`, with the file or git's own error line.
### Show or hide the column
- `Cmd+G`, or the **Git** toggle in the [Title bar](title-bar.md), shows or hides the column.
- `Cmd+C` (with no text selected and outside a terminal) shows a hidden column and puts the cursor in the commit message.
- See [Layout](layout.md) for column widths and splitters.
- **When the view opens**: git is re-read, then origin is fetched.
- **After every action**: every git command from the view, typed ones included, re-reads git and the branches when it ends. Pull, a branch switch and typed commands also re-read the file tree and the open file.
- **By hand**: `Cmd+R` (View > Refresh) re-reads git, the file tree and the open file.
## Keyboard
| Keys | Action |
|---|---|
| `Up` / `Down` | Move the row cursor (Git column active) |
| `Enter` | Open the row under the cursor |
| `Cmd+Right` | Open the right-click menu of the row under the cursor |
| `Cmd+Left` / `Cmd+Right` | Move focus to the column on the left or right |
| `Cmd+C` | Focus the commit message (no text selected, not in a terminal) |
| `Cmd+Enter` | Commit the staged files |
| `Cmd+G` | Open or close the Git view |
| `Esc` | Close the Git view (after any dialog, menu, search or Diff on top of it) |
| `Cmd+C` | Open the view on the commit message (no text selected, not in a terminal) |
| `Cmd+Enter` | Commit, while the view is open (not from the console input) |
| `Cmd+P` | Push the current branch |
| `Cmd+G` | Show or hide the Git column |
| `Enter` | Run the command in the console input |
| `Up` | Recall the previous console command |
| `Cmd+R` | Re-read git, the file tree and the open file |
## Settings
@@ -166,20 +165,17 @@ All settings live in `.helder/config.json`. See [Configuration](configuration.md
| Setting | Default | Effect |
|---|---|---|
| `git.confirmDiscard` | `true` | Ask before Discard changes |
| `git.confirmStage` | `false` | Ask before staging one file |
| `git.confirmUnstage` | `false` | Ask before unstaging one file |
| `git.confirmDiscard` | `true` | Ask before Discard and Delete |
| `git.refreshInterval` | `10000` | Milliseconds between automatic git re-reads; `0` turns the timer off |
| `git.defaultDiffMode` | `updated` | How a changed file opens; see [File view: Diff](file-view-diff.md) |
## Related
- [Git commit form](git-commit-form.md): the message field, Commit and Push at the foot of this column.
- [Right-click menu](right-click-menu.md#git-rows): every action on a git row.
- [Dialogs](dialogs.md): the confirm dialog for discard, stage and unstage.
- [File view](file-view.md): where a clicked row opens.
- [File view: Diff](file-view-diff.md): the full-screen comparison behind Open diff.
- [Git commit form](git-commit-form.md): the message, author and Commit button at the top of the view.
- [Right-click menu](right-click-menu.md#git-rows): the menu on a file row.
- [Dialogs](dialogs.md): the confirm dialog for Discard and Delete.
- [File view: Diff](file-view-diff.md): the full-screen comparison of one file.
- [Explorer](explorer.md): shows the same status letters in the file tree.
- [Status bar](status-bar.md): branch, line totals and counts.
- [Notifications](notifications.md): the messages after a commit, push or failed action.
- [Status bar](status-bar.md): branch, line totals and counts while the view is closed.
- [Notifications](notifications.md): the messages after a commit, pull, push or branch switch.
- [Keyboard shortcuts](keyboard-shortcuts.md): every shortcut in one list.
+14 -14
View File
@@ -8,22 +8,22 @@ This guide explains Helder from the user's side: what each part of the window sh
```text
+----------------------------------------------------------------------------+
| (1) Helder console / src / app.php [Git][Explorer][File][Claude] ... ? |
+-----------+-----------+----------------------------------+-----------------+
| (2) GIT | (3) | (4) FILE | (5) CLAUDE |
| | EXPLORER | | |
| STAGED | > src | 12 function handle() { | > _ |
| M app.php| app.php | 13 return true; | |
| CHANGES | > tests | 14 } +-----------------+
| | | | (6) TERMINAL |
| [commit] | | | $ _ |
+-----------+-----------+----------------------------------+-----------------+
| (1) Helder console / src / app.php [Explorer][File][Claude] [Git 2] .. ? |
| (2) |
+----------------+-----------------------------------+-----------------------+
| (3) EXPLORER | (4) FILE | (5) CLAUDE |
| > src | 12 function handle() { | > _ |
| app.php | 13 return true; | |
| > tests | 14 } +-----------------------+
| | | (6) TERMINAL |
| | | $ _ |
+----------------+-----------------------------------+-----------------------+
| (7) main +50 -38 Ln 12, Col 4 UTF-8 PHP |
+----------------------------------------------------------------------------+
```
1. [Title bar](title-bar.md): breadcrumb, pane toggles and toolbar.
2. [Git](git.md): staged and unstaged changes, with the [commit form](git-commit-form.md) at its foot.
2. [Git](git.md): the full-screen Git view (`Cmd+G`), with the [commit form](git-commit-form.md), a console and the branches.
3. [Explorer](explorer.md): the project's file tree.
4. [File view](file-view.md): one open file, with [Markdown preview](file-view-markdown.md) and [Diff](file-view-diff.md).
5. [Claude Code](claude-code.md): the agent session.
@@ -41,10 +41,10 @@ This guide explains Helder from the user's side: what each part of the window sh
- [Recent projects](recent-projects.md): switch to or open another project.
- [Notifications](notifications.md): the short messages that confirm or warn.
### Source control and files
### Git and files
- [Git](git.md): the Source Control column.
- [Git commit form](git-commit-form.md): write a message, commit and push.
- [Git](git.md): the full-screen Git view: changes, inline diffs, pull, push, console and branches.
- [Git commit form](git-commit-form.md): write a message, commit, or commit and push.
- [Explorer](explorer.md): browse, create, rename and delete files.
### The file view
+16 -12
View File
@@ -38,9 +38,9 @@ Helder is built to run from the keyboard. Press `?` to see a short list of the m
- Close it with `Esc`, or by clicking the dimmed backdrop.
- It scrolls only when the window is too short to show all of it.
- It holds the main shortcuts, in four groups:
- **Navigate**: search, list movement, column movement, recent projects, open folder, new window, PHP class lookup, and this list.
- **Navigate**: search, list movement, column movement, the Explorer row cursor, the column toggles `Cmd+1` to `Cmd+3`, recent projects, open folder, new window, PHP class lookup, and this list.
- **Agent**: pass the selection to the agent.
- **Git**: focus the commit message, commit, Git column on or off, push.
- **Git**: open or close the Git view, focus the commit message, commit, push.
- **File**: save, Markdown preview, close, refresh, hidden files, select all, Fluid columns, zoom, and `Esc`.
- The full reference is below.
@@ -48,6 +48,8 @@ Helder is built to run from the keyboard. Press `?` to see a short list of the m
- A text field, the code, or a terminal keeps the keys it needs. Arrows, `Return`, `?`, `Cmd+A` and `Cmd+C` with a selection go to the field, not to Helder.
- Keys with `Ctrl` or `Opt` always go to the field or terminal, except the menu shortcuts that use them.
- While an overlay is open, it owns the keys. `Esc` closes it. The Diff is the exception: the workspace shortcuts keep working over it.
- `Esc` closes the topmost layer: a right-click menu, a dialog, search or the Diff first, then the [Git](git.md) view. With none of those open, `Esc` goes to the terminal.
- While the Git view is open, the column keys rest: arrows, `Return` and `Cmd+Left` / `Cmd+Right` do nothing in the columns under it.
## Keyboard
@@ -71,7 +73,9 @@ See [Window layout](layout.md) and [Title bar](title-bar.md).
| Keys | Action |
|---|---|
| `Cmd+G` | Show or hide the Git column |
| `Cmd+1` | Show or hide the Explorer column |
| `Cmd+2` | Show or hide the File column |
| `Cmd+3` | Show or hide the Claude column |
| `Cmd+L` | Fluid column widths on or off |
| `Cmd+.` | Hidden files on or off |
| `Cmd+Left` / `Cmd+Right` | Focus the column to the left or right (outside text fields and terminals) |
@@ -87,18 +91,18 @@ See [Start screen](start-screen.md).
| `Up` / `Down`, `Cmd+Up` / `Cmd+Down` | Move the selection |
| `Return` | Open the selected row |
### Git column
### Git view
See [Git](git.md) and [Git commit form](git-commit-form.md).
| Keys | Action |
|---|---|
| `Up` / `Down` | Move the row cursor (when the column is active) |
| `Return` | Open the selected file |
| `Cmd+Right` | Open the selected row's menu |
| `Cmd+C` | Focus the commit message (with no text selected, outside a terminal); shows the Git column if hidden |
| `Cmd+Return` | Commit the staged files (from anywhere) |
| `Shift+Return`, `Ctrl+Return` | Commit, while typing in the commit message |
| `Cmd+P` | Push the current branch |
| `Cmd+G` | Open or close the Git view |
| `Esc` | Close the Git view (when nothing is on top of it) |
| `Cmd+C` | Open the Git view on the commit message (with no text selected, outside a terminal) |
| `Cmd+Return` | Commit, while the Git view is open (not from the console input) |
| `Cmd+P` | Push the current branch (also with the view closed) |
| `Return` | Run the command in the console input |
| `Up` | Recall the previous console command |
### Explorer
See [Explorer](explorer.md).
@@ -180,7 +184,7 @@ See [Right-click menu](right-click-menu.md) and [Dialogs](dialogs.md).
| `Up` / `Down`, `Cmd+Up` / `Cmd+Down` | Move through a menu |
| `Return` | Choose the menu item, confirm a dialog, or accept a name |
| `Esc` | Close the menu or dialog |
| `Ctrl+click` | Same as a right-click on a Git or Explorer row |
| `Ctrl+click` | Same as a right-click on a Git view or Explorer row |
### Terminals
See [Claude Code](claude-code.md) and [Command line](command-line.md).
+39 -39
View File
@@ -1,6 +1,6 @@
# Window layout
A Helder window holds one project. It has a title bar on top, four columns in the middle and a status bar at the bottom.
A Helder window holds one project. It has a title bar on top, three columns in the middle and a status bar at the bottom. The [Git](git.md) view (`Cmd+G`) covers all of it when open.
[Guide index](index.md) · Related: [Title bar](title-bar.md), [Status bar](status-bar.md), [Keyboard shortcuts](keyboard-shortcuts.md), [Configuration](configuration.md)
@@ -8,39 +8,39 @@ A Helder window holds one project. It has a title bar on top, four columns in th
```text
+----------------------------------------------------------------------------+
| ooo Helder. shop . main app>User.php [Git|Expl|File|Claude] [Search..] [?]|
| ooo Helder. shop . main app>User.php [Git 3|Expl|File|Claude] [Search] [?]|
| (1) |
+-----------+------------+-------------------------------+-------------------+
| SOURCE | EXPLORER | User.php +12 -3 | (claude running) |
| CONTROL | | | |
| [message ]| > app | 1 <?php | > _ |
| [Commit 2]| v Http | 2 | (5) |
| | User.. | 3 class User | |
| STAGED | > config | 4 { | |
| M a.php | > routes | 5 ... +-------------------+
| CHANGES | .env | | $ zsh |
| A b.php | | | |
| (2) | (3) | (4) | (6) |
+-----------+------------+-------------------------------+-------------------+
+-----------------+-------------------------------------+--------------------+
| EXPLORER | User.php +12 -3 | (claude running) |
| | | |
| > app | 1 <?php | > _ |
| v Http | 2 | (4) |
| User.. | 3 class User | |
| > config | 4 { | |
| > routes | 5 ... +--------------------+
| .env | | $ zsh |
| | | |
| (2) | (3) | (5) |
+-----------------+-------------------------------------+--------------------+
| main +50 -38 1 staged . 2 unstaged app/User.php . Ln 3, Col 1 . PHP |
+----------------------------------------------------------------------------+
^ ^ ^ (7)
(8) (8) (8)
^ ^ (6)
(7) (7)
```
1. **Title bar**: wordmark, project and branch, breadcrumb, pane toggles and toolbar. See [Title bar](title-bar.md).
2. **Git column** (Source Control): staging, committing and pushing. See [Git](git.md).
3. **Explorer column**: the project file tree. See [Explorer](explorer.md).
4. **File column**: the one open file. See [File view](file-view.md).
5. **Claude pane**: the agent terminal, top of the right column. See [Claude Code](claude-code.md).
6. **Shell pane**: a plain terminal, bottom of the right column. See [Command line](command-line.md).
7. **Status bar**: branch, change counts and file facts. See [Status bar](status-bar.md).
8. **Splitters**: the thin lines between columns. Drag them to resize.
1. **Title bar**: wordmark, project and branch, breadcrumb, the pane toggles, and the toolbar with the Git toggle. See [Title bar](title-bar.md).
2. **Explorer column**: the project file tree. See [Explorer](explorer.md).
3. **File column**: the one open file. See [File view](file-view.md).
4. **Claude pane**: the agent terminal, top of the right column. See [Claude Code](claude-code.md).
5. **Shell pane**: a plain terminal, bottom of the right column. See [Command line](command-line.md).
6. **Status bar**: branch, change counts and file facts. See [Status bar](status-bar.md).
7. **Splitters**: the thin lines between columns. Drag them to resize.
## Features
### The four columns
- From left to right: **Git**, **Explorer**, **File**, and **Claude + Terminal**.
### The three columns
- From left to right: **Explorer**, **File**, and **Claude + Terminal**.
- Git is not a column. The full-screen [Git](git.md) view opens over the window with `Cmd+G` and leaves the columns as they were.
- The File column is the flexible one. It takes the width the other columns leave.
- The right column holds two terminals stacked on top of each other: Claude on top, a shell below.
@@ -49,7 +49,6 @@ A Helder window holds one project. It has a title bar on top, four columns in th
- Drag a vertical splitter to change a column's width.
- Drag the horizontal splitter in the right column to share the height between Claude and the shell.
- Columns have limits, so you cannot drag them away:
- Git: 160 to 460 points wide.
- Explorer: 160 to 520 points wide.
- File: at least 280 points wide.
- Claude + Terminal: at least 280 points, and never so wide that File drops below 280.
@@ -58,8 +57,8 @@ A Helder window holds one project. It has a title bar on top, four columns in th
### Fluid column widths (`Cmd+L`)
- With **Fluid** on, Helder sizes the columns for you. It re-fits them when you resize the window and when focus moves.
- At a window width of 1600 points or more, the columns keep fixed shares: Git about 13%, Explorer about 16%, Claude about 27%, File the rest.
- Below 1600 points, Git and Explorer take 15% each, and the right column follows your focus:
- At a window width of 1600 points or more, the columns keep fixed shares: Explorer about 16%, Claude about 27%, File the rest.
- Below 1600 points, Explorer takes 15%, and the right column follows your focus:
- 30% when neither side has focus.
- 20% when the File column has focus, or when you just opened a file.
- 50% when a terminal has focus.
@@ -68,13 +67,12 @@ A Helder window holds one project. It has a title bar on top, four columns in th
- Toggle it with `Cmd+L`, the **Fluid** button in the title bar, or View > Fluid Column Widths / Lock Column Widths.
### Showing and hiding columns
- Each column has a toggle in the title bar: **Git**, **Explorer**, **File**, **Claude**. A dot on the button shows that the column is on.
- `Cmd+G` toggles the Git column. The View menu has Show/Hide items for all four.
- Each column has a toggle in the title bar: **Explorer**, **File**, **Claude**. A dot on the button shows that the column is on.
- `Cmd+1`, `Cmd+2` and `Cmd+3` toggle Explorer, File and Claude. The View menu has Show/Hide items for all three.
- Hiding only hides. The terminals keep running, the open file keeps its edits and scroll position, and the tree keeps its open folders.
- When a column hides, File takes the free width. With File hidden, the Claude + Terminal column fills the rest.
- With every column hidden, the middle of the window is empty.
- A hidden column cannot take focus. If you hide the column you are typing in, the keyboard goes back to the window, so nothing lands in a pane you cannot see.
- `Cmd+C` (with no text selected, outside a terminal) shows the Git column again if it was hidden, and puts the cursor in the commit message.
### Hidden files (`Cmd+.`)
- **Hidden** shows or hides dotfiles such as `.env` in the Explorer and in search.
@@ -82,10 +80,10 @@ A Helder window holds one project. It has a title bar on top, four columns in th
- Toggle it with `Cmd+.`, the **Hidden** button, or View > Show Hidden Files.
### Focus and the active column
- Click inside a column to make it the active column. Git and Explorer get a lighter background when active.
- Click inside a column to make it the active column. The Explorer gets a lighter background when active.
- `Cmd+Left` and `Cmd+Right` move focus to the next visible column. This works when the keyboard is not inside a text field, the code, or a terminal. In those places the keys keep their normal meaning.
- In the Git and Explorer columns, `Up` and `Down` move the row cursor and `Return` opens the row. See [Git](git.md) and [Explorer](explorer.md).
- Clicking a row in Git or Explorer takes the keyboard out of a text field in another column.
- In the Explorer, `Up` and `Down` move the row cursor and `Return` opens the row. See [Explorer](explorer.md).
- Clicking an Explorer row takes the keyboard out of a text field in another column.
### The mouse pointer
- A pointing hand means a left click runs an action: a button, a clickable row, the project name.
@@ -126,7 +124,7 @@ A Helder window holds one project. It has a title bar on top, four columns in th
### What Helder remembers
Per project, always:
- Which of the four columns are shown.
- Which of the three columns are shown.
- Whether **Fluid** is on.
- The column widths, when **Fluid** is off.
@@ -137,13 +135,14 @@ For all projects together:
- The zoom level.
- The height split between Claude and the shell.
Not remembered: **Hidden** files (starts off) and which column had focus.
Not remembered: **Hidden** files (starts off), which column had focus, and whether the Git view was open.
## Keyboard
| Keys | Action |
|---|---|
| `Cmd+G` | Show or hide the Git column |
| `Cmd+G` | Open or close the Git view |
| `Cmd+1` / `Cmd+2` / `Cmd+3` | Show or hide the Explorer, File or Claude column |
| `Cmd+L` | Fluid column widths on or off |
| `Cmd+.` | Hidden files on or off |
| `Cmd+Left` / `Cmd+Right` | Focus the column to the left or right (outside text and terminals) |
@@ -162,7 +161,8 @@ Not remembered: **Hidden** files (starts off) and which column had focus.
## Related
- [Title bar](title-bar.md): the pane toggles and the Fluid and Hidden buttons live here.
- [Title bar](title-bar.md): the pane toggles and the Git, Fluid and Hidden buttons live here.
- [Git](git.md): the full-screen Git view.
- [Status bar](status-bar.md): the bar along the bottom edge.
- [Start screen](start-screen.md): what a window shows before a project is open.
- [Recent projects](recent-projects.md): switch this window to another project.
+11 -9
View File
@@ -14,7 +14,7 @@ Helder confirms what it just did with a toast: a small card that appears near th
| +-------------------------------------------+ |
| |# [] Committed 2 files [Fix the login fo..]| (1) |
| +-------------------------------------------+ |
| |# [] Pushed [main -> main] | |
| |# [] Pushed 1 commit to origin/main | |
| +-------------------------------------------+ |
| ^ ^ ^ ^ |
| (2)(3) (4) (5) |
@@ -68,13 +68,15 @@ Git:
| Title | Detail | When |
|---|---|---|
| Committed 1 file / Committed N files | commit subject (first 34 characters) | A commit succeeded |
| Commit failed | git's error | The commit did not work; your message stays in the field |
| Pushing… | none | A push started |
| Pushed | git's message | The push succeeded |
| Push failed | git's message | The push did not work |
| Discarded changes | path | After Discard changes |
| Discard failed | path | Discard did not work |
| Stage failed / Unstage failed | path or git's error | Staging or unstaging did not work |
| 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:
@@ -90,7 +92,7 @@ Two other messages appear for a moment, but they are not toasts:
## Related
- [Git](git.md): commit, push, stage and discard, which report through toasts.
- [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.
+1 -1
View File
@@ -78,7 +78,7 @@ Pass on to Agent sends a pointer to your code to the [Claude Code](claude-code.m
- Without a selection, `Cmd+Right` in the code keeps its normal meaning (end of line).
### Other things you can pass on
- Files, folders and Git rows have their own pass-on items in their [right-click menu](right-click-menu.md), such as **Pass on file name**.
- Files, folders and [Git](git.md) view rows have their own pass-on items in their [right-click menu](right-click-menu.md), such as **Pass on file name**.
## Keyboard
+30 -40
View File
@@ -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 rows, 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 the Commit button, 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)
@@ -15,26 +15,26 @@ Helder draws its own right-click menu, in the same dark style everywhere. This p
| * Pass on file name |
| # Copy file name |
|----------------------------------------| (3)
| + Stage changes |
| <> Open diff |
| (4) <- Discard changes |
| / Rename file |
| [] Show in Finder |
| (4) x Delete file |
+----------------------------------------+
```
1. **Header**: what you clicked: a path, or the project name ending in `/`. Folder, code, Diff and terminal menus have no header.
1. **Header**: what you clicked: a path, or the project name ending in `/`. Folder, code, Diff, terminal and commit 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**: Discard and Delete read in amber-deep, so they stand out.
4. **Destructive item**: Delete reads in amber-deep, so it stands out.
Each item has a small icon. Add-type items (Stage, New file, New folder) have a teal icon. Copy file name, Unstage and Show in Finder have an amber icon. Read aloud has a speaker icon. Plak has a note icon with a plus.
Each item has a small icon. Add-type items (New file, New folder) have a teal icon. Copy file name and Show in Finder have an amber icon. Read aloud has a speaker icon. Plak has a note icon with a plus.
## Features
### Open, use and close a menu
- **Right-click** (or `Ctrl`+click) to open a menu at the pointer.
- On a [Git](git.md) or [Explorer](explorer.md) row, the menu opens beside the column, level with the row, so it never covers the list.
- **With the keyboard**: in the Git column or the Explorer, move the row cursor with `Up` / `Down`, then press `Cmd+Right`. The menu opens for the row under the cursor.
- On an [Explorer](explorer.md) row opened with the keyboard, the menu opens beside the column, level with the row, so it never covers the list.
- **With the keyboard**: in the Explorer, move the row cursor with `Up` / `Down`, then press `Cmd+Right`. The menu opens for the row under the cursor.
- Inside the menu:
- `Up` / `Down` (or `Cmd+Up` / `Cmd+Down`) move the highlight. It wraps around and skips separators.
- Hovering an item highlights it.
@@ -60,46 +60,38 @@ These items show up in several menus.
### Git rows
Right-click a row in the [Git](git.md) column. The header is the file's path. The menu differs in one item between the two groups.
A row in **Changes** (unstaged):
Right-click a file row in the [Git](git.md) view. The header is the file's path.
```text
+----------------------------------------+
| app/Http/UserController.php |
|----------------------------------------|
| [] Open in editor |
|----------------------------------------|
| * Pass on reference |
| # Copy reference |
| * Pass on file name |
| # Copy file name |
|----------------------------------------|
| + Stage changes |
| <> Open diff |
| <- Discard changes |
+----------------------------------------+
```
A row in **Staged Changes**:
- **Open in editor** (bold): closes the Git view and opens the file in the [File view](file-view.md). A deleted file has nothing to open, so its menu holds only the two reference items.
- **Pass on reference**: closes the Git view, then opens the [Pass on](pass-on-to-agent.md) prompt with the file's path.
- **Copy reference**: copies 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
+----------------------------------------+
| app/Http/UserController.php |
|----------------------------------------|
| * Pass on reference |
| # Copy reference |
| * Pass on file name |
| # Copy file name |
|----------------------------------------|
| - Unstage changes |
| <> Open diff |
| <- Discard changes |
| v Commit |
| ^ Commit and push |
+----------------------------------------+
```
- **Stage changes** (unstaged rows only): stages the file. Asks first only when `git.confirmStage` is on.
- **Unstage changes** (staged rows only): moves the file back to Changes. Asks first only when `git.confirmUnstage` is on.
- **Open diff**: opens the file in the full-screen [Diff](file-view-diff.md), comparing the last commit with the file on disk.
- **Discard changes**: throws away all changes to the file, staged and unstaged. A file that exists in the last commit goes back to it. A new file is deleted. It asks first by default (`git.confirmDiscard`); see [Dialogs](dialogs.md#discard-changes). It cannot be undone.
- **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
@@ -120,7 +112,7 @@ Right-click a file in the [Explorer](explorer.md). The header is the file's path
+----------------------------------------+
```
A Markdown file (`.md`), in the Explorer or on a git row, gets one extra group after the copy items:
A Markdown file (`.md`) in the Explorer gets one extra group after the copy items:
```text
+----------------------------------------+
@@ -309,7 +301,7 @@ Without a selection:
| Keys | Action |
|---|---|
| `Cmd+Right` | Open the menu of the row under the cursor (Git column or Explorer) |
| `Cmd+Right` | Open the menu of the row under the cursor (Explorer) |
| `Up` / `Down` | Move the highlight; wraps around |
| `Cmd+Up` / `Cmd+Down` | Move the highlight, the same as `Up` / `Down` |
| `Enter` | Run the highlighted item |
@@ -319,9 +311,7 @@ Without a selection:
| Setting | Default | Effect |
|---|---|---|
| `git.confirmDiscard` | `true` | Discard changes asks first |
| `git.confirmStage` | `false` | Stage changes asks first |
| `git.confirmUnstage` | `false` | Unstage changes asks first |
| `git.confirmDiscard` | `true` | Discard and Delete on a [Git](git.md) row ask first |
Delete file and Delete folder always ask; no setting turns that off.
@@ -329,7 +319,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 behind the git menus.
- [Git](git.md): the rows and the Commit button 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 Open diff and Show diff lead.
- [File view: Diff](file-view-diff.md): where Show diff leads.
- [Notifications](notifications.md): the confirmations after Copy and file actions.
+12 -11
View File
@@ -1,6 +1,6 @@
# Search
Search is a large overlay over the whole window. One query searches the open file, the contents of the project and the file names at the same time.
Search covers the whole window, edge to edge, like the [Git view](git.md). One query searches the open file, the contents of the project and the file names at the same time.
[Guide index](index.md) · Related: [Go to file](go-to-file.md), [File view](file-view.md), [Explorer](explorer.md)
@@ -9,14 +9,14 @@ Search is a large overlay over the whole window. One query searches the open fil
```text
+----------------------------------------------------------------------------+
| (1) Q handle_ (2) [php][md] (3) 3 here . 39 hits . 2 f |
+------------------+-----------------------------------------+---------------+
| (4) app.php 3 | (5) PROJECT 39 | (6) FILES 2 |
| 12 function han | src/app.php 3 | Handler.php |
| 40 $this->handl | 12 function handle() { | src/ |
| 88 handle($r); | 40 $this->handle($x); | handle.md * |
| | tests/AppTest.php 1 | docs/ |
| | 7 ->handle() | |
+------------------+-----------------------------------------+---------------+
+----------------------+---------------------------------+-------------------+
| (4) app.php 3 | (5) PROJECT 39 | (6) FILES 2 |
| 12 function handle | src/app.php 3 | Handler.php |
| 40 $this->handle( | 12 function handle() { | src/ |
| 88 handle($r); | 40 $this->handle($x); | handle.md * |
| | tests/AppTest.php 1 | docs/ |
| | 7 ->handle() | |
+----------------------+---------------------------------+-------------------+
| (7) Cmd+Left / Cmd+Right column Cmd+Up / Cmd+Down row Enter open esc |
+----------------------------------------------------------------------------+
```
@@ -34,7 +34,7 @@ Search is a large overlay over the whole window. One query searches the open fil
### Opening search
- Press `Cmd+F`, or click **Search** in the [title bar](title-bar.md).
- With text selected in the file view, the query starts with the first line of that selection.
- The overlay fills the window, with a small margin. Click the dimmed area around it to close it.
- Search covers the whole window, title bar and status bar included, with no margin. Press `Esc` to close it.
### Typing
- Results update as you type.
@@ -47,7 +47,8 @@ Search is a large overlay over the whole window. One query searches the open fil
- File names that match on the name come first, before matches that only hit the folder path. Earlier and shorter matches rank higher.
### The three columns
- The focused column is wide. The others shrink to the side. The focused column's title and count turn amber.
- The columns keep a fixed width: This file 30 percent, Project 45 percent, Files 25 percent. Without an open file: Project 65 percent, Files 35 percent.
- Moving the focus does not change a width. The focused column's title and count turn amber.
- Each project file shows its path and its number of hits. Up to 12 hit lines are shown per file; the count still tells the full number.
- Each hit line shows its line number and the line, with the match highlighted.
- In **Files**, the folder sits below the name. An amber dot marks a file with uncommitted git changes.
+2 -1
View File
@@ -32,7 +32,8 @@ The bar is one row in the app. It is drawn on two rows here to fit the page.
### Git summary (left)
- The branch, the added and removed line totals, and the staged and unstaged counts.
- These follow the [Git](git.md) column. They update when you stage, unstage, commit, or when files change on disk.
- These follow git. They update when you stage, unstage or commit in the [Git](git.md) view, or when files change on disk.
- The full-screen Git view covers the status bar while it is open.
### File facts (right)
- The path, the cursor position and the language appear only while a file is open.
+18 -15
View File
@@ -1,6 +1,6 @@
# Title bar
The title bar is the 44-point strip across the top of a project window. It tells you which project, branch and file you are on, and holds the column toggles and the main tools.
The title bar is the 44-point strip across the top of a project window. It tells you which project, branch and file you are on, and holds the column toggles, the Git toggle and the main tools.
[Guide index](index.md) · Related: [Window layout](layout.md), [Search](search.md), [Keyboard shortcuts](keyboard-shortcuts.md)
@@ -11,8 +11,8 @@ The title bar is the 44-point strip across the top of a project window. It tells
| o o o Helder. shop . main app > Http > User.php * |
| (1) (2) (3) (4) (5) (6) |
| |
| [.Git|.Explorer|.File|.Claude] [Search |.Fluid |.Hidden] [?] |
| (7) (8) (9) (9) (10) |
| [.Explorer|.File|.Claude] [Git 3 |Search |.Fluid |.Hidden] [?] |
| (7) (8) (9) (10) (10) (11) |
+----------------------------------------------------------------------------+
```
@@ -21,7 +21,7 @@ The bar is one row in the app. It is drawn on two rows here to fit the page.
While Helder reads aloud, a **Stop** button leads the toolbar:
```text
| [.Stop |Search |.Fluid |.Hidden] [?] |
| [.Stop |Git 3 |Search |.Fluid |.Hidden] [?] |
```
1. **Window buttons**: the macOS close, minimize and zoom buttons.
@@ -30,10 +30,11 @@ While Helder reads aloud, a **Stop** button leads the toolbar:
4. **Branch**: the current git branch, in amber.
5. **Breadcrumb**: the path of the open file, folder by folder.
6. **Unsaved dot**: an amber dot when the open file has unsaved edits.
7. **Pane toggles**: one button per column.
8. **Search**: a button that opens an overlay.
9. **Fluid** and **Hidden**: on/off toggles.
10. **`?`**: opens the keyboard shortcuts.
7. **Pane toggles**: each shows or hides one column.
8. **Git N**: opens and closes the Git view.
9. **Search**: a button that opens an overlay.
10. **Fluid** and **Hidden**: on/off toggles.
11. **`?`**: opens the keyboard shortcuts.
## Features
@@ -52,26 +53,26 @@ While Helder reads aloud, a **Stop** button leads the toolbar:
- The breadcrumb is for reading only. Clicking it does nothing.
### Pane toggles
- Four buttons in one box: **Git**, **Explorer**, **File**, **Claude**.
- Each button shows or hides its column. A dot on the button shows that the column is on.
- The hover tooltip says whether the column is shown or hidden, and what a click does.
- Three buttons in one box: **Explorer**, **File**, **Claude**.
- Each shows or hides its column. A dot on the button shows that the column is on. `Cmd+1`, `Cmd+2` and `Cmd+3` do the same.
- The hover tooltip says whether the column is shown, and what a click does.
- The toggles sit in the centre of the window. They only move left when the toolbar would run into them.
- Hiding a column keeps everything inside it. See [Window layout](layout.md).
- `Cmd+G` does the same as the **Git** toggle.
### Toolbar
The toolbar sits on the right. Each button shows its shortcut next to its label.
- **Git N** (`Cmd+G`): opens the full-screen [Git](git.md) view. N counts the changed files; a file that is both staged and unstaged counts once. With no changes it reads **Git**. The view covers the title bar, so close it with `Cmd+G`, `Esc` or its own **Close** button.
- **Search** (`Cmd+F`): opens search over the open file, the project contents and the file names. See [Search](search.md).
- **Fluid** (`Cmd+L`): when on, the columns re-fit on resize and when focus moves. When off, they keep their size. See [Window layout](layout.md).
- **Hidden** (`Cmd+.`): when on, dotfiles appear in the Explorer and in search.
- **`?`**: opens the keyboard shortcuts list. See [Keyboard shortcuts](keyboard-shortcuts.md).
Fluid and Hidden carry a state dot like the pane toggles. Search has no dot, because it is an action. Hover any button for a tooltip that explains its current state.
Git, Fluid and Hidden carry a state dot like the pane toggles; Git's dot is on while the view is open. Search has no dot, because it is an action. Hover any button for a tooltip that explains its current state.
### Read aloud
- **Stop** shows only while Helder reads a file or a selection aloud. Start the reading from the [right-click menu](right-click-menu.md): **Read aloud** on a Markdown file, **Read aloud selection** in the code.
- It sits left of **Search**, in the same style, and its dot is on. The tooltip says "Read aloud: playing. Click to stop."
- It sits left of **Git**, in the same style, and its dot is on. The tooltip says "Read aloud: playing. Click to stop."
- Click it to switch it off: the reading stops and the button goes away.
- The button also goes away when the reading reaches the end. Switching projects or closing the window stops the reading.
@@ -85,13 +86,15 @@ Drag an empty part of the title bar to move the window, as in any macOS app.
| `Cmd+F` | Search |
| `Cmd+L` | Fluid column widths on or off |
| `Cmd+.` | Hidden files on or off |
| `Cmd+G` | Git column on or off |
| `Cmd+G` | Open or close the Git view |
| `Cmd+1` / `Cmd+2` / `Cmd+3` | Explorer, File or Claude column on or off |
| `?` | Keyboard shortcuts (when no text field has focus) |
| `Cmd+O` | Open a folder (same as clicking the project name) |
## Related
- [Window layout](layout.md): what the pane toggles, Fluid and Hidden do to the columns.
- [Git](git.md): the view the Git toggle opens.
- [Search](search.md): the overlay the Search button opens.
- [Keyboard shortcuts](keyboard-shortcuts.md): the overlay the `?` button opens.
- [Recent projects](recent-projects.md): opening another folder.
+1
View File
@@ -4,4 +4,5 @@
- [Architecture](architecture.md): layers, folder map, commands, file ownership, gotchas.
- [Design tokens](design/README.md): the visual source of truth (colours, type, geometry, screens).
- [Behaviour spec](behaviour.md): every panel and interaction.
- [Design handoff v2](design_handoff_helder_app_v2/README.md): the design source of the full-screen Git view (⌘G).
- [Plak URL scheme](plak.md): the `plak://` contract that the right-click Plak item relies on.