code
code copied to clipboard
refactor(knossos): Rewrite date range system on analytics dashboard.
Goals:
- [x] Use clearer format/types that allows for further expansion in the future.
- [x] Migrate fully to dayjs instead of haphazardly converting between Date and dayjs.DayJs types continuously.
- [x] Remember chosen range in localStorage.
- [x] Fix issue with drop-offs on the edge of ranges.