-
Notifications
You must be signed in to change notification settings - Fork 350
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
Add reference documentation link to MetadataEditor #1386
Conversation
Fixes elyra-ai#838 Adds a button to the top right of the MetadataEditor when a schema has `reference_url` defined in it's `uihints`
Thanks for making a pull request to Elyra! To try out this branch on binder, follow this link: |
I'll upload a screenshot in a bit (forgot to take one before doing Though this would be fine to merge as is (thus not wip), I'm not 100% setting on the look and feel of the button, specifically the text and the text color. Should the text be different and should I change the text color to white or would it then be unclear that it's a link? @ptitzler your feedback on those items would be most appreciated. |
|
I was going to argue that this was the color of all link text in lab, but upon checking I found that there was a css var for link text color we weren't using, so I updated both the editor and widget to use the lighter shade of blue, screenshots below: |
@lresende how does this look instead? I switch from a Button to a Link (this was actually my original implementation)
|
Food for thought - maybe make this part of the "description" to take into consideration how LTR consumers scan a page (Top left to bottom right)
This way the critical information is all in one place. |
I like this, let me try that and make some new screenshots |
@ptitzler is this what you were thinking? |
Yep! I think this is much cleaner. Even though the dark theme is still not my cup of tea 😉 |
I've pushed the changes as seen in my previous commit |
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. Tested code snippets, runtime configuration, and runtime image in light and dark theme
Fixes #838
Adds a button to the top right of the MetadataEditor when a schema
has
reference_url
defined in it'suihints
Developer's Certificate of Origin 1.1