From fd3ecacd05e56f89b2e42e165212f825dd4b688a Mon Sep 17 00:00:00 2001
From: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
Date: Thu, 21 Nov 2024 11:23:35 +0100
Subject: [PATCH] Angular: Remove unused admin pages (#96526)
* Remove unused Angular admin pages
* Update betterer
---
.betterer.results | 16 ------
.../features/admin/partials/admin_home.html | 12 -----
.../app/features/admin/partials/edit_org.html | 52 ------------------
public/app/features/admin/partials/stats.html | 54 -------------------
.../features/admin/partials/styleguide.html | 27 ----------
5 files changed, 161 deletions(-)
delete mode 100644 public/app/features/admin/partials/admin_home.html
delete mode 100644 public/app/features/admin/partials/edit_org.html
delete mode 100644 public/app/features/admin/partials/stats.html
delete mode 100644 public/app/features/admin/partials/styleguide.html
diff --git a/.betterer.results b/.betterer.results
index e1996888277..bf13ad71e29 100644
--- a/.betterer.results
+++ b/.betterer.results
@@ -5982,22 +5982,6 @@ exports[`no gf-form usage`] = {
[0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"],
[0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"]
],
- "public/app/features/admin/partials/edit_org.html:5381": [
- [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"],
- [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"],
- [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"],
- [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"],
- [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"],
- [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"],
- [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"],
- [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"]
- ],
- "public/app/features/admin/partials/styleguide.html:5381": [
- [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"],
- [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"],
- [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"],
- [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"]
- ],
"public/app/features/annotations/partials/event_editor.html:5381": [
[0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"],
[0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"],
diff --git a/public/app/features/admin/partials/admin_home.html b/public/app/features/admin/partials/admin_home.html
deleted file mode 100644
index a3432e61dc0..00000000000
--- a/public/app/features/admin/partials/admin_home.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
| Username | -Role | -- | |
|---|---|---|---|
| {{orgUser.login}} | -{{orgUser.email}} | -
-
-
-
-
-
- |
-
-
- |
-
| Name | -Value | -
|---|---|
| Total dashboards | -{{ctrl.stats.dashboards}} | -
| Total users | -{{ctrl.stats.users}} | -
| Active users (seen last 14 days) | -{{ctrl.stats.activeUsers}} | -
| Total organizations | -{{ctrl.stats.orgs}} | -
| Total datasources | -{{ctrl.stats.datasources}} | -
| Total playlists | -{{ctrl.stats.playlists}} | -
| Total snapshots | -{{ctrl.stats.snapshots}} | -
| Total dashboard tags | -{{ctrl.stats.tags}} | -
| Total starred dashboards | -{{ctrl.stats.stars}} | -
| Total alerts | -{{ctrl.stats.alerts}} | -