You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib
Robert Joonas fcfb54dde0 Move metric state into localStorage
This commit gets rid of the internal `metric` state in the VisitorGraph
component and starts using localStorage for that instead.

This commit also chains the main-graph request into the top-stats request
callback - meaning that we'll always fetch new graph data after top stats
are updated. And we do it all in a single function.

Doing so simplifies the loading state significantly, and also helps to
make it clear, that at all times, existing top stats are required before
we can fetch the graph. That's because the metric is determined by which
Top stats are returned (for example, we can't be sure whether revenue
metrics will be returned or not).
3 years ago
..
mix/tasks Move Mix.Task.DumpPlans to Plausible.Release (#3544) 3 years ago
plausible Add label to site imports and populate it (#3914) 3 years ago
plausible_web Move metric state into localStorage 3 years ago
workers Include domain and dates in zip archive filename (#3921) 3 years ago
oban_error_reporter.ex safe(r) Oban telemetry (#3743) 3 years ago
plausible.ex Remove custom domains support + update build options (#3559) 3 years ago
plausible_release.ex Remove custom domains support + update build options (#3559) 3 years ago
plausible_web.ex Merge `Plugins.API.Router` into main one (#3767) 3 years ago
sentry_filter.ex Update Sentry (#3843) 3 years ago