Admin: Update stats page UI (#38014)

* Add StatCard

* Style cards

* Update types

* Add tests

* Move stats tab into licencing

* Prevent UI jumps when loading stats

* Fix merge conflicts

* Revert docs format
This commit is contained in:
Alex Khomenko
2021-08-24 19:13:48 +03:00
committed by GitHub
parent fcceb5716d
commit 6e639f3c72
10 changed files with 282 additions and 168 deletions

View File

@@ -49,7 +49,7 @@ func (l *OSSLicensingService) Init() error {
for _, node := range indexData.NavTree {
if node.Id == "admin" {
node.Children = append(node.Children, &dtos.NavLink{
Text: "Upgrade",
Text: "Stats and license",
Id: "upgrading",
Url: l.LicenseURL(req.SignedInUser),
Icon: "unlock",