feat: add lightweight animated pagination and clean SVG warnings (#76)#93
Open
ianujvarshney wants to merge 1 commit into
Open
feat: add lightweight animated pagination and clean SVG warnings (#76)#93ianujvarshney wants to merge 1 commit into
ianujvarshney wants to merge 1 commit into
Conversation
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.
Description
Implemented lightweight, smooth-animated pagination for the BetterBugs DevTools listing page.
Key Changes:
app/components/ui/Pagination.tsxwith dynamic page counts, responsive sibling/ellipsis boundaries, and an interactive background slider usingframer-motion.app/page.tsxto handle page size slicing (30 items standard, 9 items for search results). Page selection automatically resets to1when Category, Type, or Search inputs change.stop-colortostopColor,stroke-widthtostrokeWidth, etc.) across multiple icon components to ensure zero runtime console warning outputs.next.config.jsto prevent HMR cross-origin resource sharing errors during multi-device network testing.Fixes #76
Dependencies
framer-motion(already part of project dependencies, used for fluid slide and fade pagination transitions)Future Improvements
?page=X) to preserve page navigation when sharing the page link.Mentions
Screenshots of relevant screens
Please paste screenshots of your beautiful new pagination showing:
issue-76-sliding-pagination.mp4
Developer's checklist
package.jsonis unchanged,package-lock.jsonis also unchanged in this PRIf changes are made in the code: