framework/extensions/statistics/js
David Wheatley 76788efaba
feat(statistics): support for custom date ranges (#3622)
* feat: backend support for statistics custom date ranges
* feat: use seconds-based timestamps on backend instead
* feat: add frontend date selection option
* feat: add tests for lifetime and timed stats
* fix: add error alert when end date is after start date
* fix: wrong label
* fix: no data when start and end date are same day
* fix: use utc dayjs for formatting custom date range on widget
* chore: add dayjs as project dep
* fix: make end date inclusive
* feat: add integration test for custom date period
* fix: incorrect ts expect error comment
* fix: add missing type
* fix: typing errors
* fix(tests): remove type from class attribute definition
* fix: extract default values to function body
* fix: typo
* chore: use small modal
* fix: add missing `FormControl` class
* fix: cast url params to int to enforce type
* chore: `yarn format`

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2022-09-29 13:12:54 +02:00
..
dist Bundled output for commit 352a50e3ad 2022-08-16 17:36:57 +00:00
dist-typings Bundled output for commit 352a50e3ad 2022-08-16 17:36:57 +00:00
src/admin feat(statistics): support for custom date ranges (#3622) 2022-09-29 13:12:54 +02:00
.gitignore chore: flarum-cli audit infra --fix 2022-01-20 03:52:02 -05:00
admin.ts chore: convert to TypeScript 2022-01-27 15:58:04 -05:00
package.json feat(statistics): support for custom date ranges (#3622) 2022-09-29 13:12:54 +02:00
tsconfig.json chore: unify JS actions into one (rewritten flarum/action-build) (#3573) 2022-08-08 14:48:43 +01:00
webpack.config.js chore: flarum-cli audit infra --fix 2022-01-20 03:52:02 -05:00