Skip to content

Open WebUI header + Remove device modal - #7

Open
scott-tp wants to merge 1 commit into
masterfrom
feat/remove-device-modal-open-webui-header
Open

scott-tp wants to merge 1 commit into
masterfrom
feat/remove-device-modal-open-webui-header

Conversation

@scott-tp

@scott-tp scott-tp commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Move Open WebUI into the device card header (opens base_url in a new tab); drop the old Launch WebUI ↗ link in the TinyPilot section.
  • Replace window.confirm delete with an in-page Remove device modal that requires typing REMOVE.
  • Add --color-danger, quiet danger confirm styling, aligned Cancel/Remove actions, and a centered modal ×.

Test plan

  • Add a device locally; confirm header Open WebUI opens the device URL.
  • Click Remove device → modal appears (no browser confirm).
  • Cancel / Esc / backdrop close without deleting.
  • Type REMOVE and confirm; device leaves the list.
  • pytest tests/test_remove_device_ui.py -q
    Review on CodeApprove

…REMOVE modal.

Native confirm/prompt dialogs are unreliable in embedded browsers; the in-page
modal types REMOVE, uses a quiet danger confirm, and keeps the card Remove
button as a normal primary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant