Skip to content

Develop - Dev env upgrades, translation linting, wearOS version check#635

Merged
sameerasw merged 11 commits into
mainfrom
develop
Jul 25, 2026
Merged

Develop - Dev env upgrades, translation linting, wearOS version check#635
sameerasw merged 11 commits into
mainfrom
develop

Conversation

@sameerasw

Copy link
Copy Markdown
Owner

This pull request introduces several improvements focused on translation handling, dependency management, and enhanced Wear OS integration, including update detection and user prompts. It also adds new CI workflows to validate translations automatically. The most important changes are summarized below:

Wear OS Integration & Update Detection:

  • Added logic to detect the connected Wear OS watch's app version and determine if an update is required. If an update is needed, a badge is shown on the "Watch" feature card, and a prominent warning card with an update action is displayed in the watch settings UI. (app/build.gradle.kts, EssentialsWearableListenerService.kt, SetupFeatures.kt, FeatureCard.kt, WatchSettingsUI.kt, viewmodels/WatchViewModel) [1] [2] [3] [4] [5] [6] [7] [8] [9]

Translation Handling & Validation:

  • Improved translation loading logic to better handle locale fallbacks (e.g., mapping "pt-BR" to "pt" if the base locale is missing) and expanded the list of known locale resource folders. (StringLoader.kt) [1] [2]
  • Added a new GitHub Actions workflow (validate-translations.yml) to automatically validate translation string files on pull requests and workflow dispatch. Also, integrated translation validation into the apply-translations workflow. (.github/workflows/validate-translations.yml, .github/workflows/apply-translations.yml) [1] [2]

Dependency Management:

  • Migrated several dependencies in app/build.gradle.kts to use centralized version catalogs (libs.*) for easier updates and consistency; updated some library versions. (app/build.gradle.kts) [1] [2] [3]

UI Enhancements:

  • Enhanced FeatureCard to support displaying an animated badge (using Lottie) when a feature (such as "Watch") requires attention. (FeatureCard.kt, SetupFeatures.kt) [1] [2] [3] [4]
  • Added a user-facing card in the watch settings UI to prompt for Wear OS app updates, including direct action to the latest release. (WatchSettingsUI.kt)

Miscellaneous:

  • Updated the app version to 16.4 (code 56) and added a build config field for the required Wear version code. (app/build.gradle.kts)

Let me know if you want more details on any of these changes!

@sameerasw sameerasw self-assigned this Jul 25, 2026
@sameerasw sameerasw added the enhancement New feature or request label Jul 25, 2026
@sameerasw
sameerasw merged commit 0b5f9fa into main Jul 25, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Essentials Progress Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant