Skip to content

feat(ui): edit-drawer completeness — all backend values editable (slot/model/profile) + UI-2/20#1020

Merged
thinmintdev merged 2 commits into
mainfrom
fix/wave8b-drawer-completeness
Jul 4, 2026
Merged

feat(ui): edit-drawer completeness — all backend values editable (slot/model/profile) + UI-2/20#1020
thinmintdev merged 2 commits into
mainfrom
fix/wave8b-drawer-completeness

Conversation

@thinmintdev

Copy link
Copy Markdown
Contributor

Wave 8B — every backend-supported value made editable in the edit drawers

Audit found several typed fields the backend already accepts on its PUT endpoints but that no drawer let you edit. Plus a real data-loss bug and two polish items.

Slot drawer (slot-modals.jsx + slot_view enrichment)

  • vision toggle (drops --mmproj/~0.9 GB when off) — gated to models with an mmproj sidecar; needed a slot_view enrichment lift (+ test).
  • idle_timeout_s (Advanced; ge=0, 0 disables eviction).
  • NPU asr/embed modality toggles for FLM NPU slots.
  • UI-2 apply-semantics markers (live vs on-Save) on each field.
  • UI-20 MTP toggle now optimistic-with-revert (parity with Reasoning).

Model editor (model-modals.jsx)

  • Bug fix: onSave rebuilt defaults wholesale, silently clearing unshown ModelDefaults on every save — now sends the complete merged defaults.
  • New editable fields: capabilities, backends, rope_freq_base, mmproj, hf_repo/hf_filename — each only sent when actually changed (editing tags won't wipe capabilities/backends).

Profile drawer (profiles.jsx)

  • Fixed the device_class='img' dead/corrupting control so ComfyUI image profiles round-trip (were silently rewritten on edit).

Verification

  • vite build clean; tests/slot_view 53 passed; drawer e2e (slots/models/profiles/inference) 34 passed; tree-wide ruff clean.
  • Data-correctness review: clean — verified no save path wipes a backend field and all new fields round-trip (complete-object sends, change-gated, NaN-guarded).

🤖 Generated with Claude Code

@thinmintdev thinmintdev enabled auto-merge (squash) July 4, 2026 04:17
@thinmintdev thinmintdev force-pushed the fix/wave8b-drawer-completeness branch from cfbdcc8 to 18bc096 Compare July 4, 2026 04:17
thinmintdev and others added 2 commits July 4, 2026 00:33
…ofile drawers + UI-2/20

Slot drawer: add vision toggle (+ slot_view enrichment lift & test),
idle_timeout_s (Advanced), NPU asr/embed toggles; UI-2 apply-semantics
markers (live vs on-Save); UI-20 MTP optimistic-with-revert (parity with
Reasoning). Model editor: expose capabilities, backends, rope_freq_base,
mmproj, hf_repo/hf_filename, and FIX the wholesale defaults-rebuild that
silently cleared unshown ModelDefaults on save (now sends complete
defaults; new fields only sent when changed). Profile: fix the
device_class='img' dead/corrupting control so ComfyUI img profiles
round-trip. All backend endpoints already accepted these — pure UI gaps.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…drawer

CI γ-suite caught two overreaches: idle_timeout_s reintroduced a control
#587 deliberately removed as clobber-prone/profile-owned, and the UI-2
'applies now' ApplyChip rendered inside the label span (Reasoning ->
'Reasoningapplies now'), breaking label-text assertions and screen-reader
labels. Reverted both; kept vision, NPU asr/embed, UI-20 MTP-optimistic,
model-editor completeness, and the profile img fix.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@thinmintdev thinmintdev force-pushed the fix/wave8b-drawer-completeness branch from 2f44209 to c8aceb3 Compare July 4, 2026 04:33
@thinmintdev thinmintdev merged commit 7aac39a into main Jul 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant