-
-
Notifications
You must be signed in to change notification settings - Fork 736
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
chore: remove mermaid in favor of react archer #6320
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
return <Alert severity='warning'>No data available.</Alert>; | ||
} | ||
|
||
const mockApps = new Array(30).fill(1).map((_, i) => ({ |
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.
is the mock apps intended?
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.
Oops, you're right. I thought I had reverted this but it slipped by. Nice catch! Cleaned up in b2221f7
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.
I am a big fan of what you did here
https://linear.app/unleash/issue/2-1968/use-react-archer-instead-of-mermaid-in-the-network-overview
This PR removes mermaid in favor of react-archer, which meant adapting
NetworkOverview
to usereact-archer
instead, since that was the only remaining feature usingmermaid
.Opted not to use RPS labels in the lines since it was very noisy visually. Took the liberty to make some visual changes, but we can align afterwards with @nicolaesocaciu if needed.
Example with 1 app
Example with 3 apps
Example with 30 apps
Example in light theme