Skip to content

Commit 4c7d845

Browse files
committed
Dashboard commands
1 parent 6e1bc6d commit 4c7d845

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

docs/more/dashboard.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ title: Dashboard
44

55
# Dashboard
66

7-
::: warning Pre-release
8-
9-
Dashboard is vailable only on v0.6.0 RC
10-
11-
:::
12-
137
Dockform includes a fullscreen terminal dashboard that gives you a live, at‑a‑glance view of your stacks, containers, and logs.
148

159
## Launching
@@ -49,9 +43,23 @@ Headers highlight the active pane with a subtle gradient. Colors are tuned for a
4943
- `→/l/pgdn`, `←/h/pgup` Next/previous page
5044
- `Tab` Cycle pane (Stacks ↔ Logs)
5145
- `Enter` Focus logs (from Stacks)
46+
- `Ctrl+P` Open command palette (Pause/Restart/Stop/Delete selected container)
5247

5348
When filtering, type to search across stack, service, container, and image fields. Press `Esc` to leave filter mode.
5449

50+
## Command Palette
51+
52+
Press `Ctrl+P` to open a floating command palette centered over the dashboard. The palette shows the currently selected container and offers the following operations:
53+
54+
![command palette](/img/commands.png)
55+
56+
- Pause — runs `docker container pause` for the container
57+
- Restart — runs `docker container restart`
58+
- Stop — runs `docker container stop`
59+
- Delete — force removes the container with `docker container rm -f`
60+
61+
Use the arrow keys to highlight a command, `Enter` to execute it, and `Esc` to close the palette without acting. If no container is selected, the palette indicates it and actions are disabled. After a command runs, the regular status polling and logs stream reflect the new container state automatically.
62+
5563
## What You See
5664

5765
- Status bullets per service
@@ -71,6 +79,7 @@ When filtering, type to search across stack, service, container, and image field
7179
- Selecting an item in Stacks automatically starts tailing that container’s logs in the center pane (with a small debounce to avoid rapid restarts while navigating)
7280
- Press `Enter` to bring focus to the Logs pane; use the same navigation keys to scroll
7381
- Press `Tab` to toggle focus between Stacks and Logs
82+
- Command palette actions operate on the currently selected container; once Docker finishes the operation, statuses and attachments refresh on the next poll
7483

7584
## Data Flow and Sources
7685

@@ -99,4 +108,3 @@ Under the hood, the dashboard combines static data from Compose with live inform
99108
- Volumes/networks are shown from the context; only attachments for the selected entry are highlighted
100109

101110
:::
102-

docs/public/img/commands.png

87.6 KB
Loading

docs/public/img/preview.png

-537 KB
Loading

0 commit comments

Comments
 (0)