Dashboard: add trend arrows (▲/▼/●) with color to Website stats — compares day-over-day + update-to-update

This commit is contained in:
Oliver
2026-06-11 06:00:59 -03:00
parent e06572d0a6
commit 52dd17384a
3 changed files with 43 additions and 7 deletions
+18 -1
View File
@@ -1,9 +1,26 @@
{
"period": "2026-06-09 to 2026-06-10",
"updated": "2026-06-11 08:30",
"updated": "2026-06-11 08:59",
"visitors": 9,
"visitors_trend": {
"dir": "same",
"change": "+0",
"pct": "+0%"
},
"visitors_change": "",
"latest_day": "2026-06-10",
"latest_day_visitors": 5,
"dod_trend": {
"dir": "up",
"change": "+1",
"pct": "+25%"
},
"pageviews": 37,
"pageviews_trend": {
"dir": "same",
"change": "+0",
"pct": "+0%"
},
"pageviews_change": "",
"bounce_rate": "\u2014",
"bounce_rate_change": "",