feat(tui): Generate screen — prompt editor & parameter fields #59
No reviewers
Labels
No labels
area:agents
area:ai
area:config
area:dashboard
area:design
area:design-review
area:devtools
area:entities
area:gallery
area:generate
area:image
area:infra
area:meta
area:model-browser
area:navigation
area:presets
area:security
area:sessions
area:settings
area:sharing
area:test
area:ux
area:webhook
area:workdir
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/loom!59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "tui/generate-prompt-20"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Twelfth PR. Replaces the Generate stub with a real screen holding a
loom_core::GenerationParamsand providing inline editors for every parameter. Stacks on #58. Closes charles/loom#20.What's in
screens/generate.rs—GenerateScreen,GenerateFocus(11 fields),handle_prompt_key/handle_param_keyCtrl+Uclear,Ctrl+Wdelete word,Enternewlineu32, digit entry + Backspace, clamped to[1,500]/[64,2048]f64, digit+dot +Up/Downfor ±0.5 step, clamped[0,50]i64;R→-1(random),L→ last seed if presentu32editorTab/Shift+Tabcycles focus across the whole field listF5runsvalidate()(non-empty prompt, w/h ≥ 64, steps ≥ 1, batch ≥ 1) and submits — for now a success emits an info notification; a failure emits a warn. Real generation wiring comes later in Phase 3 oncePluginBridgeis threaded throughAppCtxscreenspromoted to a directoryTests (6 new, 65 total)
GenerateFocus::nextround-trips back toPromptR/Lin the Seed fieldNoneonce a prompt is setOut of scope
PluginBridge::list_models()/list_samplers()come when the bridge is wired throughAppCtx