Skip to content

fix(compare): exclude flagged tasks with the job page's checkboxes - #382

Merged
aitianshi merged 1 commit into
ThinkFlowLab:mainfrom
yiannislamprou:fix/compare-exclude-checkboxes
Nov 24, 2026
Merged

aitianshi merged 1 commit into
ThinkFlowLab:mainfrom
yiannislamprou:fix/compare-exclude-checkboxes

Conversation

@yiannislamprou

Copy link
Copy Markdown
Contributor

Closes #381

What

Compare excludes flagged tasks with the job page's "Exclude:" checkboxes instead of the "Leave out" chips. Ticking one reloads the comparison as the chips did, and works without JavaScript. The links that the old chips read are removed from _filtered_of and _flag_filter. "Flags differ on N tasks" names the tasks on hover.

Touches

routes · templates and static

Before and after

Two made-up demo runs.

Before After
CMP-before CMP-after

Verified

  • app/tests/parallel.py app/ui_tests (658 tests) and app/tests/parallel.py (2855 tests) on WSL: one failure each, a key test that needs Docker and a PATH test in the standard install; both also fail on this machine without the change.
  • In Chromium on two made-up runs: mouse, keyboard, Back, chart view, phone width, no JavaScript.

Risk

Page code only; which tasks are excluded does not change. Undone by a revert.

Compare's "Leave out" chips become the job page's "Exclude:" checkboxes,
in a form that works without JavaScript. The links the chips read on the
job page and on Compare are no longer built, and "Flags differ" names the
tasks on hover.
@aitianshi
aitianshi marked this pull request as ready for review November 24, 2026 10:56
@aitianshi
aitianshi merged commit efefef2 into ThinkFlowLab:main Nov 24, 2026
4 checks 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.

Compare: exclude flagged tasks with the job page's checkboxes

2 participants