Skip to content

Fix oversized Updates row step captions - #5099

Merged
ymichael merged 2 commits into
mainfrom
bb/fix-oversized-updates-progress-caption-thr_5wu9rixtzz
Oct 7, 2026
Merged

ymichael merged 2 commits into
mainfrom
bb/fix-oversized-updates-progress-caption-thr_5wu9rixtzz

Conversation

@ymichael

@ymichael ymichael commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Update step captions used text-xs, making “Checking origin/main”, “Ready to restart”, and “Restarting” larger than the source checkout and version labels in Settings > Updates.

The CI npm version guard also built SDK runtime files without declarations. On fresh checkouts it packed no declarations and falsely reported drift from the published package.

What changed

Use text-2xs for the shared row state caption to match the row metadata. This is a one-line styling change in UpdatesSettingsSection.tsx. Add the missing build:types task to the SDK npm guard before packing, fixing the CI failure without changing the SDK version or API.

How you verified

  • Reviewed before/after screenshots of the Ladle settings/Updates > Row variations story at 390px and 1280px widths, covering all three source checkout update steps. Phone captures stack the story description above the component without changing component styles.
  • Confirmed the captions changed from 12px to 10px, matching row metadata.
  • pnpm exec turbo run typecheck lint --filter=@bb/app passed; lint reported 250 warnings and no errors.
  • The SDK npm guard passed after removing the local generated declaration directory, confirming it rebuilds declarations before comparing the package with npm.
  • pnpm exec turbo run typecheck lint --filter=@get-bb/plugin-sdk passed.
  • git diff --check passed.

AGENT GENERATED

## What was wrong

Update step captions used text-xs, making Checking origin/main, Ready to
restart, and Restarting larger than the source checkout and version labels.

## What changed

Use text-2xs for the shared row state caption to match the row metadata.

## How you verified

- Reviewed before/after screenshots of settings/Updates > Row variations
  in Ladle at 390px and 1280px widths, covering all three source update steps.
  Phone captures stack the story description above the unmodified component.
- Confirmed the captions changed from 12px to 10px, matching row metadata.
- pnpm exec turbo run typecheck lint --filter=@bb/app passed.
  Lint reported 250 warnings and no errors.
- git diff --check passed.

> AGENT GENERATED
@ymichael
ymichael force-pushed the bb/fix-oversized-updates-progress-caption-thr_5wu9rixtzz branch from 7ce89d7 to 048138e Compare October 7, 2026 17:51
## What was wrong

The npm version guard built runtime files only. On a fresh checkout,
packing the SDK omitted bundled declarations and falsely reported drift
from the published package, blocking the Updates caption PR's CI.

## What changed

Run build:types alongside build through Turbo before packing the SDK.

## How you verified

Removed the local generated declaration directory and ran the guard.
It rebuilt the declarations and passed against @get-bb/[email protected].

> AGENT GENERATED
@ymichael
ymichael merged commit 8ee2950 into main Oct 7, 2026
48 checks passed
@ymichael
ymichael deleted the bb/fix-oversized-updates-progress-caption-thr_5wu9rixtzz branch October 7, 2026 18:05
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