Protecteddestroy$ProtectednavigationTab ID for query param notification scoping. Set by resource wrappers that render child dashboards, so the child knows which tab it belongs to. If not set, falls back to Data.Configuration.tabId.
If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.
StaticɵdirStaticɵfacL2 section tabs for <mj-tab-nav> in the interior chrome's [toolbar] slot.
Badges are dynamic (engine count, redundant-load count w/ warning variant,
telemetry event count, cache entry count).
Getter for filtered cache entries based on type filter
Returns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunReport provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
Clears all cache entries
Closes the engine detail panel
Formats a cache timestamp (unix ms) to display string
Get entity name from telemetry params (safe accessor for union type)
Get filter from telemetry params (safe accessor for union type)
Get order by from telemetry params (safe accessor for union type)
ProtectedGetRead current query params from tab configuration. Use in initDashboard() / ngOnInit() to get initial URL state.
Get the record ID from a row (for opening entity records)
Get RunView parameter pills for display
Get entity names for RunViews batch operation (first few for display)
Get total entity count for RunViews batch operation
Get a value from sample data for display
Get this component's tab ID. Checks ParentTabId input first (set by resource wrappers for child dashboards), then falls back to Data.Configuration.tabId.
Check if there are more entities than displayed
Check if the event was a cache hit (safe accessor for union type params)
A callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
ProtectedNotifyAsk the host shell to close/dismiss this resource (typically: close the tab). Called by subclasses that hosted a form that emitted a 'dismiss' navigation event — most often, a brand-new record where the user clicked Discard. The record was never saved, the form is empty, and leaving it open serves no purpose. The tab-container listens for this and closes the workspace tab.
ProtectedNotifyCall this to notify the tab system that the resource's display name has changed. The tab container will update the tab title and browser title accordingly.
ProtectedNotifyProtectedNotifyToggle expansion of a config item
Handle gap compression toggle
ProtectedOnCalled by the framework when query params change from an external source (browser back/forward, deep link navigation). Override in subclasses to react to query param changes.
The new query params from the URL
'popstate' for back/forward, 'deeplink' for external URL entry
Adapter for <mj-tab-nav>'s string-typed (TabChange) output.
Narrows the emitted key to the typed activeSection union before
delegating to setActiveSection.
Opens the engine detail panel for a specific engine
Open an entity in the explorer (placeholder - would need routing integration)
Open an entity record using NavigationService
Refreshes cache data from LocalCacheManager
Refreshes the engine shown in the detail panel
ProtectedRefreshMarks this component's view (and its ancestors) as needing change detection and schedules a tick — the reliable way for a resource component to re-render after updating state from async work (RunView/RunQuery continuations, timers, websocket pushes, RxJS subscriptions).
WHY THIS EXISTS: the Explorer shell hosts resource components dynamically — createComponent()
ApplicationRef.attachView() — because tab content mounts into Golden Layout / cached DOM
containers, not into an Angular template. Since Angular 18's change-detection scheduler
rework (Explorer is on Angular 21), ApplicationRef.tick() only refreshes attached views
that are FLAGGED dirty; a root-level attached view whose component mutates plain fields from
an async continuation is never flagged, so the view silently never re-renders — even though
the component uses default (non-OnPush) change detection (issue #3106).The framework calls this automatically from NotifyLoadStarted() / NotifyLoadComplete(), so the standard load lifecycle re-renders without any subclass action. Call it yourself after any LATER async state change that must reach the DOM outside those signals.
Renders a Windows PerfMon-style D3 time series chart Shows performance events over time with duration spikes
Reset chart zoom to default
ProtectedResourceSet chart interaction mode (select for drag-to-zoom, pan for click-to-view)
Set the slow-query display threshold (ms) and re-derive the slow-query list from the already-loaded telemetry events. Read-only display control — does not refetch or mutate any telemetry data.
Switch between client and server telemetry sources
ProtectedUpdatePush query param changes to the URL. Creates a browser history entry. Safe to call during OnQueryParamsChanged — auto-suppressed to prevent loops.
Zoom the chart in or out
System Diagnostics Resource Component
Provides a comprehensive view of:
This is a client-side only dashboard - all data comes from in-memory registries.