PB-442: change timeslider css for partial data#823
Conversation
c1bf160 to
d7894b4
Compare
Passing run #2238 ↗︎Details:
Review all test suite changes for PR #823 ↗︎ |
|||||||||||||||
d7894b4 to
320d059
Compare
393494e to
5ee6629
Compare
src/modules/i18n/locales/en.json
Outdated
| "time_hide": "Disable representation of data time stamps.", | ||
| "time_select_year": "Select a year", | ||
| "time_show": "Enable representation of data time stamps.", | ||
| "time_slider_legend_tippy_intro": "The time slider displays different colours depending on whether the time layers have data for the selected year or not.", |
There was a problem hiding this comment.
In the UI we never talk about layer but about map so we should keep this nomenclature in help text.
The time slider displays different colors depending on whether the maps have data for the year or not.
For German and Italian, @hansmannj and @Luke252 can maybe help and also check english 😉 . For french a proposal that can be double check by you and @pakb
Le curseur de temps affiche différentes couleurs selon si les cartes temporelles disposent de données ou non.
There was a problem hiding this comment.
@ltshb I checked and compared the IT and EN versions with the rest. Hope it's clear ;)
src/modules/i18n/locales/de.json
Outdated
| "drawing_attached": "Zeichnung als Anhang hinzugefügt" | ||
| "drawing_attached": "Zeichnung als Anhang hinzugefügt", | ||
| "switch_tooltip_attached_to_feature": "Tooltip an Geometrie anhängen", | ||
| "switch_tooltip_floating": "Eine schwebende Tooltip verwenden", |
src/modules/i18n/locales/de.json
Outdated
| "3d_vegetation_active": "Entferne Vegetationen", | ||
| "3d_vegetation_inactive": "Vegetationen hinzufügen", |
There was a problem hiding this comment.
I'd use the singular "Vegetation" here in both cases
c99ab98 to
f2d2904
Compare
|
Most of my comments are gone, I'll try to remember and re-write them 😉 |
91e4512 to
c9d2fe7
Compare
c9d2fe7 to
a3abf21
Compare
ltshb
left a comment
There was a problem hiding this comment.
I allowed myself to do some improvement on the tippy and rebased.
| placement: 'bottom', | ||
| delay: [1500, 500], | ||
| allowHTML: true, | ||
| followCursor: 'horizontal', |
There was a problem hiding this comment.
After trying out, I find the folowCursor: 'initial' better here.
The striped bar was not satisfactory for conveying that there was only partial data available. Thus we now use a lighter shade of the primary color and added a tooltip to explain what the color means.
Part 1 : We fix the css here PB-442: update tippy translations
translation update
Tippy needs to be destroyed. Also avoid duplicate tippy content in code. For better readability use vue template for the complex tippy content. Fix margin issue with the play button introduced by `mx-1` class. Improve tippy content by adding some margin and padding.
a3abf21 to
0cee27f
Compare

We changed the color of the time slider bar when there is only partial data.
We also added a tippy on hovering the time slider bar, telling us which color is used for which state (no data, partial data, full data)
We also added a small correction to a german translation where a capitalized i shouldn't have been capitalized.
Test link with data
Test link