tui: Presets screen #38

Closed
opened 2026-04-11 13:05:52 +00:00 by charles · 0 comments
Owner

User story

As a user, I want to save, load, duplicate, and share full generation configurations as presets, so that I can switch between favourite setups instantly.

Acceptance criteria

List

  • Table of saved presets with columns: name, backend, model, sampler, steps, CFG
  • j/k navigation; Enter applies the focused preset to the Generate screen

CRUD

  • a creates a new preset from current Generate settings (prompts for a name)
  • e edits name and parameters inline
  • d deletes with confirmation
  • r renames
  • y duplicates with suffix (e.g. name copy)

Import / Export

  • E exports the focused preset to a TOML file (path picker)
  • I imports a TOML file as a new preset

Persistence

  • Uses loom-core preset service
  • Default presets from loom-core::default_presets() always available (marked as read-only)

Tests

  • Unit test: round-trip export + import produces an equivalent preset
  • Unit test: deleting a default preset is rejected

Out of scope

  • Preset editor for fields not on the Generate screen (there are none)

References

  • Spec §4.5 "Presets Screen"
## User story As a user, I want to save, load, duplicate, and share full generation configurations as presets, so that I can switch between favourite setups instantly. ## Acceptance criteria ### List - [ ] Table of saved presets with columns: name, backend, model, sampler, steps, CFG - [ ] `j`/`k` navigation; `Enter` applies the focused preset to the Generate screen ### CRUD - [ ] `a` creates a new preset from current Generate settings (prompts for a name) - [ ] `e` edits name and parameters inline - [ ] `d` deletes with confirmation - [ ] `r` renames - [ ] `y` duplicates with suffix (e.g. `name copy`) ### Import / Export - [ ] `E` exports the focused preset to a TOML file (path picker) - [ ] `I` imports a TOML file as a new preset ### Persistence - [ ] Uses `loom-core` preset service - [ ] Default presets from `loom-core::default_presets()` always available (marked as read-only) ### Tests - [ ] Unit test: round-trip export + import produces an equivalent preset - [ ] Unit test: deleting a default preset is rejected ## Out of scope - Preset editor for fields not on the Generate screen (there are none) ## References - Spec §4.5 "Presets Screen"
charles added this to the loom-tui v0.1.0 milestone 2026-04-11 13:05:52 +00:00
charles referenced this issue from a commit 2026-04-11 16:36:09 +00:00
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
charles/loom#38
No description provided.