Add the Bot settings group with limit, usage bar, and clean modal
This commit is contained in:
+4
-3
@@ -1,8 +1,8 @@
|
||||
# Media archive
|
||||
|
||||
Status: design approved 2026-09-16. The engine, the slopbot backend, the `scrape media` command,
|
||||
the `/api/media/*` routes, and storage limits with retention are implemented (C3-C7a). The Media
|
||||
and Bot tabs are C6; the Settings group is C7b. Checkpoints live in [CURRENT.md](../CURRENT.md).
|
||||
the `/api/media/*` routes, storage limits with retention, and the Settings group are implemented
|
||||
(C3-C7b). The Media and Bot tabs are C6. Checkpoints live in [CURRENT.md](../CURRENT.md).
|
||||
|
||||
The media archive saves the media history of a channel. A trusted user runs `scrape media` in the
|
||||
channel. The daemon walks the history through a scrape backend and indexes every image, GIF,
|
||||
@@ -125,7 +125,8 @@ that deletion is irreversible. The delete button is disabled for a 5 second coun
|
||||
database overhead.
|
||||
- Settings gains one collapsible group. Its name is **Bot** while the bot path is active, and
|
||||
**Media** if the bot path is removed. It holds the limit field with the info tooltip, the usage
|
||||
bar, and the clean button.
|
||||
bar (segmented by image, GIF, video, audio, and other), and the clean button with its 5 second
|
||||
countdown.
|
||||
- Mobile is out of scope for now.
|
||||
|
||||
## MCP
|
||||
|
||||
@@ -171,6 +171,9 @@ The Settings button opens a slide-over:
|
||||
the bot's devices. Clicking **Client audio** in the header does the same: it asks for the
|
||||
permission, unlocks the audio context in the same click, and then starts listening. A second
|
||||
click stops it.
|
||||
- **Bot** — slopbot connection state, the media storage limit in GiB with an info tooltip (5% overrun
|
||||
and the warning rule), the usage bar segmented by image, GIF, video, audio, and other, and
|
||||
**Clean media…** with a 5 second confirmation countdown. See [media.md](media.md).
|
||||
- **Server** — a collapsible group with:
|
||||
- **Core process** — state, last exit, output, Start / Stop / Restart.
|
||||
- **Account login** — token file state, QR login, captcha.
|
||||
|
||||
Reference in New Issue
Block a user