evidence-dev / evidence

Business intelligence as code: build fast, interactive data visualizations in pure SQL and markdown
https://evidence.dev
MIT License
3.44k stars 167 forks source link

fix: DateRange - startdate flicker to epoch0, auto enddate decrease and larger range selection #1893

Open AyushAgrawal-A2 opened 1 month ago

AyushAgrawal-A2 commented 1 month ago

Description

closes #1875 closes #1892

Problems Identified:

Checklist

changeset-bot[bot] commented 1 month ago

πŸ¦‹ Changeset detected

Latest commit: 9ba8e2b519d5bc258fe93b34f27fc3355302802c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | ----------------------------- | ----- | | @evidence-dev/core-components | Patch | | @evidence-dev/evidence | Patch | | my-evidence-project | Patch | | @evidence-dev/components | Patch | | evidence-test-environment | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

netlify[bot] commented 1 month ago

Deploy Preview for evidence-development-workspace ready!

Name Link
Latest commit 9ba8e2b519d5bc258fe93b34f27fc3355302802c
Latest deploy log https://app.netlify.com/sites/evidence-development-workspace/deploys/662173599d78fb00096cbf8c
Deploy Preview https://deploy-preview-1893--evidence-development-workspace.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 1 month ago

Deploy Preview for next-docs-evidence ready!

Name Link
Latest commit 9ba8e2b519d5bc258fe93b34f27fc3355302802c
Latest deploy log https://app.netlify.com/sites/next-docs-evidence/deploys/6621735954bf3f00073b8b57
Deploy Preview https://deploy-preview-1893--next-docs-evidence.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

archiewood commented 1 month ago

Can you add a test case to the example-project to show this working?

AyushAgrawal-A2 commented 1 month ago

@archiewood I have added test case to example-project at /input-components/date-range/

Date Error (solved by modifying dateToYYYYMMDD fn) image

Infinite reactive call & limited date range error - (Screencast after solving date error) before.webm

After: after.webm