Address review feedback for feature flag isolation

Deduplicate the plugin/module feature flag registration loops and
distinguish the error source (Plugin vs Module). Treat
FEATURE_FLAG_INVALID as a warning in frontend-defaults.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-04-23 14:47:52 +02:00
parent b6ca666812
commit 482cc5900a
4 changed files with 23 additions and 21 deletions
@@ -26,6 +26,7 @@ const DEFAULT_WARNING_CODES: Array<keyof AppErrorTypes> = [
'EXTENSION_OUTPUT_IGNORED',
'EXTENSION_BOOTSTRAP_PREDICATE_IGNORED',
'EXTENSION_BOOTSTRAP_API_UNAVAILABLE',
'FEATURE_FLAG_INVALID',
];
function AppErrorItem(props: { error: AppError }): JSX.Element {