[Docs] Add platform circles - #4370
Merged
Merged
Conversation
coado
approved these changes
Jul 31, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the docs site to support T-Rex UI’s new “platform circles” feature, enabling platform indicators (Android/iOS/Web) to appear alongside relevant Table of Contents entries for API sections.
Changes:
- Bump
@swmansion/t-rex-uito1.3.7. - Wire
platform-circlesremark plugins into the Docusaurus classic preset docs pipeline. - Annotate selected MDX headings with trailing platform markers (
[A],[I],[W]) to drive the ToC indicators.
Reviewed changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/docs-gesture-handler/package.json | Bumps @swmansion/t-rex-ui to pick up the platform circles feature. |
| packages/docs-gesture-handler/docusaurus.config.js | Registers the platform-circles remark plugins for docs processing. |
| packages/docs-gesture-handler/docs/gestures/use-pan-gesture.mdx | Adds platform markers to applicable API headings. |
| packages/docs-gesture-handler/docs/gestures/use-native-gesture.mdx | Adds platform markers to applicable API headings. |
| packages/docs-gesture-handler/docs/gestures/use-hover-gesture.mdx | Adds platform markers to applicable API headings. |
| packages/docs-gesture-handler/docs/gestures/_shared/mouse-button.mdx | Adds platform markers to the shared prop heading. |
| packages/docs-gesture-handler/docs/gestures/_shared/base-gesture-config.mdx | Adds platform markers to platform-specific config headings. |
| packages/docs-gesture-handler/docs/core-components/gesture-detector.mdx | Adds platform markers to web-only props. |
| packages/docs-gesture-handler/docs/components/touchable.mdx | Adds platform markers to Android/iOS-specific props. |
| packages/docs-gesture-handler/docs/components/reanimated-drawer-layout.mdx | Adds platform markers to iOS/web and web-only props. |
| packages/docs-gesture-handler/docs/components/reanimated_swipeable.mdx | Adds platform markers to the iOS/web-only prop heading. |
| packages/docs-gesture-handler/docs/components/pressable.mdx | Adds platform markers to platform-specific props. |
| packages/docs-gesture-handler/docs/components/buttons.mdx | Adds platform markers to platform-specific props. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
This PR bumps
t-rex-uito add newly implemented platform circles.Test plan
Read docs 🤓