Settings → Plugins: enable or disable each plugin easily (grill first) #328

Open
opened 2026-10-14 17:24:52 +00:00 by kayg · 3 comments
Owner

kayg (2026-10-14, night): "We need a plugin section in Settings where each plugin can be easily enabled or disabled, especially as Photos and Documents will now have thumbnail creation and more components in them. We can also grill this tomorrow."

Everything is a plugin (standing rule). This gives people the switchboard.

Grill tomorrow; questions to draft:

  • the list layout: grouped by area (Editor, Search, Attachments, Photos, Documents, Backgrounds…), each with a one-line description and its cost (disk, CPU);
  • sub-plugins: Photos → thumbnails, HEIC, recognition (#274); Documents → PDF first page, OCR (#273);
  • what disabling does to existing data (keep it, stop new work, clean up on request);
  • server-wide versus per-user switches (admin versus person);
  • defaults;
  • whether a plugin can declare dependencies;
  • that disabled plugins do zero work (perf gate: idle CPU 0, no background queues).

Mockup first on preview after the grill.

kayg (2026-10-14, night): "We need a plugin section in Settings where each plugin can be easily enabled or disabled, especially as Photos and Documents will now have thumbnail creation and more components in them. We can also grill this tomorrow." Everything is a plugin (standing rule). This gives people the switchboard. **Grill tomorrow; questions to draft:** - the list layout: grouped by area (Editor, Search, Attachments, Photos, Documents, Backgrounds…), each with a one-line description and its cost (disk, CPU); - sub-plugins: Photos → thumbnails, HEIC, recognition (#274); Documents → PDF first page, OCR (#273); - what disabling does to existing data (keep it, stop new work, clean up on request); - server-wide versus per-user switches (admin versus person); - defaults; - whether a plugin can declare dependencies; - that disabled plugins do zero work (perf gate: idle CPU 0, no background queues). Mockup first on preview after the grill.
Author
Owner

kayg's grill answers, 2026-10-15 (so far):

  • P1: one Plugins page in Settings to turn each plugin on or off. When a plugin is on, its own settings show up in Settings' sidebar under Plugins, e.g. Plugins › Photos. A plugin that's off has no settings page.
  • P2: don't show cost; it isn't user-friendly. The description says only what the plugin does when it's on. Calternal ships an opinionated set of defaults, switched on.
  • P3 (sub-plugins): kayg's answer was cut off; asked again.
**kayg's grill answers, 2026-10-15 (so far):** - **P1:** one Plugins page in Settings to turn each plugin on or off. When a plugin is on, its own settings show up in Settings' sidebar under Plugins, e.g. *Plugins › Photos*. A plugin that's off has no settings page. - **P2:** don't show cost; it isn't user-friendly. The description says only what the plugin does when it's on. Calternal ships an opinionated set of defaults, switched on. - **P3 (sub-plugins):** kayg's answer was cut off; asked again.
Author
Owner

kayg's grill answers, 2026-10-15 (continued):

  • P3, sub-plugins: they appear under their parent on the Plugins page, not as separate Settings entries. Turning a sub-plugin on unlocks its options inside the parent's page. Example: Photos → Thumbnails on makes a Thumbnails section in Settings › Plugins › Photos. The hierarchy is Plugins page (switches) → Plugins › (its settings plus its enabled sub-plugins' settings).
  • P4: yes. Turning a plugin off keeps all its data and stops all new work. Its row shows a 'Remove existing data' button.
  • P5: yes. People see only the switches that affect them; admins see the server-wide ones.
  • P6: everything cheap is on. Expensive features (OCR, recognition) are opt-in. These are the defaults for the open-source rootless Podman image.
  • P7: yes. No dependency trees; a single line saying it needs another plugin turned on.
  • P8: yes. A disabled plugin does zero work: a hard rule with a perf gate.
  • P9: don't show anything that can't be turned off. Everything that can be turned on and off is shown, and a large number of things should be switchable. Needs more discussion (follow-up questions in chat).
**kayg's grill answers, 2026-10-15 (continued):** - **P3, sub-plugins:** they appear under their parent on the Plugins page, not as separate Settings entries. Turning a sub-plugin on unlocks its options inside the parent's page. Example: Photos → Thumbnails on makes a Thumbnails section in *Settings › Plugins › Photos*. The hierarchy is Plugins page (switches) → Plugins › <Plugin> (its settings plus its enabled sub-plugins' settings). - **P4:** yes. Turning a plugin off keeps all its data and stops all new work. Its row shows a 'Remove existing data' button. - **P5:** yes. People see only the switches that affect them; admins see the server-wide ones. - **P6:** everything cheap is on. Expensive features (OCR, recognition) are opt-in. These are the defaults for the open-source rootless Podman image. - **P7:** yes. No dependency trees; a single line saying it needs another plugin turned on. - **P8:** yes. A disabled plugin does zero work: a hard rule with a perf gate. - **P9:** don't show anything that can't be turned off. Everything that can be turned on and off is shown, and a *large* number of things should be switchable. **Needs more discussion** (follow-up questions in chat).
Author
Owner

Plugins page mockup is live: https://preview.calternal.cloud/covers.html#/settings/plugins (PR #499, mockup, do not merge). Settings › Plugins on desktop and phone, with the hierarchy from P1–P17.

URLs: #/settings/plugins (the page), #/settings/plugins/photos and #/settings/plugins/images (a plugin's own page), #/settings/plugins?off=photos,documents&asking=documents (off, with Remove existing data and its confirmation), #/settings/plugins?q=photo (filter), #/settings/plugins?few=1 (a short list, so no filter field).

What it shows

  • One page of switches in two groups: Areas (Journal, Photos, Documents, Images for notes, Views, Link previews, Voice) and Editor features (Tables, Code highlighting, Math, Tasks, Tree lines, Markdown shortcuts, Previews, Mentions).
  • Sub-plugins hang under their parent (Photos › Thumbnails · iPhone photos · Recognition). A sub-plugin that is on adds its section to the parent's page, Settings › Plugins › Photos (turn Recognition on and its section appears). A plugin that is off has no page. On desktop the pages sit under Plugins in the sidebar; on a phone Plugins is one page with a row "Settings ›" per plugin.
  • Core parts are never listed. No costs: only what it does while on. Expensive things (Recognition, Text in scans, Transcripts) start off.
  • "Needs Photos" (a single line, no tree; turns into "Needs Photos turned on" and disables the switch when Photos is off), "Fetches from the web" (Unsplash, Link previews), "Set by your server" with a lock (Link previews, the switch is not yours).
  • Off keeps the data: "Off. Everything it made is kept." with Remove existing data, which asks in place ("Remove … ? Your own files are never touched. This can't be undone.") and then says what was removed.
  • A filter field once the list passes about 12 (here 15 top-level plugins); with few=1 it is gone.
  • Not made by Calternal: a placeholder section for other people's plugins.

Phone (390)
Plugins, phone
Off and removing data
Photos page, dark

Desktop (1440)
Plugins, desktop
off, dark
Photos page
filter
WebKit

Native sizing was measured against Apple's Settings in the iOS 27 simulator (see #484 for the side-by-side): 29 pt tile, 7 pt corner, 17 pt glyph and names, a full-size switch. Tested in Chromium and WebKit at 320–1440, light and dark.

Questions for kayg, each with my recommendation

  1. "Images for notes" as the name for Backdrops & Covers, with Needs Photos because an Unsplash pick is saved into Photos. Recommend yes.
  2. Phone: Plugins as its own page (one row in Settings), with a sub-page per plugin, rather than inline in the long Settings scroll. Recommend its own page.
  3. Sub-plugins stay visible but dimmed when the parent is off (so people see what comes back), rather than hidden. Recommend dimmed.
  4. "Set by your server" shows a lock and the switch in its set position; members never see server-only plugins' switches (P5). Recommend this.
  5. Remove existing data asks once, in place, and has no Undo (it is the one real deletion on the page). Recommend keeping the single in-place question.
  6. Filter threshold at 12 top-level plugins (sub-plugins don't count). Recommend this; the filter also searches the descriptions.
  7. Third-party shows only the placeholder now. Recommend deciding what installing one means (and the review wording) in its own grill.
**Plugins page mockup is live: https://preview.calternal.cloud/covers.html#/settings/plugins** (PR #499, mockup, do not merge). Settings › Plugins on desktop and phone, with the hierarchy from P1–P17. **URLs**: `#/settings/plugins` (the page), `#/settings/plugins/photos` and `#/settings/plugins/images` (a plugin's own page), `#/settings/plugins?off=photos,documents&asking=documents` (off, with Remove existing data and its confirmation), `#/settings/plugins?q=photo` (filter), `#/settings/plugins?few=1` (a short list, so no filter field). **What it shows** - One page of switches in two groups: **Areas** (Journal, Photos, Documents, *Images for notes*, Views, Link previews, Voice) and **Editor features** (Tables, Code highlighting, Math, Tasks, Tree lines, Markdown shortcuts, Previews, Mentions). - Sub-plugins hang under their parent (Photos › Thumbnails · iPhone photos · Recognition). A sub-plugin that is on adds its section to the parent's page, *Settings › Plugins › Photos* (turn Recognition on and its section appears). A plugin that is off has no page. On desktop the pages sit under Plugins in the sidebar; on a phone Plugins is one page with a row "Settings ›" per plugin. - Core parts are never listed. No costs: only what it does while on. Expensive things (Recognition, Text in scans, Transcripts) start off. - "Needs Photos" (a single line, no tree; turns into "Needs Photos turned on" and disables the switch when Photos is off), "Fetches from the web" (Unsplash, Link previews), "Set by your server" with a lock (Link previews, the switch is not yours). - Off keeps the data: "Off. Everything it made is kept." with **Remove existing data**, which asks in place ("Remove … ? Your own files are never touched. This can't be undone.") and then says what was removed. - A filter field once the list passes about 12 (here 15 top-level plugins); with `few=1` it is gone. - **Not made by Calternal**: a placeholder section for other people's plugins. **Phone** (390) ![Plugins, phone](https://git.kayg.org/attachments/bd6076dd-6756-432e-8750-7fa9ea9d57dd) ![Off and removing data](https://git.kayg.org/attachments/fc7443dd-0f33-42a3-9bb3-f47645f386ed) ![Photos page, dark](https://git.kayg.org/attachments/155c75b5-8bf1-48fc-bae3-494a3a0d2f7b) **Desktop** (1440) ![Plugins, desktop](https://git.kayg.org/attachments/7d7c5b13-51a5-431c-83da-99f167383d11) ![off, dark](https://git.kayg.org/attachments/0d4da278-560c-4f40-8079-43cded7e0992) ![Photos page](https://git.kayg.org/attachments/12202b2a-0780-4c09-9c41-2772d7b52572) ![filter](https://git.kayg.org/attachments/7a681556-dc9c-4f49-9b59-675d0fb8d155) ![WebKit](https://git.kayg.org/attachments/84c4ecaf-99cd-499e-9d07-fdad874208b5) Native sizing was measured against Apple's Settings in the iOS 27 simulator (see #484 for the side-by-side): 29 pt tile, 7 pt corner, 17 pt glyph and names, a full-size switch. Tested in Chromium and WebKit at 320–1440, light and dark. **Questions for kayg, each with my recommendation** 1. **"Images for notes"** as the name for Backdrops & Covers, with *Needs Photos* because an Unsplash pick is saved into Photos. *Recommend yes.* 2. **Phone**: Plugins as its own page (one row in Settings), with a sub-page per plugin, rather than inline in the long Settings scroll. *Recommend its own page.* 3. **Sub-plugins stay visible but dimmed** when the parent is off (so people see what comes back), rather than hidden. *Recommend dimmed.* 4. **"Set by your server"** shows a lock and the switch in its set position; members never see server-only plugins' switches (P5). *Recommend this.* 5. **Remove existing data** asks once, in place, and has no Undo (it is the one real deletion on the page). *Recommend keeping the single in-place question.* 6. **Filter threshold** at 12 top-level plugins (sub-plugins don't count). *Recommend this; the filter also searches the descriptions.* 7. **Third-party** shows only the placeholder now. *Recommend deciding what installing one means (and the review wording) in its own grill.*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#328
No description provided.