fix(ui): name the missing provider key on a key-gated layer row (#575)

Supersedes #296 by @Matthew-Selvam, ported onto the current component layout with fixes from review.

Verified before merge: format, package boundaries, unit suite, build, and the browser tracking suite; a browser harness for the change where one applies; adversarial review applied.

Co-authored-by: Matthew-Selvam <[email protected]>
This commit is contained in:
Bilawal SidhuandMatthew-Selvam authored and GitHub committed 2026-09-14 21:26:09 -05:00
1 parent 7fa0cfbb26
commit 6fa25c349a
8 files changed
+206 -3

No files matched your search

+4
View File
@@ -2200,6 +2200,10 @@ export class LayerLifecycle {
icon: entry.module.icon,
source: entry.module.source,
showInTogglePanel: entry.module.showInTogglePanel !== false,
// Registry id of the provider key this layer needs, if any (mirrors
// showInTogglePanel). The layer reports stats.keyRequired while that
// key is absent; the panel builds the guidance text from the pair.
requiresKeyId: entry.module.requiresKeyId || null,
enabled: entry.enabled,
lifecycleState: entry.lifecycleState,
lifecycleUncertain: entry.lifecycleUncertain,