Skip to content
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

Synchronize tabs and allow users to set initial state via query params #1225

Conversation

sulaiman-fern
Copy link
Contributor

@sulaiman-fern sulaiman-fern commented Jul 30, 2024

Fixes FER-2652

Short description of the changes made

  • We want to be able to synchronize tab groups by groupId

What was the motivation & context behind this PR?

  • Synchronize tab groups
  • Set initial state of code group selection via query parameters

How has this PR been tested?

  • Synchronized tab groups
Screen.Recording.2024-07-30.at.6.52.48.PM.mov
  • Set initial state of code group via query params
Screen.Recording.2024-07-31.at.10.46.23.AM.mov

Copy link

linear bot commented Jul 30, 2024

FER-2652 [Monite, Boundary] Support synchronizing tab groups

https://docusaurus.io/docs/3.1.1/markdown-features/tabs#syncing-tab-choices

If you have a documentation page and you want to synchronize tab selection that should be possible.

How docusaurus does it:

<Tabs groupId="operating-systems">
  <TabItem value="win" label="Windows">Use Ctrl + C to copy.</TabItem>
  <TabItem value="mac" label="macOS">Use Command + C to copy.</TabItem>
</Tabs>

<Tabs groupId="operating-systems">
  <TabItem value="win" label="Windows">Use Ctrl + V to paste.</TabItem>
  <TabItem value="mac" label="macOS">Use Command + V to paste.</TabItem>
</Tabs>

Copy link

vercel bot commented Jul 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fern-dashboard-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2024 9:16pm
fern-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2024 9:16pm
fern-prod ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2024 9:16pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
fern-dashboard ⬜️ Ignored (Inspect) Aug 1, 2024 9:16pm
fontawesome-cdn ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 9:16pm
private-docs ⬜️ Ignored (Inspect) Aug 1, 2024 9:16pm

…-tab-groups' of github.com:fern-api/fern-platform into sulaiman/fer-2652-monite-boundary-support-synchronizing-tab-groups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants