Repository navigation
feat(notify): Deny on the left, Approve on the right - #53
Conversation
Swap the order of the two inline buttons in the Telegram message. Labels, callback data and checks are unchanged. The unit test and the design doc state the new order. Verified on macmini (arm64, umask 022): cargo test --workspace, all passed.
|
Important CHANGES REQUESTED What This PR DoesSwaps the two Telegram inline buttons so Deny is on the left and Approve on the right. Labels and callback data are unchanged. How It Works
Findings
Finding Details🟡 F1: Cross-surface button orderWith Requested change: either align the web page to Deny-then-Approve in the same PR, or state in the PR and design doc that the Telegram order intentionally differs. 🟡 F2: Unstated rationale and muscle-memory riskNeither the PR description nor the commit message says why the order changes. Telegram inline buttons have no color, so position is the main cue. If stage-2 buttons are already in use, a habitual tap on the right side, which used to mean Deny, now approves and forwards the request. That cannot be undone. An accidental Deny is recoverable. Requested change: record the reason (for example a platform convention or an owner preference) in the PR description and the design doc. If the goal is to prevent mis-taps, consider whether one button per row or more distinct labels would serve that better than a left/right swap. 🟡 F3: No CI validation
Requested change: dispatch 🟢 F4: Minimal and correct+6/-6 across three files, with no new config, abstraction, or duplication. Baseline Check
Reviewer Verdicts
Two of the four assigned reviewers did not report before the publish deadline. What's Good (🟢)
Three Reasons We Might Not Need This PR
|
Swaps the order of the two Telegram inline buttons so Deny is on the left and Approve on the right. Labels and callback data are unchanged. The unit test asserts the order and the design doc is updated.
Why: owner decision (2026-11-28). Approve on the right is easier to reach with the right thumb on a phone. The web approval page is unchanged (Approve first, stacked on narrow screens); this is recorded in docs/design/muse-gated-passthrough.md 3.6.2.