Repository navigation
What's new: show release notes once after an update - #1028
Merged
Merged
Conversation
Release notes live in release-notes/release-notes.json, one entry per shipped release with each platform's version. The release workflows now refuse to build a version without notes and tag the commit they shipped as <platform>-v<version>, so notes are written against what actually shipped, not version bumps. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bundle the repo-root release-notes.json as an asset, parse it for Android, and decide once per process which releases the What's new sheet shows. The last seen version and the Settings badge are recorded when the sheet appears. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The app bundles the repo-root release-notes.json as a resource. A parser keeps this platform's releases and items up to the installed version, and a pure launch policy picks the releases to show. WhatsNewStore records the last seen version only once the sheet is presented. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Feature Item is a read-only row with a rounded icon tile, a semibold title and a wrapping body, in neutral or success tone, listed in the component gallery under Lists. List Item gains an isNew accent badge like the bottom sheet entry has. Co-Authored-By: Claude Opus 5.5 <[email protected]>
After an update the What's new sheet opens once at its half stop over Home, only when nothing else is on screen, merging skipped releases under their own headings. Settings > About gets a What's new row with the New badge until the history screen is opened; on tablets it opens in the split pane. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Feature Row shows one change in release notes: a rounded-square icon tile (success-tinted for fixes), a semibold title and a secondary body. It has a Component Gallery entry under Lists. List items can now carry the accent New tag that bottom sheet entries already have. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The What's new sheet opens over Home at its half stop the first time Home is idle after an update: nothing pushed over it, no session open in its pane, no sheet, dialog, menu or search, and the app not covered. Skipped releases are merged under their own headers, new and improved items first, then fixes. Settings > About > What's new lists every release up to the installed one, opens in the split pane on tablets, and clears the New tag the sheet set. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Actions history is missing deleted release runs, so it showed neither Android 1.1.0, 1.4.0 and 1.4.1 nor iOS 1.0.1, 1.3.0 and 1.3.2. Each release now matches a version people actually installed, and the next release only covers changes since Android 1.4.1 and iOS 1.3.2. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…into feature/1027-whats-new-release-notes
… feature/1027-whats-new-release-notes
…Feature Item Adds the sparkles icon and closer icons for release notes through the icon pipeline, names the Android component Feature Item like iOS, and lets the sheet show on a tablet while a session is open in the pane, as on iOS. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
ivanfenenko
marked this pull request as ready for review
November 11, 2026 16:12
Collaborator
Author
|
@cursor review |
There was a problem hiding this comment.
Automated review: no finding that 2+ of 2 passes agreed on.
7 finding(s) from a single pass, not posted
android/app/src/main/java/dev/opencode/mobile/ui/whatsnew/WhatsNewHistoryViewModel.kt:38medium: History does not consume pending sheet, so sheet still appears after history (muse-spark-1.3-contributor)ios/OpenCode Mobile/OpenCode Mobile/UI/WhatsNew/WhatsNewModels.swift:108medium: History does not consume pending sheet, so sheet still appears after history (muse-spark-1.3-contributor)android/app/src/main/java/dev/opencode/mobile/Navigation.kt:456medium: What's-new sheet can be lost for the process after a fast idle-then-navigate on a config recreation (glm-5.3-flash)android/app/src/main/java/dev/opencode/mobile/di/WhatsNewModule.kt:45medium: isUpgrade() misreads a fresh install done via restore/clone or a same-second install/update (glm-5.3-flash)android/app/src/main/java/dev/opencode/mobile/ui/whatsnew/WhatsNewScreen.kt:66low: LazyColumn item keys collide if two JSON entries share a platform version (glm-5.3-flash)ios/OpenCode Mobile/OpenCode Mobile/UI/WhatsNew/WhatsNewModels.swift:61low: Sheet labels the newest release 'In X.Y.Z' even when it is not the installed version (glm-5.3-flash)scripts/release-notes.mjs:118low: check() lets newer releases gate nothing and skips same-version duplicates on other entries (glm-5.3-flash)
opencode pr-review · passes: muse-spark-1.3-contributor, glm-5.3-flash, deepseek-v4.1-flash · $0.077 · 1 pass(es) failed
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 32b98e7. Configure here.
…s platforms Android now uses the standard sheet title with the version line under it, as iOS does, and asks for the Large button iOS uses. The Settings row gets a subtitle so it is as tall as the rows around it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
Update: header, Done button and Settings row now match
|
…cking What's new after rotation Opening Settings → What's new before Home was idle left the notes pending, so the sheet still appeared afterwards and raised the badge again. The history now marks them seen on both platforms, and Android re-checks before showing. Android's project-picker flag is saveable like the picker, so a restored open picker never reads as an idle Home. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
|
Follow-up on the automated review's single-pass findings, as of 23e125e:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

















Shows release notes once after an update in a What's new bottom sheet over Home, and keeps every release's notes in Settings → What's new. Part of #1027.
What changes for people
Release notes source and tracking
release-notes/release-notes.jsonis the single source both apps bundle at build time. One entry per shipped release, with each platform's version and date.notesjob, before the self-hosted build);android-v<version>/ios-v<version>afterwards (a GitHub-hostedtagjob, the only one withcontents: write). A rebuild of the same version moves the tag.node scripts/release-notes.mjs draft --platform <p>lists what changed since the last tag. String Checks validates the file on every PR.Design system
OpenCodeListItemgets anisNewtag.Checks
:app:assembleDebug; full:app:testDebugUnitTest(3,531 tests, 0 failures) on the Android branch; the What's new tests (29) again after the merge.OpenCode MobileTests(3,493 tests, 0 failures) on the iOS branch; Debug build after the merge.check-string-keys,icons:checkandrelease-notes.mjs validatepass.Risks / Follow-ups
🤖 Generated with Claude Code