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/assets/js/dashboard
Vini Brasil 061cb6ec83
Remove the ability to collapse the main graph + transition bug fix (#2627)
* Remove the ability to collpase the top graph

This commit removes the ability to collapse the top graph. The graph
collapsed whenever `metric` was falsy. I removed all related code to
that. Metric now defaults to visitors.

We want to add new items to top stats, and this commit will make it
easier to change it. Also, there's currently a bug where top stats is
randomly collapsing, which should be fixed by this commit.

* Refactor graph and top stats loading state

The graph loading state shows and hides the graph conditionally
depending on whether the data is loaded, loading or refreshing.

The current code is a bit difficult to read because its big
conditionals. This commit refactors the loading state making it easier
to read.

This commit also fixes a bug where the graph wasn't fading out when
changing metrics.
4 years ago
..
components Fix svg favicons (#2295) 4 years ago
stats Remove the ability to collapse the main graph + transition bug fix (#2627) 4 years ago
util Last updated tooltip (#2576) 4 years ago
api.js Google APIs integration improvements (#2358) 4 years ago
comparison-consumer-hoc.js Adds Main Graph Metric Selection (#1364) 5 years ago
comparison-context.js Adds Main Graph Metric Selection (#1364) 5 years ago
comparison-provider-hoc.js Adds Main Graph Metric Selection (#1364) 5 years ago
datepicker.js Add keyboard navigation to intervals (#2470) 4 years ago
error-boundary.js Adds dark mode to entire dashboard (#467) 6 years ago
fade-in.js Additional pre-commit hooks (#1428) 5 years ago
filters.js Fix svg favicons (#2295) 4 years ago
historical.js Last updated tooltip (#2576) 4 years ago
index.js Last updated tooltip (#2576) 4 years ago
keybinding.js Add keyboard navigation to intervals (#2470) 4 years ago
mount.js Realtime dashboard improvements (#2445) 4 years ago
pinned-header-hoc.js Add fallback if InteractionObserver is unavailable 5 years ago
query.js Clean graph JavaScript code (#2441) 4 years ago
realtime.js Last updated tooltip (#2576) 4 years ago
router.js Remove cities feature flag 5 years ago
site-switcher.js Fix svg favicons (#2295) 4 years ago