Repository navigation
feat(app,firmware): remappable single/double/triple tap button actions (#2825) - #19323
sirgawain0x wants to merge 9 commits into
Conversation
Implements BasedHardware#2825 with progressive tap notifications on a new BLE characteristic so shorter gestures stay instant when longer ones are Off. Long press remains fixed as firmware power off. Defaults: Ask, Mute, End. Co-authored-by: G2 <[email protected]>
…_test ScriptedDeviceConnection lacked getFeatures/getBleButtonTapsListener after _streamButtonTaps started probing tap capability, crashing 25 capture tests. Also clang-format the new firmware host test so Repo Checks / Formatting passes. Co-authored-by: G2 <[email protected]>
Repo Checks / Formatting failed dry-run on the newly added header. Co-authored-by: G2 <[email protected]>
|
Thanks for this — a genuinely well-built end-to-end implementation of #2825. A few notes from review: What looks good
Points that need a maintainer call before merge
No security or supply-chain concerns found — no dependency, workflow, or secret surface; the checks-manifest addition only compiles a local test file. This needs a product decision on point 1 and on-device validation sign-off on point 4, so I'm flagging it for maintainer review rather than sign-off. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
|
Follow-up to my earlier review on this head — one correction to that note, plus two additions. After this I'll leave it with a human maintainer. Correction — double-tap default migration (point 1 of my earlier comment): on a closer read of DevKit root cause (extends point 2): the feature-bit gate never opens on DevKit because of the firmware, not the app: Minor: Everything else from the earlier review stands as verified on this head: GATT table indexing on both by AI on behalf of David |
Resolve l10n by replaying single/triple tap keys onto upstream ARBs, port progressive button-taps dispatch onto upstream CaptureController voice-command trigger/grace changes, and drop invalid const Icon colors. Co-authored-by: G2 <[email protected]>
Resolve l10n ARB/Dart conflicts by rebasing button-action keys onto upstream locale catalogs and regenerating flutter gen-l10n. Co-authored-by: G2 <[email protected]>
|
Thanks @sirgawain0x — this is a genuinely well-built PR, especially for a first contribution here. Static review of the full diff below; no approval from me since this spans a device-protocol commitment and product defaults that need a maintainer's call. What I verified and like
Things a maintainer should decide before merge
No security, dependency, workflow, or data-handling surfaces touched; docs changes match the code as diffed. Labeling 🤖 AI-generated maintainer feedback on behalf of the Omi maintainers by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
Resolve l10n ARB/Dart conflicts by rebasing button-action keys onto upstream locale catalogs and regenerating flutter gen-l10n. Co-authored-by: G2 <[email protected]>
Review feedback on BasedHardware#19323: NativeBleTransport never threw for a missing 23ba7926 characteristic, so the DevKit probe always looked supported, and Device Settings gated triple-tap on the CV1-only features bit. - Expose DeviceTransport.hasCharacteristic and use it for taps support - Gate settings UI and capture streaming on supportsButtonTaps() - Honor single-tap remapping on the legacy button path - Document CV1 feature-bit vs DevKit characteristic discovery Co-authored-by: G2 <[email protected]>
|
Thanks for this — a well-structured implementation of #2825. The capability-gated design (feature bit 9 on CV1, A few review notes: Verified
One product question worth a maintainer decision
Minor
The remaining test-plan item (on-device remapping validation on CV1/DevKit) is still open; firmware behavior can't be fully verified host-side. Leaving those two items — the unset-default behavior change and hardware validation — for human maintainer review before merge. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
Resolve l10n ARB/Dart conflicts by rebasing button-action keys onto upstream locale catalogs and regenerating flutter gen-l10n. Co-authored-by: G2 <[email protected]>
Resolve l10n ARB/Dart conflicts by rebasing button-action keys onto upstream locale catalogs and regenerating flutter gen-l10n. Co-authored-by: G2 <[email protected]>
|
Thanks @sirgawain0x - this is a well-put-together feature. I reviewed the firmware, app, and docs surfaces; the host test suite for the recogniser passes locally (7/7), and the design keeps legacy behaviour intact for older images. What looks good, with specifics:
Notes for the maintainer (why this needs human sign-off rather than automated approval):
Category-wise this spans app and firmware coherently around one feature, so I reviewed it as a whole rather than asking for a split. This feedback is AI-generated maintainer assistance on behalf of the Omi maintainers; human review is required before merge. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
Summary
Implements remappable single/double/triple tap button actions for Omi (#2825).
23ba7926(CV1 + DevKit), feature bit 9Closes #2825
Test plan
tap_sequencefirmware testsbutton_action_test/ omi button actions controller testsProduct invariants affected
none
Invariants: none
Failure-Class: none