-
Notifications
You must be signed in to change notification settings - Fork 11
feat(Tabs): add logic for component tabs & nav routing #38
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
Conversation
wise-king-sullyman
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.
Looking great! A few various things below, also I'd love if we could figure out the performance issues here, but that could be a followup.
wise-king-sullyman
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.
🔥
|
🎉 This PR is included in version 1.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
WIP.
[...tab].astroto build a tab dictionary from available routes (stored incomponentTabs) and then sort the tabs in a specified order (from org repo).entry.idandentry.data.idfieldsid) & route to/components/{kebab-component}[...page].astroto rewrite content to[...tab].astrofor component pages (so that /component/alert effectively will show /component/alert/react). It should be picking the first available tab based on thecomponentTabsglobal.Page.astro, removing the wrapping PF Content component (this was interfering with rendering the tabs classes)Todos: