global-context/services/state/global-context-store.service.ts

Description

GlobalContextConfigStoreService

Component-scoped store that manages widget-level Global Context configuration.

  • Holds separate Live/History modes
  • Tracks refreshOption (tab) and displayMode
  • Normalizes incoming configs (Live → aggregation=null; History → interval=CUSTOM)
  • Applies targeted patches to the current mode
  • Avoids redundant recomputation via shallow diffing

Provided in component scope (see providers of c8y-global-context-config).

Relationships

Depends on

No results matching.

results matching ""

    No results matching ""