fix(perf): lazy load super admin dashboard stats (#15147)

The super admin landing page runs all its stat queries synchronously
before rendering anything. On large installs the exact `COUNT(*)` on
conversations and the 30-day chart group-by scan the whole table and
exceed the request timeout, so the first page load fails and the console
is unreachable.
This commit is contained in:
Vishnu Narayanan
2026-07-28 15:54:51 +05:30
committed by GitHub
parent b89bd613f8
commit 3a8c5117da
7 changed files with 79 additions and 38 deletions

View File

@@ -23,6 +23,7 @@ const tailwindConfig = {
darkMode: 'class',
content: [
'./enterprise/app/views/**/*.erb',
'./app/javascript/superadmin_pages/**/*.vue',
'./app/javascript/widget/**/*.vue',
'./app/javascript/v3/**/*.vue',
'./app/javascript/dashboard/**/*.vue',