Skip to content
Corex

InsightsScreen

Corex\Config\Insights\InsightsScreen · class · Config layer

The Corex → Insights admin screen: a submenu that mounts two result cards (Performance, Readiness), each with a “Run check” button. Renders + gates (shared AdminGuard); enqueues a small vanilla script + token-only styles only on its own screen, and hands the script the REST root, a nonce, and the provider list. All data comes from the cap+nonce-gated InsightsController.

__construct(InsightRegistry $registry, AdminGuard $guard, AdminPage $page)

Section titled “__construct(InsightRegistry $registry, AdminGuard $guard, AdminPage $page)”