You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The Run-button long-press → reference search modal wiring has existed since
earlier builds (handleRunPressIn armed a 2000ms timer that calls
setSearchVisible(true); handleRunPressOut cancelled it to invoke handleRun
for short presses). Two UX wrinkles remained:
1. The 2-second hold felt sluggish — the user didn't get a responsive
long-press and might think the feature was missing.
2. Even after the SearchOverlay focus effect landed in v0.6.110 (so the
keyboard reliably raises when the modal opens), there was no tactile
signal at the long-press trigger instant.
Lowered the threshold to 600ms (per user choice) and fire
Haptics.impactAsync(ImpactFeedbackStyle.Light) the instant setSearchVisible
fires. Short-press behavior unchanged: cancelling the timer in
handleRunPressOut still calls handleRun() to run the sketch. expo-haptics is
already a project dependency (used by useShakeDetection) so no package.json
change.
Entire-Checkpoint: 01KYCMTH0QHA0C6JTS0AMHYXGM