feat: implement dynamic routing for Sistent components#7408
feat: implement dynamic routing for Sistent components#7408rishiraj38 wants to merge 28 commits intolayer5io:masterfrom
Conversation
Migrate Sistent components to MDX-based dynamic routing. This removes the hardcoded content.js and replaces it with a scalable, GraphQL-driven approach suitable for large component libraries. Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
860abe1 to
b7bc06b
Compare
|
@Rajesh-Nagarajan-11 Could you please review and give some feedback? |
|
🚀 Preview for commit b7bc06b at: https://69849a8800c6f13b7bbb8e77--layer5.netlify.app |
Migrated all Sistent components to dynamic MDX routing. Standardized component header layouts by moving descriptions to frontmatter. Cleaned up legacy content.js and deprecated code. Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
|
@Rajesh-Nagarajan-11 Could you please review this? Is this the correct way? |
|
This needs a bit more focus. I just need a review to see if I’m moving in the right direction or if I’m increasing your workload. 😅 |
|
present it in monday's website meeting please |
|
🚀 Preview for commit e33a175 at: https://6985ed49e6962ec326ad1365--layer5.netlify.app |
OK, but what was your initial thought about this? Does it look good? |
|
Like all components in the sistent, each has three sub-components: overview, guidance and code. I tried adding everything into a single index.mdx file but it became too large. It was too difficult to find and fix anything so I divided them into three separate files. |
|
🚀 Preview for commit e33a175 at: https://698605f323fdac1a22f3038b--layer5.netlify.app |
|
@rishiraj38 Thank you for your contribution! Let's discuss this during the website call tomorrow at 6:30 PM IST | 7 AM CST Add it as an agenda item to the meeting minutes, if you would 🙂 |
|
🚀 Preview for commit 83035c1 at: https://698ece6c6623f82919a30f8f--layer5.netlify.app |
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
4d638b7 to
42b3496
Compare
…or-mdx # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
|
🚀 Preview for commit 43f7ff8 at: https://69932c5945919983b1785c12--layer5.netlify.app |
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
|
@Rajesh-Nagarajan-11 I understand I couldn’t explain everything because of a sore throat which makes speaking difficult. This will make reviewing challenging. Could you please review one component, the accordion, and provide some feedback? This will help me adjust all other components similarly. |
|
Did you use AI to migrate contents ? |
|
If so no issues , but please double check the doc contents are replica , becuz AI might change the content of documention |
|
🚀 Preview for commit 5c3ca69 at: https://69933d87b32a291bd40f03b8--layer5.netlify.app |
|
I made the commit without -- no verify that why lints change added |
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
cd91a01 to
d116802
Compare
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
|
🚀 Preview for commit 6f38801 at: https://6995f6bfa0e8a119f5f8d513--layer5.netlify.app |
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
|
🚀 Preview for commit b14f050 at: https://69960048104b0643307304cb--layer5.netlify.app |
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
|
🚀 Preview for commit 1697d3e at: https://699611965749bb008d07b81a--layer5.netlify.app |
|
🚀 Preview for commit 7993cc0 at: https://699697711fc39d7a54954e09--layer5.netlify.app |
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
|
I suggest you to bump into single commit , we need to reduce the commit as much as possible |
|
🚀 Preview for commit c3d6684 at: https://69973b4119062e11d67a3665--layer5.netlify.app |
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
|
🚀 Preview for commit a7f8287 at: https://6998b71d13148b1be1c669a3--layer5.netlify.app |
…rid, IconButton, Icons, Link components Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
|
🚀 Preview for commit 973a1c4 at: https://6999e375e8085e1d208fffb1--layer5.netlify.app |
|
@rishiraj38 Thank you for your contribution! Let's discuss this during the website call tomorrow at 6:30 PM IST | 7 AM CST Add it as an agenda item to the meeting minutes, if you would 🙂 |
…: Select, Stack, List, Modal, Pagination, Popper, RadioGroup Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
|
🚀 Preview for commit 68e15a7 at: https://699b4056e8085e01368fff6a--layer5.netlify.app |
|
🚀 Preview for commit 899d577 at: https://699ddae2021b99332359a5ec--layer5.netlify.app |
Updated text-input, text-field, toggle-button, toolbar, tooltip, and stack components Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
|
@Rajesh-Nagarajan-11 Done with all the components. |
|
🚀 Preview for commit 8dc8186 at: https://69a062bba89eb8357c326a87--layer5.netlify.app |
Description
This PR refactors the Sistent component documentation system to migrate from a hardcoded data source (content.js) to a dynamic, MDX-driven approach using Gatsby's data layer. This change improves scalability and maintainability of the design system documentation.
Components to Refactor:
Signed commits