Improvements to hidden tasks - #68
Merged
Merged
Conversation
* bump version to 5.2 * bump game version to 43.0.3 (no changes) + fix menu headers having an extra bottom border
* tasks now define a `title` property, which was formerly the part before the colon in `text` * `title` is now a mandatory task property, and `text` is optional * task titles are displayed as semibold * countdown timers use tabular nums (thanks @Nova0255) * game version 43.0.6 (no changes)
* task lists (i.e. sections and subtask lists) now have a "list stats" line that tells you how many tasks are not shown due to being hidden or completed (when hide completed tasks is on) * if the "completed" or "hidden" count is zero, it is not shown * if hide completed tasks is off, "completed" is not shown * hiding a task now uses a collapsing animation (when prefers-reduced-motion is off) * parent tasks now become checked when all their subtasks are completed *or hidden* (previously only completed) * simplified `resetAllAction()`
* a new "skip" button next to the hide button on each task lets you hide the task just for the current cycle * skipped tasks are unhidden when the task resets, and when the "Unhide All Tasks" option is activated * added a "skipped" stat to the new list stats * fixed HTML entities not being parsed in task text
* the list stats are now buttons that open a dialog showing the relevant tasks * from the dialog you can unhide, unskip, or uncheck individual tasks * fixed dialog headers incorrectly having a hover effect * v5.3 * U43.0.7 (no changes)
* simplify `createChecklistItem` by removing duplicate code * checkbox onchange is now `checkboxChangeAction` instead of inline (this also eliminates duplicate code)
* hide and skip buttons are now handled by `hideOrSkipTaskAction` (more duplicate code cleanup) * the parent task tree walking behavior has been factored out of the checkbox change event and now lives in `updateParentCheckboxes` * `updateParentCheckboxes` is now called when you hide/skip or unhide/unskip a task; hiding the last incomplete subtask checks the parent, and unhiding a task of an otherwise complete parent unchecks the parent * U43.0.8 (no changes)
streamline `loadData`. Properties of `checklistData` are now listed in only ONE place (`newChecklistData`) instead of two or three
* added `forEachTask` * rewrote `getTaskById` with `forEachTask` * renamed `_prepTasks` to `prepTasks`, and rewrote it with `forEachTask` * moved assignment of `task.parentId` from `createChecklistItem` to `prepTasks` * `prepTasks` assigns `task.section`
…in certain cases incomplete subtask count is now hidden when it's zero
…on, and SECURITY.md
AnSq
commented
Jul 28, 2026
Collaborator
|
These are fantastic changes. Sorry I have been swamped and forgot the last PR when I saw the email. Pushing this one now. |
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.
AI Disclosure:
This PR builds on #59 and includes all of the changes from that PR (closes #63), plus the following:
New Features
Screenshot
Screenshot
Screenshots
Screenshot
Enhancements
prefers-reduced-motionis off)Bug Fixes
Code Stuff
titleproperty, which was formerly the part before the colon intexttitleis now a mandatory task property, andtextis optionalcreateChecklistItem. A lot of functionality was duplicated between parent and non-parent taskscheckboxChangeActioninstead of inlinehideOrSkipTaskActionupdateParentCheckboxesupdateParentCheckboxesis now called when you hide/skip or unhide/unskip a taskapp.js,package.json, andSECURITY.md.loadData. Properties ofchecklistDataare now listed in only ONE place (newChecklistData) instead of two or three.forEachTaskgetTaskByIdwithforEachTask_prepTaskstoprepTasks, and rewrote it withforEachTasktask.parentIdfromcreateChecklistItemtoprepTasksprepTasksassignstask.sectionThis PR is equivalent to this release, which is currently live at https://ansq.github.io/Warframe-Task-Checklist/