Skip to content

Show nightly builds the newest release's changelog - #6679

Merged
brsbl merged 9 commits into
mainfrom
growth/nightly-changelog
Oct 30, 2026
Merged

brsbl merged 9 commits into
mainfrom
growth/nightly-changelog

Conversation

@brsbl

@brsbl brsbl commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

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 After, nightly, desktop, closed
Updates · nightly installed, changelog closed Mobile · 390×844 Before, nightly, mobile After, nightly, mobile, closed
Updates · nightly installed, Changelog clicked Desktop · 1440×900 Before, nightly, desktop, no changelog After, nightly, desktop, open
Updates · nightly installed, Changelog clicked Mobile · 390×844 Before, nightly, mobile, no changelog After, nightly, mobile, open

BB-Thread-ID: thr_5tfcbbau5i

🤖 Generated with Claude Code

brsbl and others added 2 commits October 30, 2026 17:25
- 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]>
A nightly is the next patch above main's version, so it includes every
release below that. The Changelog toggle now appears for nightly bb and
Desktop builds and opens the newest release below the nightly's next
patch (0.48.2-nightly.* shows 0.48.0), with a line saying the nightly
also has changes made since. Telemetry records the nightly's next patch
as release_version, which the server's digits-and-dots check accepts.

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:44:05.943834Z 5f9dd41 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.

ymichael added a commit that referenced this pull request Oct 30, 2026
## Human comments

## What was wrong

The sidebar PR badge tooltip
(`plugins/github-pr-status/ui/PullRequestRowMetadata.tsx`) styled its
status line with `text-muted-foreground`. That token is a text tone for
the `--canvas` surface, but `TooltipContent` draws an inverted
`bg-primary` fill, so the muted tone landed next to the fill: 1.15:1 in
the Default dark theme and 1.94:1 in light. It was the only tooltip in
the repo putting muted/subtle text on the tooltip fill.

## What changed

- `PullRequestRowMetadata.tsx`: the status line uses
`text-primary-foreground/75`, a tone derived from the tooltip's own
foreground, so it stays a step below the title while following any
theme's `--primary-foreground`.
- Plugin-local fix (the issue's first option). I did not override
`--muted-foreground` in shared `TooltipContent`, since no other tooltip
needs it.

## How you verified

- `pnpm exec turbo run prepare:bundled typecheck test
--filter=bb-plugin-bb--github-pr-status`: pass, 181/181 tests; the
bundled CSS contains the scoped `text-primary-foreground/75` rule.
- `pnpm start:worktree` with a fresh data dir, built once with the old
class and once with the fix. Projects and threads point at shallow
clones of two open-PR branches (#6677 checks failing, #6679 checks
running), with `threadRowMetadata` and `showRowMetadata` on. In Chromium
I hovered the real sidebar badge and read computed styles plus WCAG 2
contrast against the tooltip fill:

| Mode | Line | Before | After |
|---|---|---|---|
| Dark | title | 9.98:1 | 9.98:1 |
| Dark | status | **1.15:1** | **5.59:1** |
| Light | title | 15.13:1 | 15.13:1 |
| Light | status | **1.94:1** | **9.10:1** |

- Source CLI against that server: `bb pull-request show` (text and
`--json`) for both environments, `bb thread list/show`, `bb settings
show`, `bb thread-list prefs get`, `bb host list` all behave as before.
The composer's PR segment and the sidebar badge render unchanged.
- Not run: desktop (Electron) app and custom themes.

Fixes #6674

> AGENT GENERATED

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

Co-authored-by: Claude Opus 5.5 <[email protected]>
@brsbl
brsbl deleted the branch growth/slim-release-notes October 30, 2026 18:41
@brsbl brsbl closed this Oct 30, 2026
# Conflicts:
#	apps/app/src/components/settings/UpdatesSettingsSection.tsx
#	apps/app/src/components/settings/release-notes.ts
@brsbl brsbl reopened this Oct 30, 2026
@brsbl
brsbl changed the base branch from growth/slim-release-notes to main October 30, 2026 18:42
@brsbl
brsbl merged commit 8ee8ebe into main Oct 30, 2026
31 checks passed
@brsbl
brsbl deleted the growth/nightly-changelog branch October 30, 2026 18:45
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