Skip to content

Let users rename a device already on the dashboard - #9

Merged
scott-tp merged 1 commit into
masterfrom
feature/device-friendly-name
Nov 17, 2026
Merged

scott-tp merged 1 commit into
masterfrom
feature/device-friendly-name

Conversation

@scott-tp

@scott-tp scott-tp commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • A friendly name is chosen when a device is added and could not be changed afterward.
  • Rename updates the existing devices.friendly_name column. No new table or column.
  • The control sits on the card title and does not rebuild the card, so the preview stays.
  • Names are limited to 60 characters so a long name ellipsizes instead of crowding Rename and Open WebUI.

Test plan

  • ./venv/bin/pytest -q tests/test_api_connections.py tests/test_remove_device_ui.py (42 passed)
  • ./dev-scripts/check-python (71 passed)
  • ./dev-scripts/check-javascript
  • Browser: rename, blank name rejected, Cancel restores the title, a 60-character name ellipsizes
  • CircleCI
    Review on CodeApprove

The friendly name was fixed when a device was added. Rename updates that existing column, and names stay within 60 characters so the card header does not overflow.
@scott-tp
scott-tp merged commit 399b847 into master Nov 17, 2026
7 checks passed
@scott-tp scott-tp mentioned this pull request Nov 17, 2026
3 of 6 tasks
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