Skip to content

Conversation

@lgarbarini
Copy link

Resolves #88 by adding swipe-left and swipe-right touch screen gestures (can be disabled in settings)

@vercel
Copy link

vercel bot commented Jun 3, 2025

@lgarbarini is attempting to deploy a commit to the pacexy Team on Vercel.

A member of the Team first needs to authorize it.

@lgarbarini
Copy link
Author

@pacexy are you open to this sort of contribution?

@pacexy pacexy requested a review from Copilot August 18, 2025 05:30
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds touch screen swipe navigation support for the reader app, allowing users to navigate between pages using swipe-left and swipe-right gestures. The feature can be toggled on/off in the settings interface.

  • Adds swipe detection with visual feedback via gradient overlays
  • Implements configurable swipe behavior with damping and resistance
  • Provides a settings toggle to enable/disable swipe navigation

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
apps/reader/src/state.ts Adds swipeEnabled setting with default value of false
apps/reader/src/components/pages/settings.tsx Adds checkbox UI for toggling swipe navigation in settings
apps/reader/src/components/Reader.tsx Implements comprehensive swipe detection, visual feedback, and page navigation logic
apps/reader/locales/en-US.ts Adds localization strings for swipe navigation settings

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

navigation

1 participant