Skip to content

fix(landing): support swiping customer stories - #7645

Merged
waleedlatif1 merged 2 commits into
stagingfrom
codex/customer-stories-swipe
Sep 9, 2026
Merged

fix(landing): support swiping customer stories#7645
waleedlatif1 merged 2 commits into
stagingfrom
codex/customer-stories-swipe

Conversation

@waleedlatif1

@waleedlatif1 waleedlatif1 commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add touch swipes, horizontal trackpad/mouse-wheel gestures, and Shift+wheel navigation to the featured customer carousel using its existing slide selection and transitions.
  • Preserve vertical scrolling, browser zoom, preview taps, keyboard controls, and video playback. Ignore short, vertical, cancelled, and multi-touch gestures, and stop at either end.
  • Accumulate small wheel deltas and advance once per wheel gesture, resetting after an idle gap to avoid momentum-driven repeated navigation.

Type of Change

  • Bug fix

Testing

  • 24 carousel tests passed, covering touch and wheel gestures, delta units, momentum, browser-default preservation, listener cleanup, and media continuity.
  • App type check, repository lint and lint:check, all 46 audits, block registry, and docs manifest checks passed.
  • Browser-checked layouts from 320px to 1280px, both themes, keyboard navigation, scrolling, and active video playback. Verified live horizontal wheel navigation in both directions and independent vertical page scrolling.
  • Touch and Shift+wheel edge cases covered with automated events; physical-phone testing remains outstanding.
  • Local production build intentionally not run.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced by the change
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Sep 9, 2026 4:39am UTC

Request Review

@greptile-apps

greptile-apps Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge with no actionable correctness, security, or repository-rule issues identified.

Summary

  • Tracks one touch by identifier and navigates only after a sufficiently long, predominantly horizontal gesture.
  • Ignores vertical, short, cancelled, unrelated, and multi-touch gestures.
  • Preserves vertical panning, pinch zoom, preview taps, endpoint bounds, and video state.
  • Adds focused tests for gesture classification, navigation bounds, preview interaction, and media continuity.

@waleedlatif1
waleedlatif1 merged commit 349353d into staging Sep 9, 2026
23 of 24 checks passed
@waleedlatif1
waleedlatif1 deleted the codex/customer-stories-swipe branch September 9, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant