Skip to content

Slim the Updates changelog code - #6676

Merged
brsbl merged 2 commits into
mainfrom
growth/slim-release-notes
Oct 30, 2026
Merged

brsbl merged 2 commits into
mainfrom
growth/slim-release-notes

Conversation

@brsbl

@brsbl brsbl commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

Trims the Settings → Updates changelog code from #6201 without changing behavior.

  • The Desktop row now resolves its changelog version through the same resolver as the bb row (resolveReleaseNotesVersion), instead of keeping a second copy of the desktop branch.
  • Removes LATEST_CHANGELOG_ENTRY, which only tests still used. Its two checks now read CHANGELOG_ENTRIES directly: the repo's changelog parses, and the newest release has a headline and date.
  • recordReleaseNotesOpened no longer re-checks the version format. Its callers pass resolved release versions, and the server validates release_version.
  • Drops two Desktop-row tests that repeated the resolver's own tests (latest release when nothing is pending, nightly hides the button).

BB-Thread-ID: thr_5tfcbbau5i

🤖 Generated with Claude Code

- The Desktop row resolves its changelog version with the same resolver
  as the bb row instead of a second copy of the desktop branch.
- Drop LATEST_CHANGELOG_ENTRY, which only tests still used, and keep its
  checks on CHANGELOG_ENTRIES directly.
- recordReleaseNotesOpened no longer re-checks the version format: its
  callers pass resolved release versions and the server validates them.
- Drop two Desktop-row tests that repeated the resolver's own tests.

No behavior change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T17:27:48.866198Z 4b02ad9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@brsbl
brsbl merged commit f750664 into main Oct 30, 2026
30 checks passed
@brsbl
brsbl deleted the growth/slim-release-notes branch October 30, 2026 18:41
@brsbl
brsbl restored the growth/slim-release-notes branch October 30, 2026 18:42
@brsbl
brsbl deleted the growth/slim-release-notes branch October 30, 2026 18:42
brsbl added a commit that referenced this pull request Oct 30, 2026
Lets people on a nightly build read what's in bb from Settings →
Updates. Until now the Changelog toggle only appeared for release
versions.

A nightly is the next patch above `main`'s version
(`0.48.2-nightly.<run>.<attempt>` after 0.48.1), so it includes every
release below that. On a nightly bb or Desktop build, Changelog now
opens the newest release below the nightly's next patch (0.48.0 today),
and the panel's footer says "This build includes changes since 0.48.0"
beside the Full changelog link, outside the notes.
`release_notes_opened` records the nightly's next patch (`0.48.2`) as
`release_version`, which the server's digits-and-dots check accepts. Dev
builds (`0.0.0-dev`) still have no toggle.

### Screenshots

Before: `4eb9d475fd` (#6676, now merged) · After: `c6edb41885` ·
Captured at 2× from the web app with a fresh data dir; the installed
version is simulated by stubbing the app-update and version responses as
`0.48.2-nightly.40981326765.1`.

| Screen / state | Viewport | Before | After |
| --- | --- | --- | --- |
| Updates · nightly installed, changelog closed | Desktop · 1440×900 |
![Before, nightly,
desktop](https://github.com/user-attachments/assets/b1c98e93-14e0-4ead-8202-50950ebc462a)
| ![After, nightly, desktop,
closed](https://github.com/user-attachments/assets/48bbd008-76d0-4e7f-9aaa-d86ccb8eccc5)
|
| Updates · nightly installed, changelog closed | Mobile · 390×844 |
![Before, nightly,
mobile](https://github.com/user-attachments/assets/1f19e214-b4e6-4052-8c54-c7919a19a0c8)
| ![After, nightly, mobile,
closed](https://github.com/user-attachments/assets/954f44cb-2066-4921-881e-2fb0dc1b7f8d)
|
| Updates · nightly installed, Changelog clicked | Desktop · 1440×900 |
![Before, nightly, desktop, no
changelog](https://github.com/user-attachments/assets/b1c98e93-14e0-4ead-8202-50950ebc462a)
| ![After, nightly, desktop,
open](https://github.com/user-attachments/assets/036d0c20-30b2-4c5c-a6d6-759cef374853)
|
| Updates · nightly installed, Changelog clicked | Mobile · 390×844 |
![Before, nightly, mobile, no
changelog](https://github.com/user-attachments/assets/1f19e214-b4e6-4052-8c54-c7919a19a0c8)
| ![After, nightly, mobile,
open](https://github.com/user-attachments/assets/d2084058-4822-4265-8f6c-2a2127cdd527)
|

BB-Thread-ID: thr_5tfcbbau5i

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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