Skip to content

feat(gui3): add loaded model visibility and unload controls to chat page - #2680

Merged
fl0rianr merged 1 commit into
kpoin/ui-testingfrom
kpoin/2573-chat-loaded-models
Jul 12, 2026
Merged

fl0rianr merged 1 commit into
kpoin/ui-testingfrom
kpoin/2573-chat-loaded-models

Conversation

@kpoineal

Copy link
Copy Markdown
Collaborator

Addresses #2573 — the chat page had no way to see which models are loaded or unload them.

Changes

  • Loaded count badge on the model picker button shows how many models are currently loaded, giving at-a-glance awareness without opening the dropdown.
  • Per-row unload button on each loaded model row in the picker dropdown. Clicking it calls api.unloadModel() and refreshes the model list. The select and unload actions are visually and structurally separated to prevent accidental unloads.
  • Always-visible unload button — no hover required, works on touch/mobile devices.
  • Accessible: aria-label, independent keyboard focus, aria-live polite region announces completion.
  • Loading state: row dims and shows a spinner during the unload operation.

Testing

  • Playwright: 200/200 passing
  • Manual: verified on desktop and mobile

…cker

Surfaces loaded model visibility and unload controls directly in the
chat page model picker dropdown, addressing #2573.

- Show loaded model count badge on the picker button
- Add per-row unload button for loaded models in the dropdown
- Unload button always visible (touch-friendly, no hover required)
- aria-live announcement on unload completion
- Loading/spinner state during unload operation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added app enhancement New feature or request labels Jul 12, 2026

@fl0rianr fl0rianr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@fl0rianr
fl0rianr merged commit a66ea88 into kpoin/ui-testing Jul 12, 2026
53 checks passed
@fl0rianr
fl0rianr deleted the kpoin/2573-chat-loaded-models branch July 12, 2026 17:14
fl0rianr pushed a commit that referenced this pull request Jul 17, 2026
…cker (#2680)

Surfaces loaded model visibility and unload controls directly in the
chat page model picker dropdown, addressing #2573.

- Show loaded model count badge on the picker button
- Add per-row unload button for loaded models in the dropdown
- Unload button always visible (touch-friendly, no hover required)
- aria-live announcement on unload completion
- Loading/spinner state during unload operation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants