Skip to content

Clean up the dashboard slot assignment popup - #37

Merged
iTerminate merged 3 commits into
release-notes-v0.1.0from
slot-popup-cleanup
Aug 8, 2026
Merged

Clean up the dashboard slot assignment popup#37
iTerminate merged 3 commits into
release-notes-v0.1.0from
slot-popup-cleanup

Conversation

@iTerminate

Copy link
Copy Markdown
Owner

Summary

  • Extract the row-aware focus-nav helpers duplicated in light_screen.py/media_player_screen.py into a shared src/hatty/ui/focus_nav.py
  • Add ↑/↓ field navigation to DashboardSlotPopup (the "add widget" dialog), matching the control screens' convention; the entity table, selected-entities list, and an open type dropdown keep their own row cursor
  • Fix the dialog rendering off-centre/full-width: #dashboard_slot_container's width: auto was defeated by the Footer() composed inside it, so the width is now set explicitly from the existing preview-layout constants

Closes #36

Test plan

  • uv run ruff check .
  • uv run pyright
  • pytest (full suite, 1249 passed)

@iTerminate
iTerminate merged commit d989a21 into release-notes-v0.1.0 Aug 8, 2026
1 check 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