mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1588] [MERGED] [codex] Restore haptic controls #5126
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5126
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1588
Author: @Xelvanis
Created: 5/29/2026
Status: ✅ Merged
Merged: 5/29/2026
Merged by: @Xelvanis
Base:
refactor← Head:restore/knip-haptic-controls📝 Commits (3)
c51c873Restore haptic stop controls85e232dHandle haptic action failuresdbf9486Bypass haptic rate limit for stops📊 Changes
3 files changed (+270 additions, -21 deletions)
View changed files
📝
src-tauri/src/commands/storage/integrations/haptic.rs(+60 -11)➕
src/features/modes/shared/chat-ui/components/settings/HapticConnectionPanel.test.tsx(+141 -0)📝
src/features/modes/shared/chat-ui/components/settings/HapticConnectionPanel.tsx(+69 -10)📄 Description
Linked issue
Part of #1566
Why this change
What changed
Stop scan,Stop all, and per-deviceStopcontrols in the haptic settings panel.action: "stop"bypasses the command throttle while non-stop commands remain rate-limited.Refactor impact
Primary owner:
Impact areas reviewed:
features/modes/shared/chat-uihaptic settings panel behavior.features/runtime/hapticshook contracts.src/shared/api/haptics-api.tscommand wrapper contract.src-tauri/src/commands/storage/integrations/haptic.rsnative haptic command behavior.Boundary notes:
src/features; it uses the existing runtime haptics hooks and focused shared API wrapper.Pressure points touched:
Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
Commands run locally:
pnpm test -- src/features/modes/shared/chat-ui/components/settings/HapticConnectionPanel.test.tsxpnpm test -- src/shared/api/haptics-api.test.tscargo test --manifest-path src-tauri/Cargo.toml haptic --libcargo check --manifest-path src-tauri/Cargo.tomlpnpm typecheckpnpm lint:eslintpnpm check:architecturepnpm check:unusedpnpm buildgit diff --checkManual Tauri + real Intiface device QA was not run.
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs changes were made; this is a focused restore/failure-path hardening slice for existing haptic controls.
UI evidence
No screenshots or recordings added; native Intiface device QA remains manual.
Summary by CodeRabbit
Release Notes
New Features
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.