Skip to content
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

Convert Sequence Diagram img to mermaid #51723

Merged
merged 4 commits into from
Jan 31, 2025
Merged

Conversation

n6y5
Copy link
Contributor

@n6y5 n6y5 commented Jan 31, 2025

changelog: replaces the static png image to the language based mermaid sequence diagram with support for GitHub markdown rendering.

Before:

PTY communication

After:

Untitled diagram-2025-01-31-192310

Playground:

https://www.mermaidchart.com/app/projects/e27e8be9-380e-4b27-b5d9-7dd2f66c0eef/diagrams/ba72f37b-324a-4450-938b-f04ba6cfc476/version/v0.1/edit

@@ -248,7 +248,34 @@ resource availability as possible.

### PTY communication overview (Renderer Process <=> Shared Process)

![PTY communication](docs/ptyCommunication.png)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we delete this file too?

Copy link
Contributor Author

@n6y5 n6y5 Jan 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zmb3 We should!

When we do delete the image, I now notice that would only leave the txt source within the docs dir /docs/ptyCommunication.txt, which is redundant to the mermaid syntax we now have, inline, within the README.

Should we delete the entire dir in favor of keeping everything in the README?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed docs dir and contents: 87d6c7f

@n6y5 n6y5 requested a review from zmb3 January 31, 2025 21:50
@n6y5 n6y5 enabled auto-merge January 31, 2025 21:54
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from jimbishopp January 31, 2025 22:36
@n6y5 n6y5 added this pull request to the merge queue Jan 31, 2025
Merged via the queue into master with commit 4d4a406 Jan 31, 2025
41 of 42 checks passed
@n6y5 n6y5 deleted the n6y5-teleterm-sequence-mermaid branch January 31, 2025 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants