Repository navigation
feat: show the changelog in Settings - #34
Merged
Merged
Conversation
The build copies release-notes/ into the app's assets, so Settings > What's new lists every release's notes, newest first, in the app's language with English as the fallback, and marks the installed version. It links to bellterm.app's changelog. GlassUiTest.t9 opens it on the CI emulator and keeps a screenshot.
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.
Adds an in-app changelog. Settings → What's new lists each release's changes, newest first, marks the installed version, and links to bellterm.app's changelog.
What changed
release-notes/*.txtinto the app's assets, so the update banner, the GitHub release, and the in-app changelog all come from the same files.ReleaseNotesreads those notes in the app's language, falls back to English, and sorts versions part by part, so 1.10.0 comes after 1.9.0./changelog/or/zh/changelog/) and OK buttons.release-notes/1.1.2.*.txt, plus a 1.1.2 entry on the site changelog.Screenshot
GlassUiTest.t9_changelogListsReleaseson the CI emulator (API 35). This build is still 1.1.1, so 1.1.1 is the version marked installed.Tests
ReleaseNotesTestcovers ordering (1.10.0 before 1.9.0), language fallback, trimming, and skipping empty or foreign files.t9scrolls Settings to What's new, opens it, checks for a release with notes and the installed marker, and closes it. The job fails if any test was skipped.