dashboard next: minor improvements

* rename route to dashboard-next
* better scaling of charts for large data sets
* adjust trend position to avoid overlap
* makes sure silenced/suspended is made on real users
* correctly format data when only one data point
* minor refactoring
This commit is contained in:
Joffrey JAFFEUX
2018-04-17 11:01:06 +02:00
committed by GitHub
parent 9980f18d86
commit 2b8307c6c3
8 changed files with 48 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
export default function() {
this.route('admin', { resetNamespace: true }, function() {
this.route('dashboard', { path: '/' });
this.route('dashboard_next', { path: '/dashboard_next' });
this.route('dashboardNext', { path: '/dashboard-next' });
this.route('adminSiteSettings', { path: '/site_settings', resetNamespace: true }, function() {
this.route('adminSiteSettingsCategory', { path: 'category/:category_id', resetNamespace: true} );
});