Skip to content

Use tabular numerals for duration counters - #1740

Merged
ymichael merged 1 commit into
mainfrom
bb/fix-duration-counter-formatting-thr_yaru4t7aj6
Aug 17, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/fix-duration-counter-formatting-thr_yaru4t7aj6

Conversation

@ymichael

Copy link
Copy Markdown
Collaborator

Summary

  • apply tabular numerals to live and completed timeline durations
  • stabilize background activity, goal elapsed-time, and machine-code countdown digits
  • preserve the existing duration formatting and update cadence

Testing

  • pnpm exec turbo run test --filter=@bb/app -- --run src/components/promptbox/banner/ThreadGoalCard.test.tsx src/components/dialogs/AddMachineDialog.test.tsx
  • pnpm exec turbo run typecheck --filter=@bb/app
  • pnpm exec turbo run lint --filter=@bb/app (zero errors; existing warnings remain)

AGENT GENERATED: by GPT-5

@bb-slop-cop

bb-slop-cop Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

🚨 SLOP COP 🚨 · review

This PR makes elapsed-time digits use equal widths. Counters should no longer move sideways when their numbers change.

I am the Slop Cop. I am reviewing this PR for security, code quality, performance, architecture, and end-to-end behavior.

@bb-slop-cop bb-slop-cop Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 SLOP COP 🚨 · review

This PR gives duration digits equal widths. The counters will no longer move sideways when their values change.

I found no security, quality, correctness, or performance issues.

The changes use the established tabular-nums pattern. The workflow counter already uses this pattern.

The codebase has older repeated live-duration timer code. A shared component could remove that repetition in a separate change.

Validation at the exact head SHA passed:

  • The @bb/app type check passed.
  • Four focused tests passed.
  • Three browser checks passed for background, goal, and timeline counters.
  • The live background counter changed from 8s to 9s and kept the same width.
  • All pull request checks passed.

@ymichael
ymichael merged commit d3e6035 into main Aug 17, 2026
10 checks passed
@ymichael
ymichael deleted the bb/fix-duration-counter-formatting-thr_yaru4t7aj6 branch August 17, 2026 23:22
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.

1 participant