Repository navigation
feat(zoom): move between the page's figures with Up and Down - #398
Conversation
|
No configured credential can serve this run. Your ChatGPT subscription has hit its usage limit, which resets at 2026-11-13 17:11 UTC. Re-trigger after it resets, or add an API key for this provider, which Pullfrog falls back to automatically. The providers' responses
|
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
comark-annotate
comark-badge
comark-cards
comark-carousel
comark-cast
comark-charts
comark-chat
comark-chips
comark-cjk
comark-code
comark-code-notes
comark-colors
comark-comments
comark-critic
comark-deflist
comark-details
comark-diagrams
comark-diff
comark-embed
comark-fields
comark-figure
comark-file-tree
comark-footnotes
comark-github
comark-icon
comark-include
comark-keys
comark-links
comark-linter
comark-magic-move
comark-mark
markdown-it-to-comark
marked-to-comark
comark-mathml
comark-media
comark-metrics
migrate-to-comark
comark-outline
comark-properties
comark-qr
comark-quiz
comark-reading-time
remark-to-comark
comark-sources
comark-steps
comark-table
comark-tabs
comark-tests
comark-time
comark-ui
comark-xref
comark-zoom
commit: |
Latest result Pull request merged. Final answersSession Pull request merged. Ready; no further repair needed. Package-local `vp test run test/zoom.test.ts`: 10 passed. Focused `vp lint` passed with one verified pre-existing warning; `git diff --check` passed. Hosted build, checks, e2e and publishing passed. All supplied feedback was inspected; no actionable findings remain. Pullfrog failed because review credentials reached their usage limit. Pushed f1a9d34 fixing P1 figure skipping with interleaved named groups. The regression failed before repair and passed afterward. pnpm test:e2e e2e/zoom.e2e.ts --workers 1: 25 passed; package-local vp test run test/zoom.test.ts: 10 passed. Prerequisite builds, focused lint and formatting passed, with one pre-existing lint warning. Awaiting hosted checks; automated reviewers were unavailable due quotas. |
|
No configured credential can serve this run. Your ChatGPT subscription has hit its usage limit, which resets at 2026-11-13 17:11 UTC. Re-trigger after it resets, or add an API key for this provider, which Pullfrog falls back to automatically. The providers' responses
|

On a review page with several before/after blocks, such as this Drop page with four
::compareblocks in a row, you have to close the zoom, scroll and reopen it for each comparison.This PR makes ↑ and ↓ open the previous or next figure on the page, at its first item, while ← and → keep stepping between before and after. A figure is a gallery, a named group, or an item on its own, in document order.
.cz-placeshows "Figure 3 of 4" in the header. It's hidden on touch screens, which get no new gesture: a vertical drag closes the viewer in PhotoSwipe, Fancybox, lightGallery and GLightbox, so a swipe between figures would surprise people.Percy uses the same keys for visual review: ↑/↓ between snapshots, ←/→ between original and new. UX plan: https://drop.vitehub.dev/d/p2zxjp237x9x/zoom-up-down-figures
A new e2e test in
e2e/zoom.e2e.tswalks four figures: an image, a compare, a slider compare and a tall image.pnpm readypasses, apart from aremark-to-comarkCLI test that timed out under load and passes on its own. I haven't tried it on the Drop page itself, since that needs a release.