Repository navigation
fix: IPA wrapping, onboarding header and per-course content versions - #61
Merged
Merged
Conversation
Line breaking allows a break before U+02C8 and U+02CC, so Russian "nˈovyj" wrapped as "n" / "ˈovyj". GlossoType.ipa() inserts a WORD JOINER before a stress mark that follows a non-space, and every MonoIPA text goes through it. Display only: scored and compared strings keep the plain transcription.
The last page drops the header Skip, and with it the 48 dp touch target that set the row's height, so the logo moved up about 8 px. A spacer of the same minimum interactive size keeps the slot.
The content version was one value per server, so after a course switch the first content requests carried the previous course's version (and cold-start drills went out unversioned before the manifest arrived). Versions are now kept per target language, in memory and in ApiCache; a course switch resets the manifest state like a server switch, and a course with no known version reads its manifest before fetching content. The HTTP cache is cleared only when a course's own catalogue changes.
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.
Defects found by a browser check of the web build.
GlossoType.ipa()inserts U+2060 WORD JOINER before ˈ/ˌ after a non-space; all 12 MonoIPA texts use it. Display only: scoring never sees it. Test:IpaDisplayTest.GlossoApikept one content version per server, so after a course switch the first drills went out with the previous course'sv=; on a cold start drills went out with no version. Now the version store is per language (asset_version_<lang>), a course switch resets manifest state, a course with no known version reads its manifest first, and the HTTP cache is cleared only when that course's catalogue changes. The old single key migrates to the course in use. Tests:CourseSwitchVersionTest,AndroidStorageCompatibilityTest.Checked: Android unit tests (both flavors),
:shared:testAndroidHostTest, Wasm and iOS compiles, lint; web screenshots before/after.