adds a functional design
This commit is contained in:
@@ -0,0 +1,89 @@
|
||||
# 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.
|
||||
|
||||
[Guide index](index.md) · Related: [Window layout](layout.md), [Search](search.md), [Notes](notes.md), [Keyboard shortcuts](keyboard-shortcuts.md)
|
||||
|
||||
## At a glance
|
||||
|
||||
```text
|
||||
+----------------------------------------------------------------------------+
|
||||
| o o o Helder. shop . main app > Http > User.php * |
|
||||
| (1) (2) (3) (4) (5) (6) |
|
||||
| |
|
||||
| [.Git|.Explorer|.File|.Claude] [Search |.Fluid |.Hidden |Note] [?] |
|
||||
| (7) (8) (9) (9) (8) (10) |
|
||||
+----------------------------------------------------------------------------+
|
||||
```
|
||||
|
||||
The bar is one row in the app. It is drawn on two rows here to fit the page.
|
||||
|
||||
1. **Window buttons**: the macOS close, minimize and zoom buttons.
|
||||
2. **Wordmark**: "Helder" with a blinking amber dot.
|
||||
3. **Project name**: the project folder's name. Click it to open another folder.
|
||||
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** and **Note**: buttons that open an overlay.
|
||||
9. **Fluid** and **Hidden**: on/off toggles.
|
||||
10. **`?`**: opens the keyboard shortcuts.
|
||||
|
||||
## Features
|
||||
|
||||
### Wordmark, project and branch
|
||||
- The wordmark sits right after the window buttons. In full screen the window buttons are gone, and everything moves left.
|
||||
- The project name is dim and turns brighter on hover. Click it to open a folder picker and switch this window to another project. See [Recent projects](recent-projects.md).
|
||||
- A middle dot separates the project name from the branch.
|
||||
- The branch shows in amber. It shows `—` when the folder has no git branch.
|
||||
|
||||
### Breadcrumb
|
||||
- Shows the path of the open file, with `›` between the parts, for example `resources › views › form.blade.php`.
|
||||
- Folder names are dim. The file name is bright and bold.
|
||||
- An amber dot after the file name means the file has unsaved edits. Hover it to read "Unsaved changes".
|
||||
- When the path is too long, it cuts off at the start, so the file name stays visible.
|
||||
- With no file open, the space is empty.
|
||||
- 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.
|
||||
- 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.
|
||||
|
||||
- **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.
|
||||
- **Note** (`Cmd+N`): opens the project note. See [Notes](notes.md).
|
||||
- **`?`**: opens the keyboard shortcuts list. See [Keyboard shortcuts](keyboard-shortcuts.md).
|
||||
|
||||
Fluid and Hidden carry a state dot like the pane toggles. Search and Note have no dot, because they are actions. Hover any button for a tooltip that explains its current state.
|
||||
|
||||
### Moving the window
|
||||
Drag an empty part of the title bar to move the window, as in any macOS app.
|
||||
|
||||
## Keyboard
|
||||
|
||||
| Keys | Action |
|
||||
|---|---|
|
||||
| `Cmd+F` | Search |
|
||||
| `Cmd+L` | Fluid column widths on or off |
|
||||
| `Cmd+.` | Hidden files on or off |
|
||||
| `Cmd+N` | Project note |
|
||||
| `Cmd+G` | Git 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.
|
||||
- [Search](search.md): the overlay the Search button opens.
|
||||
- [Notes](notes.md): the overlay the Note button opens.
|
||||
- [Keyboard shortcuts](keyboard-shortcuts.md): the overlay the `?` button opens.
|
||||
- [Recent projects](recent-projects.md): opening another folder.
|
||||
- [Status bar](status-bar.md): the matching bar at the bottom of the window.
|
||||
Reference in New Issue
Block a user