wulf-pulse/lib/services
lorentz e1427b62d7 feat(admin): DB-backed integration toggles + sticky cols + dark contrast
Builds on the env-var INTEGRATIONS_DISABLED shipped with the nav-design
overhaul.  Adds a DB-backed admin UI so operators can flip integrations
without editing .env and restarting the container, plus the remaining
visual cleanup items from the design backlog.

Integration toggles
- Migration 081 — integration_settings table (key PK, disabled flag,
  reason, disabled_by audit, disabled_at).  Seeded with all 13 known
  integrations as enabled.
- GET / PATCH /api/admin/integrations — gated by requirePermission
  (admin, access).  PATCH clears the in-process integration-health
  cache so toggles take effect within seconds.
- /admin/integrations admin page with a Switch per integration, optional
  reason input, audit-info subtitle (disabled by, when, why), live
  status light from /api/dashboard/integration-health.
- integration-health service merges env-var disable list with DB rows;
  degrades gracefully if migration unapplied / DB unreachable.
- Wired into the Admin nav dropdown (eight items now).
- CLAUDE.md describes both env + DB sources.

Sticky first column on tables
- Table primitive accepts stickyFirstColumn?: boolean.  When true, TH
  and TD :first-child stay pinned during horizontal scroll, with
  background inheritance preserving hover and selected row tints.
- DataTable exposes the prop too — on by default for paginated tables.
- /addigy-devices opts in.

Dark-mode contrast
- --border lifted from 10% to 14% in .dark; --input from 15% to 18%;
  --sidebar-border to 14%.
- StatusLight outline ring lifted from /10 to /15 (light) and /20 (dark).
- DetailModal empty-cell em-dash lifted from /40 to /70 so missing
  values are legible on dark surfaces.

DESIGN.md
- Closed sticky-first-column, dark-mode contrast, and palette-audit
  items (palette deprioritized — most uses are semantic).
- Skeleton helpers documented as preferred for new code; existing
  ad-hoc patterns left in place.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 09:55:22 -04:00
..
analyzer feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
b2 feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
llm feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
pipeline-steps feat: QuickBooks Online integration 2026-03-17 07:39:55 -04:00
rmm feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
workflow-steps feat: IT Glue integration, workflow engine, pipelines, Zabbix WAN, notification channels, backup status UI improvements, nav alignment fixes 2026-02-27 14:52:14 -05:00
addigy-client.ts Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
addigy-factory.ts Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
ai-triage-service.ts feat: Autotask webhook integration, TicketNotes, Datto RMM, workflow engine, Veeam agents/alarms, AI triage, misc improvements 2026-02-20 10:28:15 -05:00
analytics-engine.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
analytics-integration.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
audit.ts feat: add authentication, user management, and admin features 2026-01-31 12:43:14 -05:00
autotask-client.ts fix: pre-populate classifications instead of syncing from Autotask API 2026-02-03 20:54:35 -05:00
autotask-factory.ts Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
autotask-webhook-manager.ts feat: QuickBooks Online integration 2026-03-17 07:39:55 -04:00
auvik-client.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
auvik-factory.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
background-processor.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
cache.ts Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
datto-rmm-client-simple.ts feat: Autotask webhook integration, TicketNotes, Datto RMM, workflow engine, Veeam agents/alarms, AI triage, misc improvements 2026-02-20 10:28:15 -05:00
datto-rmm-client.ts feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
datto-rmm-factory.ts Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
datto-rmm-sync-service.ts feat: Autotask webhook integration, TicketNotes, Datto RMM, workflow engine, Veeam agents/alarms, AI triage, misc improvements 2026-02-20 10:28:15 -05:00
device-link-reconciler.ts feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
duo-client.ts feat: Duo Security integration — full data sync from Accounts + Admin API 2026-03-27 09:18:04 -04:00
duo-sync-service.ts feat: Duo Security integration — full data sync from Accounts + Admin API 2026-03-27 09:18:04 -04:00
email.ts feat(design): nav/visual overhaul — brand layer, /status route, KPI dashboard, TanStack DataTable 2026-05-03 09:33:13 -04:00
engagement-sync-service.ts feat: Morning NOC Summary adaptive card for Teams 2026-03-11 09:34:51 -04:00
entity-sync.ts feat: AI ticket analyzer (phases 1-6) 2026-04-29 10:59:40 -04:00
integration-health-alerts.ts feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
integration-health.ts feat(admin): DB-backed integration toggles + sticky cols + dark contrast 2026-05-03 09:55:22 -04:00
issue-type-assignment.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
itglue-client.ts feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
itglue-sync-service.ts feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
llm-analyzer.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
mimecast-client.ts feat: add Delivered Mail tab with message-finder search, spam scoring, analysis dialog 2026-04-01 08:17:18 -04:00
mimecast-sync-service.ts fix: Mimecast 7-day chunk windows, 30-day retention limit, two-pass from+to domain filter 2026-03-17 16:53:46 -04:00
morning-summary-service.ts feat: Morning NOC Summary adaptive card for Teams 2026-03-11 09:34:51 -04:00
msgraph-client.ts fix: use KQL $search with ConsistencyLevel:eventual for mailbox search (Graph $filter unsupported for nested from/emailAddress/address) 2026-04-01 10:14:16 -04:00
msgraph-factory.ts feat: Morning NOC Summary adaptive card for Teams 2026-03-11 09:34:51 -04:00
performance-optimizer.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
pipeline-engine.ts feat: IT Glue integration, workflow engine, pipelines, Zabbix WAN, notification channels, backup status UI improvements, nav alignment fixes 2026-02-27 14:52:14 -05:00
postgres-client.ts fix: prevent sync from nullifying assigned_resource_id on tickets 2026-04-05 08:55:41 -04:00
qbo-client.ts feat: QuickBooks Online integration 2026-03-17 07:39:55 -04:00
qbo-sync-service.ts feat: QuickBooks Online integration 2026-03-17 07:39:55 -04:00
rate-limiter.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
redis-client.ts Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
rmm-device-resolver.ts feat: Veeam RPO analysis, comparison, ticket analysis + company teams table 2026-04-29 09:16:46 -04:00
robotic-classifier.ts feat: Autotask webhook integration, TicketNotes, Datto RMM, workflow engine, Veeam agents/alarms, AI triage, misc improvements 2026-02-20 10:28:15 -05:00
salesbldr-client.ts feat: add authentication, user management, and admin features 2026-01-31 12:43:14 -05:00
sentinelone-client.ts feat: Add SentinelOne integration 2026-02-27 05:31:31 -05:00
sentinelone-sync-service.ts feat: Add SentinelOne integration 2026-02-27 05:31:31 -05:00
sync-progress-tracker.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
sync-scheduler.ts feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
sync-service.ts feat: add Autotask tags sync (tag groups, tags, ticket tag associations) 2026-03-20 09:22:40 -04:00
ticket-digest-service.ts feat: QuickBooks Online integration 2026-03-17 07:39:55 -04:00
ticket-workflow-engine.ts feat: IT Glue integration, workflow engine, pipelines, Zabbix WAN, notification channels, backup status UI improvements, nav alignment fixes 2026-02-27 14:52:14 -05:00
triage-validator.ts feat: Autotask webhook integration, TicketNotes, Datto RMM, workflow engine, Veeam agents/alarms, AI triage, misc improvements 2026-02-20 10:28:15 -05:00
veeam-analysis-state.ts feat: Veeam RPO analysis, comparison, ticket analysis + company teams table 2026-04-29 09:16:46 -04:00
veeam-client.ts feat: Autotask webhook integration, TicketNotes, Datto RMM, workflow engine, Veeam agents/alarms, AI triage, misc improvements 2026-02-20 10:28:15 -05:00
veeam-compliance-service.ts feat: Veeam VSPC backup integration - sync, compliance, UI 2026-02-11 21:04:28 -05:00
veeam-factory.ts feat: Veeam VSPC backup integration - sync, compliance, UI 2026-02-11 21:04:28 -05:00
veeam-rpo-service.ts feat: Veeam RPO analysis, comparison, ticket analysis + company teams table 2026-04-29 09:16:46 -04:00
veeam-sync-service.ts feat: Autotask webhook integration, TicketNotes, Datto RMM, workflow engine, Veeam agents/alarms, AI triage, misc improvements 2026-02-20 10:28:15 -05:00
webhook-service.ts feat: Veeam RPO analysis, comparison, ticket analysis + company teams table 2026-04-29 09:16:46 -04:00
workflow-engine.ts feat: Autotask webhook integration, TicketNotes, Datto RMM, workflow engine, Veeam agents/alarms, AI triage, misc improvements 2026-02-20 10:28:15 -05:00
zabbix-client.ts feat: QuickBooks Online integration 2026-03-17 07:39:55 -04:00
zabbix-wan-utils.ts feat: Morning NOC Summary adaptive card for Teams 2026-03-11 09:34:51 -04:00
zoom-client.ts feat: Morning NOC Summary adaptive card for Teams 2026-03-11 09:34:51 -04:00
zoom-factory.ts feat: Morning NOC Summary adaptive card for Teams 2026-03-11 09:34:51 -04:00
zoom-sync-service.ts feat: Morning NOC Summary adaptive card for Teams 2026-03-11 09:34:51 -04:00