Skip to content

Done-column "Archive all", coverage fix on repo switch, quieter console#74

Merged
super3 merged 1 commit into
mainfrom
claude/kind-ritchie-pr4kzv
Jun 29, 2026
Merged

Done-column "Archive all", coverage fix on repo switch, quieter console#74
super3 merged 1 commit into
mainfrom
claude/kind-ritchie-pr4kzv

Conversation

@super3

@super3 super3 commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Three small board improvements in one PR.

1. "Archive all" button (Done column)

A new Archive all button in the Done column archives every GitHub issue card there at once (after a confirm), reusing the existing per-card archive flow (adds the archive label, removes the card).

  • Shown only when signed in and Done has at least one issue card; hidden otherwise.
  • Lives in the column body, so it hides automatically when the Done column is collapsed (the default).

2. Coverage card stuck on "unknown" after switching repos

Reported: add a second repo, switch to it, switch back to dashban → the coverage card shows "unknown".

Root cause was a stale-response race: a slow coverage fetch for the previous repo (which has no coverage) resolved after the switch back and overwrote dashban's value. fetchCoverageStatus now records the repo it was issued for and drops the result if the repo changed while the request was in flight (both success and error paths).

3. Quieter browser console

The app logs a lot of routine lifecycle/context detail via console.log (the 📦/💾/📊 lines). New src/logger.js (loaded first) gates console.log so the console stays clean by default.

  • Set window.DASHBAN_DEBUG = true (from devtools) to see the informational output again.
  • console.error / console.warn are untouched, so genuine problems still surface.
  • No call-site changes — modules keep using console.log; the gate is applied once at load.

Testing

  • npm test976 passing (added archive-all, stale-coverage, and logger tests).
  • npm run test:coverage100% statements/branches/functions/lines across all files.
  • npm run lint — 0 errors (7 pre-existing warnings unchanged).

🤖 Generated with Claude Code

https://claude.ai/code/session_019VQjXJyM3EZPd4joy3EwaB


Generated by Claude Code

…sole

Archive all (Done column):
- New "Archive all" button in the Done column that archives every GitHub
  issue card in Done at once (after a confirm), reusing the existing
  per-card archive flow. Shown only when signed in and Done has issues;
  it lives in the column body so it hides with the collapsed column.

Coverage card on repo switch:
- fetchCoverageStatus now ignores its response if the user switched repos
  while the request was in flight, so a slow/empty result for the previous
  repo can't overwrite the current one. Switching away from dashban (to a
  repo with no coverage) and back was leaving coverage stuck on "unknown".

Quieter console:
- New src/logger.js (loaded first) gates console.log so the browser
  console stays clean by default; set window.DASHBAN_DEBUG = true to see
  the informational output. console.error / console.warn are untouched.

Full suite green at 100% coverage; lint clean (976 tests).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019VQjXJyM3EZPd4joy3EwaB
@railway-app
railway-app Bot temporarily deployed to dashban / dashban-pr-74 June 29, 2026 17:25 Destroyed
@railway-app

railway-app Bot commented Jun 29, 2026

Copy link
Copy Markdown

🚅 Deployed to the dashban-pr-74 environment in dashban

Service Status Web Updated (UTC)
dashban ✅ Success (View Logs) Web Jun 29, 2026 at 5:27 pm

@super3
super3 merged commit e786854 into main Jun 29, 2026
2 checks passed
@super3
super3 deleted the claude/kind-ritchie-pr4kzv branch June 29, 2026 18:30
@super3 super3 added the archive label Jun 30, 2026 — with Dashban
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants