Skip to content

fix(home): always state marked, skipped and failed counts after Mark All Done - #463

Open
makeitfutureDev wants to merge 1 commit into
betafrom
fix/home-bulk-summary-counts
Open

makeitfutureDev wants to merge 1 commit into
betafrom
fix/home-bulk-summary-counts

Conversation

@makeitfutureDev

Copy link
Copy Markdown
Owner

What

After Mark All Done in Slack Home, bulkCompletionSummary() (src/slack/home-threads.js) omitted a zero skipped or failed count, e.g. "Marked 230 threads done. 1 skipped because they were already done or unavailable." — no failed count (QA ACTIVITY-WEB-05, fire156 evidence defect-ACTIVITY-WEB-05-Independent.md). FEATURES.md says the result reports marked, skipped and failed counts, and the browser dialog always shows all three.

The Home summary now always states all three, zeros included:
"Marked 230 threads done. 1 skipped (already done or unavailable). 0 failed."
"Please try again." is appended only when failed > 0. Non-integer/negative counts render as 0.

Tests

  • node scripts/run-tests.mjs test/home-threads.test.js → 120 pass, 0 fail (new "Home Mark All Done summary always states marked, skipped and failed counts", covering the function and the rendered Home context block).
  • node scripts/run-tests.mjs test/home-tabs.test.js test/historical-completion.test.js test/activity.test.js → 121 pass, 0 fail.
  • npm run check:static → passed.

Docs: FEATURES.md (Mark all Activity threads done), TEST-PLAN.md (Confirmed Mark All Done live fixture), CHANGELOG.md.

Live acceptance (unexecuted, engine-independent UI): ACTIVITY-WEB-05 — in Slack Home press Mark All Done and confirm; pass = the result line names marked, skipped and failed counts, including any zero.

Not merged or deployed (QA campaign overnight-20261125, fire157 WE-FIX157).

🤖 Generated with Claude Code

…All Done

The Slack Home bulk-completion summary left out a zero skipped or failed
count, while FEATURES.md and the browser dialog report all three. State
every count, zeros included, and keep the retry hint only when something
failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>

This branch has not been deployed

No deployments
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.

2 participants