-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Make "Reanimated" title in docs interactive. #5766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make "Reanimated" title in docs interactive. #5766
Conversation
- selected portion of the title is now movable via the visible interaction boxes - commiting before I rewrite this system with different approach
…t affected. Committing before reworking dragging mechanism and adding visual improvements.
piaskowyk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall great 👏
Co-authored-by: Krzysztof Piaskowy <[email protected]>
Code cleanup.
Code cleanup.
…o look before this PR. After turning on isInteractive flag, it becomes interactive.
|
As per @piaskowyk request, by default this website is drawn as it used to be, and interactivity is added to it separately only after the initial non-interactive part has been loaded. |
Fixed structure and styling.
Removed unnecessary useEffect. Fixed styles.
Increased readability.
Add better typing annotations. Fix pixel alignment issues.
|
I noticed that mobile view is not aligned with how it used to look, so there is one more commit coming. |
… @latekvo/docs/make-title-movable
… @latekvo/docs/make-title-movable
piaskowyk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is the last review iteration 🎉
Add dependencies to useEffect.
… @latekvo/docs/make-title-movable
piaskowyk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏👏👏
Summary
This PR makes the "Reanimated" title in docs interactive.

Test plan
To test this feature,
docsfolderyarn startResults
Screen.Recording.2024-03-07.at.15.48.28.mov