← back to Marketing Command Center

modules/insights/index.js

12 lines

// Insights (Preview host) — collapses the 8 not-yet-live analytics panels into
// one tabbed nav entry. No-op mount: it owns no API. insights.js loads the
// selected panel's html+js into a single content pane and calls that panel's own
// init(), so those 8 panels stay authoritative and their /api/* routers stay
// mounted (only their nav entries are hidden via the app.js denylist).
module.exports = {
  id: 'insights',
  title: 'Insights',
  icon: '📊',
  mount(_router) { /* intentionally empty — no /api/insights/* routes */ },
};