Skip to content

Gate changelog preview behind an experiment - #1947

Closed
brsbl wants to merge 2 commits into
bb/settings-story-chrome-thr_qwah76hjqrfrom
bb/changelog-preview-experiment-thr_qwah76hjqr
Closed

brsbl wants to merge 2 commits into
bb/settings-story-chrome-thr_qwah76hjqrfrom
bb/changelog-preview-experiment-thr_qwah76hjqr

Conversation

@brsbl

@brsbl brsbl commented Aug 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • add a default-off changelogPreview experiment under Settings → Experiments
  • show the compact, dismissible changelog card on Settings → Updates only when that experiment is enabled
  • keep machine-grouped updates and all other Settings work available without an experiment
  • preserve compatibility with pre-experiment CLI/SDK clients by accepting their four-key update payload and retaining the new setting

Depends on the completed Settings story layer so the experiment has exact full-page and focused Ladle coverage.

Visual evidence

Before — exact parent head, with no changelog preview:

Before: Updates without the experiment

After — exact PR code with changelogPreview enabled:

After: experiment-enabled changelog preview

Verification

  • Turbo typecheck passed for @bb/domain, @bb/server-contract, @bb/sdk, @bb/server, @bb/cli, @bb/app, @bb/templates, and @get-bb/plugin-sdk
  • focused domain, database, server, app, CLI, SDK, and desktop tests: 93 passed
  • app build and bundle-budget check passed
  • generated plugin SDK and template artifacts regenerated and verified
  • real dev app verified with the experiment disabled and enabled at desktop and compact widths
  • Ladle verified in light and dark themes; ordinary Updates stories remain ungated

BB-Thread-ID: thr_qwah76hjqr

AGENT GENERATED: by GPT-5.6

brsbl added a commit that referenced this pull request Aug 20, 2026
## Summary

- group update inventory by machine and keep provider, bb app, state,
badge, action, and changelog behavior coherent
- align Machines list and detail hierarchy with Updates using existing
settings rows, icons, menus, and tooltips
- add chrome-wrapped, navigable Settings and Updates Ladle coverage,
including all update states
- gate the changelog preview behind the existing experiments system
- keep the existing full experiments contract; no compatibility shim or
new endpoint

Supersedes #1933, #1934, #1935, #1936, and #1947 with one reviewable
change based on current main.

## Visual evidence

Exact base: 6b7c58f  
Exact head: 964709d

### Updates — desktop 1440×900

Before:

![Updates before at
1440×900](https://raw.githubusercontent.com/get-bb/bb/f87828332f6540f4c2f927511ab99dae487dd4be/evidence/settings-updates-machines/base-final-updates-1440.png)

After:

![Updates after at
1440×900](https://raw.githubusercontent.com/get-bb/bb/f87828332f6540f4c2f927511ab99dae487dd4be/evidence/settings-updates-machines/after-final-updates-1440.png)

### Updates — compact desktop 768×900

Before:

![Updates before at
768×900](https://raw.githubusercontent.com/get-bb/bb/f87828332f6540f4c2f927511ab99dae487dd4be/evidence/settings-updates-machines/base-final-updates-768.png)

After:

![Updates after at
768×900](https://raw.githubusercontent.com/get-bb/bb/f87828332f6540f4c2f927511ab99dae487dd4be/evidence/settings-updates-machines/after-final-updates-768.png)

### Machines — desktop 1440×900

Before:

![Machines before at
1440×900](https://raw.githubusercontent.com/get-bb/bb/f87828332f6540f4c2f927511ab99dae487dd4be/evidence/settings-updates-machines/base-final-machines-1440.png)

After:

![Machines after at
1440×900](https://raw.githubusercontent.com/get-bb/bb/f87828332f6540f4c2f927511ab99dae487dd4be/evidence/settings-updates-machines/after-final-machines-1440.png)

### Machines — compact desktop 768×900

Before:

![Machines before at
768×900](https://raw.githubusercontent.com/get-bb/bb/f87828332f6540f4c2f927511ab99dae487dd4be/evidence/settings-updates-machines/base-final-machines-768.png)

After:

![Machines after at
768×900](https://raw.githubusercontent.com/get-bb/bb/f87828332f6540f4c2f927511ab99dae487dd4be/evidence/settings-updates-machines/after-final-machines-768.png)

## Validation

- 56 focused app tests passed
- 36 focused server tests passed
- domain experiment tests passed
- 812 mobile tests and mobile typecheck passed
- plugin-registry generated-artifact test and typecheck passed
- Turbo typecheck passed for app, server, CLI, domain, server-contract,
and desktop
- exact main/head Settings → Updates and Settings → Machines states
checked at 1440×900 and 768×900

BB-Thread-ID: thr_qwah76hjqr

> AGENT GENERATED: by GPT-5.6
@brsbl

brsbl commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by #1996, which consolidated this stack onto current main and is now merged.

@brsbl brsbl closed this Aug 20, 2026
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