-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add initial UI sections docs pages and script for generation #114
base: main
Are you sure you want to change the base?
Conversation
…table is unavailable when running UI sections update script
I think this is great! I have a hard time figuring out where in the code base something is—like recently wanting to change the behavior of the visibility |
Thanks for the feedback @psobolewskiPhD ! Yes, sometimes the diagrams are still a little bit convoluted, could it be worthy to try to group the nodes in subgraphs in some way to help with that? Happy to hear that you checked out the plugin and the directory layout helps! |
Just in case, experimenting a little bit with mermaid subgraphs and using the directory where the detected module is located, the diagram could look something like this (for example for the Application menusDependencies diagram (related
|
That looks cool! are the zoom/pan controls a markdown thing only? |
Awesome! And regarding the zoom controls I think is something GitHub added when it is rendering mermaid diagrams, not totally sure if there is a way to add that to the generated documentation but I can check 👍 |
Really dig this! |
Just in case, I was checking the top-level navigation of the page and seems like the |
@dalthviz is this ready for another round of reviews? |
Yep @melissawm ! 👍 |
This is super cool! But I'm not getting the ability to zoom at least with the CircleCI docs Tried in Safari and Chrome -- am I missing something? |
Seems like something changed with the latest |
@psobolewskiPhD I think I was able to change the mermaid related config for it to work again (nodes should show names, be clickable and you should be able to pan and zoom the diagrams). Let me know if you still see issues! |
Awesome! Yeah pan and zoom work great now. |
Oh! And what do you think of linking to your awesome plugin on the UI sections landing page |
Maybe some custom code could enable doing something like opening the diagram in a new window indeed. As a quick check, something like the following could be achieved (kind of like taking a snapshot of the current zoom level/part of the diagram currently being viewed and showing that in a new tab/window): Note that the preview above was done by running some custom code (https://stackoverflow.com/a/56110734) + adding a new HTML node (
If that could be useful to have over the docs sure 👍 Is there any phrasing that should be used for the link? Maybe something like:
? |
I like that phrasing @dalthviz ! |
Description
Initial structure for UI sections documentation, support to render mermaid diagrams inside the documentation and a script to generate the UI sections documentation pages
Type of change
References
closes #93
Final checklist: