Skip to content

feat(panel): task icons and sidebar create/edit#25

Merged
etorhub merged 1 commit into
mainfrom
feat/panel-task-edit-icons
Jun 1, 2026
Merged

feat(panel): task icons and sidebar create/edit#25
etorhub merged 1 commit into
mainfrom
feat/panel-task-edit-icons

Conversation

@etorhub

@etorhub etorhub commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a shared Add Task / Edit Task form in the sidebar with ha-icon-picker, title, description, and schedule fields (interval for time-based tasks; target uses for frequency tasks on edit).
  • Add an Edit button on each task row; the active row is highlighted while editing.
  • Send icon on upkeep/add_task and persist edits via upkeep/update_task.
  • Expose icon on binary sensor extra_state_attributes so the Lovelace card shows the same icon as the panel.
  • Sync entity display name and registry name when a task title is updated.

This branch also includes the panel action fixes from fix/panel-complete-actions (native buttons, Complete flow, urgency from task data).

Test plan

  • Reload the Upkeep sidebar panel in Home Assistant
  • Add a task with a custom MDI icon; confirm it appears in the list and on upkeep-card
  • Edit title, icon, and interval from the sidebar; confirm entity friendly name and card update
  • Edit an existing frequency task (target uses only)
  • Run npm test (panel + utils tests pass in CI)

Made with Cursor

Expose icon on entity attributes for the Lovelace card, sync entity
names when titles change, and add a shared Add/Edit form with
ha-icon-picker plus Edit actions on task rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
@etorhub etorhub force-pushed the feat/panel-task-edit-icons branch from 13a18ed to 4150716 Compare June 1, 2026 20:51
@etorhub etorhub merged commit edbde9c into main Jun 1, 2026
6 checks passed
@etorhub etorhub deleted the feat/panel-task-edit-icons branch June 1, 2026 20:53
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant