Skip to content

Move About version info to Help screen#270

Merged
Goooler merged 7 commits into
trunkfrom
move-about-dialog
May 28, 2026
Merged

Move About version info to Help screen#270
Goooler merged 7 commits into
trunkfrom
move-about-dialog

Conversation

@Goooler
Copy link
Copy Markdown
Owner

@Goooler Goooler commented May 28, 2026

Summary

  • remove the standalone About dialog and its Home-screen entry
  • show version information directly in Help > About as two separate items:
    • App Version
    • Core Version
  • load app/core version data in HelpViewModel and expose it to HelpScreen
  • keep version rows using the info icon style in Help
  • add/complete localized strings for the new labels across existing home module locales

Why

This simplifies the Home UI and consolidates About/version details in a single place while clearly distinguishing app version from core version.

Notes for reviewers

  • Build and formatting are green (spotlessApply, app:assembleDebug).
  • Branch includes only home/help UI + localization changes.

@Goooler Goooler changed the title home: move About version info to Help screen Move About version info to Help screen May 28, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Consolidates “About”/version information into the Help screen by removing the standalone About entry/dialog from Home and surfacing separate App/Core version rows under Help > About.

Changes:

  • Removed Home-screen About action and dialog, including HomeViewModel state/logic that populated it.
  • Added version loading to HelpViewModel and displayed App Version + Core Version rows in HelpScreen.
  • Added localized string resources for the new labels across all existing ui/home locales.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
ui/home/src/main/res/values/strings.xml Adds app_version / kernel_version labels for Help > About rows.
ui/home/src/main/res/values-zh/strings.xml Localizes new version labels (Simplified Chinese).
ui/home/src/main/res/values-zh-rTW/strings.xml Localizes new version labels (Traditional Chinese - Taiwan).
ui/home/src/main/res/values-zh-rHK/strings.xml Localizes new version labels (Traditional Chinese - Hong Kong).
ui/home/src/main/res/values-vi/strings.xml Localizes new version labels (Vietnamese).
ui/home/src/main/res/values-ru/strings.xml Localizes new version labels (Russian).
ui/home/src/main/res/values-ko-rKR/strings.xml Localizes new version labels (Korean).
ui/home/src/main/res/values-ja-rJP/strings.xml Localizes new version labels (Japanese).
ui/home/src/main/kotlin/com/github/kr328/clash/home/vm/HomeViewModel.kt Removes About-version state and the async loader previously used by the Home About dialog.
ui/home/src/main/kotlin/com/github/kr328/clash/home/vm/HelpViewModel.kt Adds version loading (app + native core) and exposes it via UiState.
ui/home/src/main/kotlin/com/github/kr328/clash/home/ui/HomeScreen.kt Removes the About entry point and dialog UI from Home.
ui/home/src/main/kotlin/com/github/kr328/clash/home/ui/HelpScreen.kt Adds the two version rows under the Help > About category.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Goooler Goooler merged commit 30ccf16 into trunk May 28, 2026
5 checks passed
@Goooler Goooler deleted the move-about-dialog branch May 28, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants