-
Notifications
You must be signed in to change notification settings - Fork 76
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
ASCII art? #332
Comments
It is not copying and pasting that needs to be made easier, but collaborative editing. The diagrams currently exist in a google docs that we use to edit and export to SVG. Example: https://fedidcg.github.io/FedCM/#other-attack-scenarios Needless to say, that isn't scaling very well as we add more edits into the spec (e.g. you can't ask "hey, update the diagrams too" in code reviews). So, we thought that using ASCII and github would allow anyone to edit them collaborative in things like PRs. I'm slowly porting them one by one, although we got some of the most important / highly mutable ones.
Will do. I'm looking for a few options and alternatives, but I'm convinced that we should find a way to allow for the diagrams to be collaboratively editable through code reviews. |
Priority of constituencies might say otherwise. FWIW, the accessibility of the diagrams is terrible, and that is for me. Worse, there are tables in the documented that are produced with this tool. Tables are a solved problem. |
Honestly, we don't feel strongly what tool we use for diagrams. We could export them to SVGs (that's what they were originally, but they were hard to main), but we wouldn't be increasing accessibility. Would you prefer that we use / exported as SVGs instead?
Agreed that tables shouldn't be diagrams, sending a PR to convert the tables. |
I'm just looking for better a11y for those figures, that's all. If you have ASCII art source and don't want to change much, then other tools can produce better output. I tend to think that these AA->SVG translations are nice in terms of enforcing consistent presentation, but somewhat painful to edit in source. That's opinion though. I don't want to dictate the editing process, except to the extent that it has negative externalities (like really bad copy-paste). |
Related to this, @jyasskin mentioned we could use https://mermaid.js.org/. Apparently it has support within GitHub, but probably not supported in bikeshed, so we'd need to move the images to a separate file and just use the generated value in the bikeshed document. |
|
This is a consequence of Sam's tooling being a little less mature than some alternatives. See blampe/goat#23 or maybe even https://datatracker.ietf.org/doc/html/rfc9113#StreamStatesFigure for examples of how to do this sort of thing better. |
The dark mode issue appears to be fixed by #528 |
The diagrams in the current version of the document appear to have been generated with some ASCII art tool. This would appear to make copy and paste easier, but it does not. If ASCII versions are important, consider using a tool like aasvg (shameless plug) to generate SVG from the ASCII art.
The text was updated successfully, but these errors were encountered: