chore(tweaks): settings bug-bash pass — 4 small fixes (E3 R5)#543
chore(tweaks): settings bug-bash pass — 4 small fixes (E3 R5)#543rainxchzed merged 3 commits intomainfrom
Conversation
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
💤 Files with no reviewable changes (1)
WalkthroughThis PR removes the help-click action from the tweaks UI, eliminates browser-helper integration, consolidates error reporting through a dedicated logger, and refactors the About section icon from an interactive button to a styled non-clickable circle. ChangesTweaks Presentation Refactoring
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Static-audit pass over the Tweaks surface (8 sections, ~2.5K LOC) per Foundation Sprint Task 3 / E3 R5 brief. Surfaced 4 concrete code-level findings; manual interactive bug-bash on real devices is queued separately.
Bugs fixed
TweaksViewModel.kt(3 sites)println(...)with the injectedGitHubStoreLogger. Failures in the installer-attribution flow now reach Desktop crash-log + Android Logcat through the same pipeline as the rest of the repo.About.ktAboutItemIconButtonwithonClick = { }, exposing an interactive Button role + ripple to TalkBack. Replaced with a non-clickableBoxcarrying the same shape + container colour.TweaksAction.kt,TweaksViewModel.ktOnHelpClickaction was defined + handled (opened the GitHub issues page) but never emitted from any composable. Action removed; deadBrowserHelperconstructor dependency dropped.RestartApp.jvm.kt(2 sites)System.err.printlnlog lines bypassed the Desktop crash-reporter pipeline. The "without adding a logging dep" rationale was stale — Kermit is already transitively available. Routed throughco.touchlab.kermit.Logger.Issues noted but skipped (with reasoning)
TelemetryRepositoryImpl.flushPendingconsults. Removing the UI is a strategic decision, not a bug. File a separate task if the call is to fully strip.refreshCacheSizere-launch: verified safe —observeCacheSize()is a single-emit cold flow; the collect job completes after one emission, so the manual-refresh tap correctly relaunches.OnProxyTypeSelectedre-fires save when re-tapping the current type: idempotent DataStore write, no observable harm.Tests deferred to interactive bug-bash
The static audit cannot prove these — the operator should run a device-side pass to verify:
Findings doc at
roadmap/E3_R5_SETTINGS_BUGBASH.md(gitignored) tracks the full audit + checklist for the device pass.Test plan
:feature:tweaks:presentation:compileDebugKotlinAndroid✅,:feature:tweaks:presentation:compileKotlinJvm✅,:composeApp:compileDebugKotlinAndroid✅.printlnbefore).What's-new
Skipped — these are silent internal cleanups (no user-visible behaviour change). Per the headline-only what's-new philosophy.
Summary by CodeRabbit
Removed
Style Changes
Improvements