-
Notifications
You must be signed in to change notification settings - Fork 22.7k
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
Django - fix up model diagram to match code #4505
Conversation
Preview URLsFlawsURL:
External URLsURL:
(this comment was updated 2021-04-29 23:55:17.895367) |
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.
LGTM; let's merge this.
Ah. It wants you to run --save-compression on the SVG. |
@chrisdavidmills Isn't that a bug? How can you compress a vector diagram? |
LOL, that's a good point! Can you file an issue on Yari? |
This topic first came up in mdn/yari#1678 |
A vector diagram is an XML file. There are whitespace and quotations inside that can be optimized. |
Plus, tools like Photoshop tend to add |
Yes exactly - as per mdn/yari#1678 the problem I am trying to solve in this case is managing source files to ease editing. I did it in this case because I could no longer modify the png manually - so created in lucidchart, and was planning to do future edits in inkscape. On Friday I will test if this is still editable after minification. If so that will fix this case. IMO this is still worth discussing/resolving though. |
I think it's a worthwhile discussion to have. |
Perhaps worth to pick this situation up in mdn/yari#3652, too? |
@chrisdavidmills I have compressed the svg image and merged. |
@peterbe Will continue the discussion #4505 (comment) elsewhere. But in summary, I fully agree w.r.t. image compression being important - these things can quickly get out of hand. |
Fixes #4495
Adds borrower and imprint to the bookinstance in UML. Note that this replaces the PNG image as an SVG to ease future editing (i.e. via inkscape)