analytics/assets
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.
2023-01-31 16:11:51 -03:00
..
css Last updated tooltip (#2576) 2023-01-16 10:30:22 +02:00
js Remove the ability to collapse the main graph + transition bug fix (#2627) 2023-01-31 16:11:51 -03:00
static Show user feedback form on server errors (#2617) 2023-01-25 15:15:41 +01:00
.babelrc React (#17) 2019-11-19 12:30:42 +08:00
.bundlemonrc.json Add remote config 2021-11-24 11:56:24 +02:00
.eslintrc.json City level location data (#1449) 2021-11-23 11:39:09 +02:00
.prettierignore 1. Remove the "airbnb" eslint plugin since it conflicts with prettier (#1374) 2021-10-11 14:48:19 +02:00
.prettierrc.json Fix svg favicons (#2295) 2022-10-04 13:20:51 +03:00
.stylelintrc.json Add eslint, stylelint, prettier, and pre-commit (#484) 2020-12-23 10:45:53 +02:00
package-lock.json Bump loader-utils from 1.4.0 to 1.4.1 in /assets (#2423) 2022-11-10 08:34:04 -03:00
package.json Stop relying on npm-bin (hard deprecated) (#2446) 2022-11-16 16:35:08 +02:00
postcss.config.js Update TailwindCSS to 2.0 2020-11-19 14:34:37 +02:00
tailwind.config.js fix class name typo and include it in safelist (#2610) 2023-01-20 10:41:04 -03:00
webpack.config.js Polyfill ResizeObserver 2021-07-05 15:16:56 +03:00