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
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
..
dashboard Remove the ability to collapse the main graph + transition bug fix (#2627) 4 years ago
polyfills 1. Remove the "airbnb" eslint plugin since it conflicts with prettier (#1374) 5 years ago
app.js 1. Remove the "airbnb" eslint plugin since it conflicts with prettier (#1374) 5 years ago
embed.content.js Allow custom styles to be passed to embedded iframe (#1522) 5 years ago
embed.host.js Allow custom styles to be passed to embedded iframe (#1522) 5 years ago