Skip to content

Fixes couple of Flatpickr related issues - #495

Merged
ukutaht merged 3 commits into
plausible:masterfrom
Vigasaurus:466-flatpickr-sameday
Dec 21, 2020
Merged

ukutaht merged 3 commits into
plausible:masterfrom
Vigasaurus:466-flatpickr-sameday

Conversation

@Vigasaurus

@Vigasaurus Vigasaurus commented Dec 21, 2020 •

Copy link
Copy Markdown
Contributor

Changes

  • Ensures that selecting the same day for both entries in Flatpickr doesn't result in an empty graph, and instead changes to "day" view for the single day selected.
  • Does the same as Fix overly-sticky date in query parameters #470 but for from and to params, which persist when moving from a custom date range to any other period

Fixes #466

Tests

  • This PR does not require tests

Changelog

  • Entry has been added to changelog

Documentation

  • This change does not need a documentation update

@ukutaht

ukutaht commented Dec 21, 2020

Copy link
Copy Markdown
Contributor

Thanks!

@ukutaht
ukutaht merged commit 1174801 into plausible:master Dec 21, 2020
@ukutaht

ukutaht commented Dec 21, 2020

Copy link
Copy Markdown
Contributor

This is now deployed live

oliver-kriska pushed a commit to payout-one/analytics that referenced this pull request Dec 23, 2020
* Navigates to day when same day is chosen in flatpickr

* Ensures that erroneous from and to params are removed when re-navigating

* Changelog
@Vigasaurus Vigasaurus mentioned this pull request Dec 24, 2020
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Choosing same day for start and end in Flatpickr results in an empty visitors-graph

2 participants