Repository navigation
feat(web): add interactive drag-follow wipe gestures to images, videos, and comics - #23
Merged
Merged
Conversation
# Conflicts: # CHANGELOG.md # apps/web-svelte/src/lib/components/ComicReader.svelte # apps/web-svelte/src/lib/components/ComicReader.test.ts # apps/web-svelte/src/lib/components/UniversalLightbox.svelte # apps/web-svelte/src/lib/components/UniversalLightbox.test.ts
…under modularity ceiling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
apps/web-svelte/src/lib/gestures/wipe-gesture.ts(axis locking, boundary resistance, velocity/distance/viewport-extent commit, adjacent preview positioning, andprefersReducedMotion()support).UniversalLightbox(still images, zoomed pan boundaries, and lightbox videos while excluding timeline/control strips and cleanly resetting click suppression onpointerdown/pointercancel).ComicReader(paged mode, respecting RTL reading order, double-page spreads,fit-to-width/fit-to-heightscroll boundaries, and chapter-end actions).CHANGELOG.mdunder## [Unreleased]→### Added.Verification
node scripts/release/check-version.mjs(version3.10.0): passedpnpm --filter @prismedia/web-svelte lint(svelte-check): 0 errors, 0 warningsvitest(wipe-gesture.test.ts,UniversalLightbox.test.ts,universal-lightbox-zoom.test.ts,ComicReader.test.ts,comic-reader.test.ts): 5 files passed, 109/109 tests passed