-
Notifications
You must be signed in to change notification settings - Fork 0
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
GSLUX-569: Time layers permalink (parent GSLUX-594) #70
Conversation
GitHub Pages links: * Luxembourg-geoportail: https://geoportail-luxembourg.github.io/luxembourg-geoportail/GSLUX-594-TimeSelectionsLayers/ |
0b1fbf5
to
6ef5bc2
Compare
6ef5bc2
to
fc747d4
Compare
acb3698
to
0c338fe
Compare
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.
Impressive work! Thanks for this new dev @AlitaBernachot ! I have no comments regarding the code, just noticed that the date does not seem to be updated when using the datepicker widget with one date (value
type). Maybe you could take a look at this on your side, before merging. The e2e only tests the range
widget if I saw correctly.
@tkohr Indeed, I wasn't e2e testing the datepicker in value mode, I would have noticed the datepicker wasn't working properly. |
JIRA issue
https://jira.camptocamp.com/browse/GSLUX-569
Description
Handle time layers in permalink, plus UI in layer-item.
There are 4 types of time components :
Theme fixtures have been updated with new time layers for tests.
⚠️ Adding time layers on map will be done in another PR.
time
param in permalink (and localstorage)layer-time-datepicker
andlayer-time-slider
luxon
in package.json to help with date formatting':'
ul
listScreenshots
Slider value
Slider range
TODO, in GSLUX-649
Datepicker range
Datepicker value
Run in dev
👉 If you want to compare behavior in v3 dev mode, please update your db with commit: https://github.com/camptocamp/luxembourg_dev_db/tree/time_layers