Synchronise tabs in website#4331
Conversation
WalkthroughUpdated Tabs usage to include a shared groupId ("riverpod") in the CodeSnippet component and two docs occurrences, causing tab selections to be synchronized across those tab groups without changing tab labels or content. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant UI as Tab UI (groupId="riverpod")
participant OtherUI as Other Tab UI (groupId="riverpod")
Note right of UI #e8f3ff: Tabs share groupId "riverpod"
User->>UI: Click "riverpod_generator" tab
UI-->>OtherUI: Broadcast selected tab (groupId="riverpod")
OtherUI-->>UI: Apply selection
UI-->>User: Render selected tab content
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (19)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🧪 Early access (Sonnet 4.5): enabledWe are currently testing the Sonnet 4.5 model, which is expected to improve code review quality. However, this model may lead to increased noise levels in the review comments. Please disable the early access features if the noise level causes any inconvenience. Note:
Comment |
|
Thanks for this! Looks like there are a few tabs that need to be updated to use the groupId too. Not all tabs use the component. |
|
It looks contained within |
c3bef5a to
13d92c1
Compare
Ah. I missed this. Have pushed the change. |
|
No worries. Thanks! |
Related Issues
fixes #4330
Summary by CodeRabbit