-
Notifications
You must be signed in to change notification settings - Fork 573
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
Metadata layout in 3.0/3.1 version #189
Comments
Hi @rubinatorz, Sorry, I did see your comment on the other issue yesterday I just haven't had time to respond until now. The new tooltip implementation uses a borderless table instead of just a line by line listing. This theoretically improves readability although apparently not in your specific case. Two possible ways to improve the readability for your case:
One thing we could possibly change is setting white-space to
td:first-child {
white-space: nowrap;
}
If you wanted to modify the tooltip template yourself, it should be pretty straightforward to modify I'll leave this issue open and marked as "seeking feedback" in case other users want to chime in with their thoughts. |
@isaisabel having the option |
Hi @isaisabel Thanks for getting back on this. I did indeed put this also in a comment on issue #188, but I thought it might be better to make a separate issue for it. I tried your suggestions and this helps a bit. However empty names and/or values are not allowed, an error is shown when loading the layer into the Navigator: Having an option to enter empty names and values is indeed useful to have section breaks. I can use a space in both name as value, but then still a colon is shown. Regarding the |
Yeah we can include no-wrap on the key as part of the v3.1 release. @clemiller could you please make sure it makes its way into the branch? The change should be in my comment above (the addition to the tooltip SCSS) @rubinatorz You're right that it doesn't work. The typechecking we implemented doesn't like empty values on required fields (and empty strings are considered an empty value). However, whitespace does work... except that it includes the colon delimiter which I had forgotten about: "metadata": [
{
"name": "hello",
"value": "world"
},
{
"name": " ",
"value": " "
},
{
"name": "how",
"value": "goes"
}
], |
We can explore adding a section break feature to the metadata format in future updates (the v3.1 deadline is too soon for us to add to that milestone) |
Hi @isaisabel Thanks for planning to incorporate the nowrap in 3.1! Very happy with that! Regarding the section break, we can for now work around the colon and it would be great to have the section break in the future update. |
The nowrap change has now been implemented in v3.1. I'm leaving this open to document the need for further improvements in that UI, namely allowing section breaks. |
Looks great @isaisabel and @clemiller! Thanks a lot. We have a temporary workaround for the section break as you can see. Looking forward to a real section break. |
Hi all! We are implementing the section break feature as a part of the next update (v4.1). We're planning to add the option for a "divider” property, which will add a section break where the property occurs in the list of metadata. This will be shown as a horizontal bar across the table. Before finalizing this implementation, we'd like to seek some feedback. Please feel free to share your thoughts! Here's an example of the format:
|
Hi @clemiller and @isaisabel, this is great! It looks good and exactly what we need. The way the section break can be inserted looks handy. |
Hi @clemiller, that looks awesome! |
Great, we will go ahead with this implementation for the next release. Thank you everyone! |
The divider feature is now present in the develop branch. We'll be releasing it to the live instance soon. |
Hi @isaisabel
The layout of the metadata in the new 3.0/3.1 version of the Navigator is slightly changed compared to the 2.0 version. Values are now aligned with each other, the line height of each line is increased and the width of the tooltip is smaller:
In the previous version it was like this:
I can imagine the choice for this, but in our case it just looks less nice and a bit messy in the new version of the metadata. Is there a chance of having an option to influence this behaviour?
Thanks!
The text was updated successfully, but these errors were encountered: