Upgrade to Kotlin 2.4.10 / AGP 9.1.1 and add on-screen keyboard UX#22
Merged
Conversation
Toolchain: bump Kotlin, AGP (9.1.1 requires the KMP library plugin split
and built-in Kotlin, so shared moves to com.android.kotlin.multiplatform.library
and androidApp drops kotlin("android")), Gradle wrapper 9.6.1, Compose,
coroutines, AndroidX and okio to current stable. lifecycle 2.11.0 forces
compileSdk 37. iOS SwiftPM KMP-NativeCoroutines pinned to 1.0.5 to match the
Gradle plugin. CI runs :shared:jvmTest since testDebugUnitTest no longer exists
under the new plugin.
UX: replace the fragile editable-TextField-per-cell boards with read-only tiles
driven by a shared on-screen keyboard. WordMasterService gains addLetter/
removeLetter/submitGuess with word-list validation, a keyStatus flow that colours
the keyboard, and a guessError flow for feedback. Rejected guesses now shake the
row and show a message instead of failing silently. Applied across Android,
Desktop (also wired to the physical keyboard) and iOS.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Replace the single monolithic workflow with one per client. Android and Desktop run on ubuntu-latest (they don't touch the iOS targets, so no need for a macOS runner); iOS builds the app via xcodebuild on macos-latest. Also modernise to checkout@v4 / setup-java@v4 (temurin). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Summary
Two related pieces of work:
Dependency / toolchain upgrade (versions queried from live registries, not guessed)
2.2.0→2.4.10, KSP →2.3.10, coroutines →1.11.08.12.0→9.1.1; Gradle wrapper9.0.0→9.6.1(AGP 9.1.1 needs ≥9.3.1)1.8.2→1.11.1, activity-compose1.13.0, compose-bom2026.06.01, lifecycle2.11.0, okio3.17.0, kmp-nativecoroutines1.0.5sharedmoves tocom.android.kotlin.multiplatform.library;androidAppdropskotlin("android")(built-in Kotlin). Config moved intokotlin { android { } }.2.11.0.1.0.5to match the Gradle plugin.:shared:testDebugUnitTest→:shared:jvmTest(the former no longer exists under the new plugin).On-screen keyboard UX overhaul
TextField-per-cell boards (and their brittleFocusRequesterjuggling) with read-only tiles driven by a shared on-screen QWERTY keyboard.WordMasterServicegainsaddLetter/removeLetter/submitGuess, word-list validation (isValidWord), akeyStatusflow that colours the keyboard by best-known letter status, and aguessErrorflow for feedback.Test plan
./gradlew :androidApp:assembleDebug./gradlew :compose-desktop:assemble./gradlew :shared:jvmTest(existing logic test still green)./gradlew :shared:compileKotlinIosArm64+ framework linkxcodebuildfor the simulator → BUILD SUCCEEDEDNote:
WordMasterServiceTestfails oniosSimulatorArm64Testdue to a pre-existing relative-path bug (../words.txtdoesn't resolve in the simulator sandbox); confirmed it fails identically onmainbefore these changes, so it's out of scope here.🤖 Generated with Claude Code