Repository navigation
Release 7.8.0: chore order, Earn table sort/filter, edit selected chores - #1232
Merged
Merged
Conversation
Available chores first: the child card puts what can be done now at the top, then chores still to come today, then missed ones, then finished ones (once the child undo window has closed and a short settle after the tap). Card option sort_available_first, on by default, with an editor toggle; works in every design. Chore order on cards: a family-wide setting (Manual / Time of day / Name / Date added). Non-manual modes sort every child's chores automatically, new chores included; the sensors publish the effective order so the child, kiosk, routine and sticker-chart cards and the watch's next chore all follow it. Each child's manual order is kept underneath. Sort everyone's chores once: a panel action (taskmate/sort_chore_orders) writes a preset into every child's manual order in one save, for fine-tuning with the reorder card afterwards. The reorder card and the panel's reorder dialog say when a family-wide sort is in charge. New strings translated into every locale.
Click a heading to sort by it (ascending, descending, back to the saved order); a filter row narrows by child, time of day, schedule, approval and enabled. New Mode and Status columns. The view only changes what the panel shows; the saved order is untouched. Strings translated into every locale.
Select mode on the Earn page gains Edit selected: switch on the settings to change (points, children, schedule, time of day, approval) and only those are written to every selected chore. New taskmate/bulk_edit_chores command runs each chore through the normal update checks, skips and names any that refuse, and saves and refreshes once. Strings translated into every locale.
# Conflicts: # custom_components/taskmate/www/locales/da.json # custom_components/taskmate/www/locales/da/panel.json # custom_components/taskmate/www/locales/de.json # custom_components/taskmate/www/locales/de/panel.json # custom_components/taskmate/www/locales/en-GB.json # custom_components/taskmate/www/locales/en-GB/panel.json # custom_components/taskmate/www/locales/en.json # custom_components/taskmate/www/locales/en/panel.json # custom_components/taskmate/www/locales/fr.json # custom_components/taskmate/www/locales/fr/panel.json # custom_components/taskmate/www/locales/nb.json # custom_components/taskmate/www/locales/nb/panel.json # custom_components/taskmate/www/locales/nl.json # custom_components/taskmate/www/locales/nl/panel.json # custom_components/taskmate/www/locales/nn.json # custom_components/taskmate/www/locales/nn/panel.json # custom_components/taskmate/www/locales/pl.json # custom_components/taskmate/www/locales/pl/panel.json # custom_components/taskmate/www/locales/pt-BR.json # custom_components/taskmate/www/locales/pt-BR/panel.json # custom_components/taskmate/www/locales/pt.json # custom_components/taskmate/www/locales/pt/panel.json
# Conflicts: # custom_components/taskmate/www/locales/da.json # custom_components/taskmate/www/locales/da/panel.json # custom_components/taskmate/www/locales/de.json # custom_components/taskmate/www/locales/de/panel.json # custom_components/taskmate/www/locales/en-GB.json # custom_components/taskmate/www/locales/en-GB/panel.json # custom_components/taskmate/www/locales/en.json # custom_components/taskmate/www/locales/en/panel.json # custom_components/taskmate/www/locales/fr.json # custom_components/taskmate/www/locales/fr/panel.json # custom_components/taskmate/www/locales/nb.json # custom_components/taskmate/www/locales/nb/panel.json # custom_components/taskmate/www/locales/nl.json # custom_components/taskmate/www/locales/nl/panel.json # custom_components/taskmate/www/locales/nn.json # custom_components/taskmate/www/locales/nn/panel.json # custom_components/taskmate/www/locales/pl.json # custom_components/taskmate/www/locales/pl/panel.json # custom_components/taskmate/www/locales/pt-BR.json # custom_components/taskmate/www/locales/pt-BR/panel.json # custom_components/taskmate/www/locales/pt.json # custom_components/taskmate/www/locales/pt/panel.json # custom_components/taskmate/www/taskmate-panel.js
# Conflicts: # custom_components/taskmate/www/locales/da.json # custom_components/taskmate/www/locales/da/panel.json # custom_components/taskmate/www/locales/de.json # custom_components/taskmate/www/locales/de/panel.json # custom_components/taskmate/www/locales/en-GB.json # custom_components/taskmate/www/locales/en-GB/panel.json # custom_components/taskmate/www/locales/en.json # custom_components/taskmate/www/locales/en/panel.json # custom_components/taskmate/www/locales/fr.json # custom_components/taskmate/www/locales/fr/panel.json # custom_components/taskmate/www/locales/nb.json # custom_components/taskmate/www/locales/nb/panel.json # custom_components/taskmate/www/locales/nl.json # custom_components/taskmate/www/locales/nl/panel.json # custom_components/taskmate/www/locales/nn.json # custom_components/taskmate/www/locales/nn/panel.json # custom_components/taskmate/www/locales/pl.json # custom_components/taskmate/www/locales/pl/panel.json # custom_components/taskmate/www/locales/pt-BR.json # custom_components/taskmate/www/locales/pt-BR/panel.json # custom_components/taskmate/www/locales/pt.json # custom_components/taskmate/www/locales/pt/panel.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 7.8.0: three chore-ordering and chore-management features, built and tested on separate branches and landed together.
Added
sort_available_first(default on), with an editor toggle. Works in every design.chore_order, so the Child, Kiosk, Routine and Sticker Chart cards and the watch's next chore all follow it. Each child's own order is kept underneath.taskmate/sort_chore_ordersWS command. It writes a preset into every child's own order in one save.taskmate/bulk_edit_choresWS command. It changes only the switched-on settings (points, children, schedule, time of day, approval) on every selected chore. Each chore goes throughasync_update_chore; any that refuse are skipped and named. One save and one refresh per batch.Changed
New strings are translated into every locale. New tests:
tests/test_chore_sort.py,tests/test_bulk_edit_chores.pyand three frontend test files. Tested on the dev HA instance, at desktop and phone widths.Closes #1231
Closes #1173
Closes #1174