Zenith icon indicating copy to clipboard operation
Zenith copied to clipboard

Make foreground notification status configurable

Open zahedshareef opened this issue 5 months ago • 2 comments

Summary

  • add a configurable foreground notification status mode: daily usage, active focus counts, or the existing default text
  • add a Features settings control for choosing the status notification mode
  • refresh the foreground service notification when preferences or focus rules change, with throttled usage updates
  • add unit coverage for the notification status formatter

Verification

  • ANDROID_HOME=C:\Users\zahed\AppData\Local\Android\Sdk ./gradlew :app:testFullDebugUnitTest --no-daemon
  • ANDROID_HOME=C:\Users\zahed\AppData\Local\Android\Sdk ./gradlew :app:assembleFullDebug --no-daemon
  • Installed and launched a side-by-side debug APK on a connected Samsung SM-S928B as com.etrisad.zenith.debug to avoid wiping the existing release-signed app data.

zahedshareef avatar Jun 05 '26 20:06 zahedshareef

Addressed the requested changes in 9796b3b: moved the status notification UI into its own Status Notifications category and changed both new-user fallback defaults to DEFAULT.

Verification: ./gradlew.bat --console=plain :app:testFullDebugUnitTest passed.

zahedshareef avatar Jun 10 '26 15:06 zahedshareef

Thanks for the fix. I'll merge it when the code optimization is lighter.

1372Slash avatar Jun 13 '26 12:06 1372Slash