-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor data fetching to use browser timezone, remove server renderi…
…ng (#110) * Begin refactoring date/interval code into utils.ts * Time series chart renders * Add timezone to time series chart * Sites ordered by hits doesnt need tz * Update resources.country to use client tz * Cards all pass timezone * Fix errant cf timezone in resources.paths.tsx * Reload timeseries chart on interval change * Refactor stats into its own card, remove all uses of cf timezone * Fix tests * Fix lint errors * Fix "unknown" site id issue
- Loading branch information
1 parent
56518f8
commit 0a19c38
Showing
13 changed files
with
372 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.