feat: animate Meshery Architecture Diagram and add GIF export#7758
feat: animate Meshery Architecture Diagram and add GIF export#7758mishradwaterlaw wants to merge 2 commits into
Conversation
|
🚀 Preview deployment: https://layer5.io/pr-preview/pr-7758/
|
|
@mishradwaterlaw Please attach screen recording of your changes. |
031b6e0 to
c14d2ba
Compare
screen-capture.6.webmLet me know if this aligns with the desired behavior or if you'd like any adjustments to the animation timing |
|
hi @saurabhraghuvanshii @Rajesh-Nagarajan-11 (for some reason I can't see the previous comment where you linked the docs, but here is my update): thanks for pointing me to the documentation.. I apologize for the misunderstanding regarding the original issue description. I've completely scrapped the custom GSAP/SVG animation and refactored the component to natively embed the design using the component, as per the Kanvas embedding docs. (Could you please confirm if this aligns with what you had in mind?) my code is ready, but I currently have placeholders for the embedScriptSrc and embedId. Could you provide the exported .js script and ID for the Meshery Architecture design, or grant me access to it in Kanvas or point me on how to do it..so I can export it myself? Once I have those, i can plug them in and finalize the PR |
Signed-off-by: mishradwaterlaw <Tezashmishra@outlook.com>
c14d2ba to
70376d9
Compare
|
@mishradwaterlaw I don't know why but, I'm not able to see your changes here https://layer5.io/pr-preview/pr-7758/cloud-native-management/meshery |
hi @saurabhraghuvanshii sooo, the changes wont be visible on the preview just yet because i am currently using placeholder values for the embedScriptSrc and embedId, to get the diagram rendering properly, could you either provide the exported .js script and ID for the Meshery Architecture design, or grant me access to the design in Kanvas (with a quick pointer on how to export it) so I can grab it myself?... once I have the real script and ID plugged in, the embedded architecture diagram will show up perfectly |

Description
This PR fixes #7661
This Pull Request implements the animated Meshery Architecture Diagram and a dynamic high-fidelity GIF export feature on the Layer5.io website.
The implementation respects all original node coordinates, styles, and pixel alignments exactly as defined in
meshery-architecture.svg, while introducing dynamic interactive elements, responsive controls, and custom browser-based rendering exports.Notes for Reviewers
Here is a breakdown of the key architecture changes introduced for your review:
MesheryArchitectureSVG.js):#arch-*)..arch-channel-labelstyling to path-drawn letters inside the dark channel (HTTP/gRPCandHTTPlabels), rendering them in bright neon green (#00d3a9) to match brand accents.#arch-adapters-clusterso they scale and fade in collectively at Step 7 instead of causing pre-rendering float bugs.index.js):strokeDashoffsettransition.meshery-architecture.style.js):rgba(30, 33, 23, 0.88)withbackdrop-filter: blur(14px)and glowing brand borders).html2canvas,gifshot) only when requested by the user.requestAnimationFrame(waitForPaint) checks to allow browser draw-calls to fully paint before canvas snapshots are captured.Verification and Quality Checks Done:
npx eslint, passing with 0 errors and 0 warnings.typeof window !== "undefined"), ensuring perfect Gatsby SSR/SSG compatibility.Signed commits