Show What's New on update, and a tappable version on Help - #141
Merged
Conversation
On an in-place update, show the What's New changelog once so the user sees what changed and knows there has been an update. A new lastSeenVersionCode preference records the version last opened; the dialog fires only when it is a genuine update (not a fresh install, which still gets the welcome sheet). The pure gate is unit-tested. Also add a tappable version line at the foot of the Help screen that opens What's New, and give the What's New dialog a 'How to use the app' link through to the Help pages (from the on-update prompt and from Settings > About; the Help footer omits it since you are already there). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GZHz422dXfSfQtRadVhSuf
The CHANGELOG_URL const had been inserted between import lines, leaving three imports after it; Kotlin requires all imports before any declaration, which failed kspDebugKotlin. Move the const below the imports. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GZHz422dXfSfQtRadVhSuf
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.
Follow-up to the merged Help work (#138). Makes updates visible and ties the changelog to the how-to-use pages.
What's New on update
On open after an in-place update, the existing "What's New" changelog dialog now appears once, so people see what changed and know there's been an update.
lastSeenVersionCodepreference records the version last opened.showWhatsNewOnUpdate(lastSeen, current), unit-tested inUpdateGateTest.Version footer on the Help screen
The foot of Settings › Help now shows
Version x.y.zwith a "What's new ›" hint. Tapping it opens the same What's New dialog (consistent with Settings › About). It's pinned below the scrolling pages, so it's visible on both tabs.What's New links to the how-to-use pages
The dialog carries a "How to use the app ›" link into the Help pages, from the on-update prompt and from Settings › About. It reuses the existing
pendingSettingsSubScreendeep-link mechanism (the same one that opens the Reminders settings page). The Help footer's own dialog omits the link, since you're already in Help.Refactor
Extracted a shared
WhatsNewDialogcomposable (loadsassets/CHANGELOG.md, wires the full-changelog link) and movedCHANGELOG_URLbeside it, so About, Help, and the on-update prompt share one implementation instead of duplicating the asset-loading block.Notes
HelpVersionFooter, the dialog's help link) carryRole.Button;a11y_check.pyclean.minor).versionCodeto actually increment between releases for the update prompt to fire, which the release flow already handles.🤖 Generated with Claude Code
https://claude.ai/code/session_01GZHz422dXfSfQtRadVhSuf
Generated by Claude Code