Repository navigation
fix(home): always state marked, skipped and failed counts after Mark All Done - #463
Open
makeitfutureDev wants to merge 1 commit into
Open
makeitfutureDev wants to merge 1 commit into
makeitfutureDev wants to merge 1 commit into
Conversation
…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
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.
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 evidencedefect-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