(options: RuntimeConfigPanelOptions = {})
| 38 | private validationMessages = new Map<RuntimeSecretKey, string>(); |
| 39 | |
| 40 | constructor(options: RuntimeConfigPanelOptions = {}) { |
| 41 | super({ id: 'runtime-config', title: t('modals.runtimeConfig.title'), showCount: false }); |
| 42 | this.mode = options.mode ?? (isDesktopRuntime() ? 'alert' : 'full'); |
| 43 | this.buffered = options.buffered ?? false; |
| 44 | this.featureFilter = options.featureFilter; |
| 45 | this.unsubscribe = subscribeRuntimeConfig(() => this.render()); |
| 46 | this.render(); |
| 47 | } |
| 48 | |
| 49 | public async commitPendingSecrets(): Promise<void> { |
| 50 | for (const [key, value] of this.pendingSecrets) { |
nothing calls this directly
no test coverage detected