Skip to content

Revamp Settings menu structure; add version footer (#112, #113)#140

Merged
almothafar merged 1 commit into
masterfrom
claude/issues-112-113-z070tr
Jul 12, 2026
Merged

Revamp Settings menu structure; add version footer (#112, #113)#140
almothafar merged 1 commit into
masterfrom
claude/issues-112-113-z070tr

Conversation

@almothafar

Copy link
Copy Markdown
Owner

Closes #112, closes #113.

What changed

Splits the settings by axis instead of the grown-organically mix (design settled in #112):

  • General — language, temperature unit, and the status notification (show-rate moved here from the Battery Drain group)
  • Alertswhat to be notified about: one category per alert event in battery-lifecycle order (levels slider moved from General, then warning, critical, full, temperature, fast drain, charging). Temperature no longer sits between Warning and Critical.
  • Notification Behaviourhow alerts sound/appear and when they're allowed: silent-mode handling, vibrate, quiet hours (with "critical ignores quiet hours" moved next to the window it overrides), sticky

Version footer (#113): the Settings root now ends with a "Version x.y.z" row; tapping opens the About dialog. The dialog + version lookup moved from MainActivity into a shared AboutDialog helper.

Wording only, no logic changes (all preference keys and defaults unchanged — nothing migrates):

  • "Apply Silent Mode" → "Mute alerts in silent mode", with summaries that say what ON does
  • Quiet-hours toggle/time labels and sticky summaries rewritten; root headers get descriptive summaries
  • Fixes the swapped Arabic vibrate on/off summaries (bonus bug found during the pass)

Also deletes the unused pref_headers.xml / pref_headers_legacy.xml.

Verification

Static checks only in-session (the cloud env can't build yet, #137): XML parse-validation, all @string/@array references resolve, two-way values ↔ values-ar diff clean, no dangling references to removed resources. CI on this PR is the compile gate; maintainer will test on device.

🤖 Generated with Claude Code

https://claude.ai/code/session_015ZMe8rrw7eQKz69R4Xw3t5


Generated by Claude Code

Split the settings by axis instead of the grown-organically mix:

- General: language, temperature unit, and the status notification
  (show-rate moved here from the Battery Drain group)
- Alerts: WHAT to be notified about — one category per alert event in
  battery-lifecycle order (levels slider moved from General, then
  warning, critical, full, temperature, fast drain, charging), so
  Temperature no longer sits between Warning and Critical
- Notification Behaviour: HOW alerts sound/appear and WHEN they are
  allowed — silent-mode handling, vibrate, quiet hours (with "critical
  ignores quiet hours" moved next to the window it overrides), sticky

Wording only, no logic changes (all preference keys and defaults are
unchanged, so nothing migrates):

- "Apply Silent Mode" -> "Mute alerts in silent mode" with summaries
  that say what ON does
- Quiet-hours toggle/time labels and sticky summaries rewritten
- Root headers get descriptive summaries
- Fix swapped Arabic vibrate on/off summaries

Version footer (#113): the Settings root now ends with a "Version
x.y.z" row; tapping opens the About dialog. The dialog + version
lookup moved from MainActivity into a shared AboutDialog helper.

Also delete the unused pref_headers.xml / pref_headers_legacy.xml.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015ZMe8rrw7eQKz69R4Xw3t5
@almothafar almothafar merged commit 4f43f04 into master Jul 12, 2026
2 checks passed
@almothafar almothafar deleted the claude/issues-112-113-z070tr branch July 12, 2026 21:47
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.

Show the app version in the app (About row at end of Settings) Revamp Settings menu structure (and fix misplaced/confusing "Apply Silent Mode")

2 participants