feat: corpus-back all Lenis integration patterns#82
Merged
KailasMahavarkar merged 6 commits intomainfrom Apr 21, 2026
Merged
Conversation
Adds corpus/frontend/lenis/full-page.yaml with the root layout ReactLenis wrapper pattern. Registers full-page in namespace index. Test asserts corpus source for full-page. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds corpus/frontend/lenis/next-js.yaml with the App Router SmoothScrollProvider wrapper. Registers next-js in namespace index. Test asserts corpus source for next-js. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…d slice Adds corpus/frontend/lenis/framer-motion-integration.yaml with the frame.update sync pattern for Motion v11+. Registers framer-motion-integration in namespace index. Test asserts corpus source for framer-motion-integration. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds corpus/frontend/lenis/custom-container.yaml with scoped wrapper/content ref scroll pattern. Registers custom-container in namespace index. Test asserts corpus source for custom-container. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds corpus/frontend/lenis/scroll-to-nav.yaml with the smooth anchor NavLink component pattern. Registers scroll-to-nav in namespace index. Test asserts corpus source for scroll-to-nav. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds corpus/frontend/lenis/accessibility.yaml with the prefers-reduced-motion gated AccessibleSmoothScrollProvider. Registers accessibility in namespace index so all 7 Lenis patterns are now corpus-backed. Test asserts corpus source for accessibility; the former fallback assertion is replaced because no un-migrated pattern remains. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
corpus/frontend/lenis/<name>.yamlslicescorpus/frontend/lenis/index.yamltests/lenis-pattern-corpus-backed-tools-behaviour.test.tsnow asserts Corpus Source: frontend.lenis for every pattern the tool exposesTest plan