How hipcityreg/situation-monitor works
Situation Monitor is a Svelte dashboard for viewing market, news, Federal Reserve, geopolitical, and analytical signals, with configurable monitors and settings. The apparent user workflow is opening the dashboard and inspecting its panels, then managing monitors or preferences. The tree identifies those product areas, but the README is empty and the sampled page and panel source does not expose its wiring; links between UI, stores, and API modules are therefore omitted. The visible service client does show how external requests are configured and protected by cache, deduplication, and circuit breakers.
Main entry points: client.ts Service client · MonitorFormModal.svelte Monitor editor · Modal.svelte Modal framework · monitors.ts Monitor state
Components 18
Dashboard UI
- Dashboard page
src/routes/+page.svelte - Dashboard layout
src/lib/components/layout/Dashboard.svelte - Signal panels
src/lib/components/panels - Modal framework
src/lib/components/modals/Modal.svelte - Monitor editor
src/lib/components/modals/MonitorFormModal.svelte
Signals and Analysis
- Market data APIs
src/lib/api/markets.ts - News API
src/lib/api/news.ts - Federal Reserve API
src/lib/api/fred.ts - Signal analysis
src/lib/analysis
Client State
- Dashboard stores
src/lib/stores - Monitor state
src/lib/stores/monitors.ts
External Data Services
- Service client
src/lib/services/client.ts - Service registry
src/lib/services/registry.ts - Response cache
src/lib/services/cache.ts - Circuit breakers
src/lib/services/circuit-breaker.ts - Request deduplicator
src/lib/services/deduplicator.ts
Other components
- Dashboard user
- External data services
Connections 7
- Monitor editor → Modal framework: renders
src/lib/components/modals/MonitorFormModal.svelte - Monitor editor → Monitor state: updates
src/lib/components/modals/MonitorFormModal.svelte - Service client → Service registry: loads config
src/lib/services/client.ts - Service client → Response cache: reads and writes
src/lib/services/client.ts - Service client → Circuit breakers: checks health
src/lib/services/client.ts - Service client → Request deduplicator: deduplicates
src/lib/services/client.ts - Service client → External data services: fetches
src/lib/services/client.ts