Skip to content

Improvements to hidden tasks - #68

Merged
HelpfulSoft1207 merged 14 commits into
warframe-tools:mainfrom
AnSq:hidden-tasklists
Jul 29, 2026
Merged

Improvements to hidden tasks#68
HelpfulSoft1207 merged 14 commits into
warframe-tools:mainfrom
AnSq:hidden-tasklists

Conversation

@AnSq

@AnSq AnSq commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

AI Disclosure:

  • I did not use AI for anything in this pull request.
  • I did use AI in this pull request, and I have included a statement of AI use in the commit message of every commit where I used AI.

This PR builds on #59 and includes all of the changes from that PR (closes #63), plus the following:

New Features

  • Task Skipping: 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
    • ScreenshotScreenshot of skip button
  • List Stats: 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, skipped, or completed (when "hide completed tasks" is on)
    • If the "completed", "skipped", or "hidden" count is zero, it is not shown
    • If "hide completed tasks" is off, "completed" is not shown
    • ScreenshotScreenshot of list stats
  • Hidden Task Lists: clicking the list stats opens a dialog where you can unhide, unskip, or uncheck individual tasks
    • ScreenshotsScreenshot of completed dialogScreenshot of skipped dialogScreenshot of hidden dialog
  • Persistent Collapses: The collapsed/expanded state of parent tasks is now saved.
  • Incomplete Subtask Count: The number of incomplete subtasks is displayed next to the parent's collapse button when collapsed.
    • ScreenshotScreenshot of incomplete subtasks

Enhancements

  • Hiding a task now uses a collapsing animation (when prefers-reduced-motion is off)
  • Task titles are displayed as semibold
  • Countdown timers use tabular nums (thanks @Nova0255)

Bug Fixes

  • Parent tasks now become checked when all their subtasks are completed or hidden or skipped (previously only completed)
  • Fixed dialog headers incorrectly having a hover effect
  • Fixed intermittent tasks sending a notification when they become unavailable, instead of available

Code Stuff

  • 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
  • Duplicate code cleanup:
    • Simplified createChecklistItem. A lot of functionality was duplicated between parent and non-parent tasks
    • checkbox onchange is now checkboxChangeAction instead of inline
    • Hide and skip buttons are now handled by hideOrSkipTaskAction
  • 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
  • Added a new test to check if version numbers match between app.js, package.json, and SECURITY.md.
  • Streamlined 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
  • v5.3
  • U43.0.8 (no changes)

This PR is equivalent to this release, which is currently live at https://ansq.github.io/Warframe-Task-Checklist/

AnSq and others added 14 commits June 22, 2026 14:33
* 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
Comment thread sources/js/app.js
Comment thread sources/js/app.js
Comment thread sources/js/app.js
Comment thread sources/js/app.js
Comment thread sources/js/app.js
Comment thread sources/js/app.js
Comment thread sources/js/app.js
Comment thread sources/js/app.js
Comment thread sources/js/app.js
Comment thread sources/js/app.js
@HelpfulSoft1207

Copy link
Copy Markdown
Collaborator

These are fantastic changes. Sorry I have been swamped and forgot the last PR when I saw the email. Pushing this one now.

@HelpfulSoft1207
HelpfulSoft1207 merged commit 501a1a9 into warframe-tools:main Jul 29, 2026
1 check passed
@AnSq
AnSq deleted the hidden-tasklists branch July 29, 2026 05:13
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.

[Feature Request] An option to hide completed tasks would be very handy

2 participants