-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Diagram metadata #2082
Diagram metadata #2082
Conversation
Sourcery Code Quality Report❌ Merging this PR will decrease code quality in the affected files by 1.81%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
8424a21
to
18f3cec
Compare
18f3cec
to
3b988f2
Compare
How do I add metadata to a diagram? |
2 similar comments
How do I add metadata to a diagram? |
How do I add metadata to a diagram? |
I forgot: it still needs a proper icon. |
@danyeaw @vanillajonathan Added an icon. NB. All fields are saved in the diagram item. There's no model element with "shared" data. |
Looks good, maybe the Gtk.Entry for the license could have proposals for some SPDX license identifiers such as |
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.
This looks fantastic, I really like how it turned out! It is simple to add metadata to a diagram, and I think it was the right approach to save it to the diagram instead of creating a separate element.
I have two minor comments about naming.
I'd like to postpone this until we get rid of the GTK3 code. GTK4 does not have a nice editable dropdown by itself ( |
GTK 3 have https://discourse.gnome.org/t/replacement-for-entrycompletion/13505 |
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #803
What is the new behavior?
Add a diagram item that can provide diagram meta data.
Other information