Repository navigation
Conversation
Failure-Class: none
|
Thanks @arhxam - this is a clean, well-scoped implementation of #4458, and the default-on choice preserves today's behavior for existing users. What I verified:
Two non-blocking notes for the maintainer:
Nice work shipping tests alongside the feature. Product direction decision on the switch scope (global vs per-device) needs maintainer sign-off before merge. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
kodjima33
left a comment
There was a problem hiding this comment.
Feature (not bug fix) in app/mobile area - approve only per policy, do not merge.
kodjima33
left a comment
There was a problem hiding this comment.
Feature (device button action switch), not a bug fix — mobile/app area default is approve-only per confidence gate. Diff mostly auto-generated l10n; core change is small and tested. No abuse signals.
kodjima33
left a comment
There was a problem hiding this comment.
Clean, minimal feature (default-on button-action master switch, single gate point in capture_controller.dart, well tested). It's a feat, not a bug fix, so approve-only per policy; also the cleaner of two competing implementations of this same feature (see #11193).
|
This is already on main. Main has persisted Closing. Thanks for the contribution. |
|
Hey @arhxam 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
What changed and why
Add a default-on, persisted master switch for Omi device button actions. Interactive onboarding still receives the button event first, while normal single-, double-, and long-press actions return before side effects when the user disables the switch.
Closes #4458
Product invariants affected
none
How it was verified
flutter test test/unit/device_button_policy_test.dart test/widgets/device_settings_double_tap_test.dart— all 9 preference, policy, persistence, and settings-widget tests passed.flutter gen-l10n— generated all 48 supported locale implementations with zero untranslated messages.bash scripts/analyze_ratchet.sh— analyzer ratchet passed.Tests
Failure-Class: none