From 0f076ec76ab302c5e1dc18c7c151a67db80994bd Mon Sep 17 00:00:00 2001 From: mathuraditya724 Date: Mon, 6 Apr 2026 16:37:38 +0530 Subject: [PATCH] fix(init): add reactFeatures to feature display info Companion change for getsentry/cli-init-api#67. The server now sends reactFeatures as a known feature for React projects. Add it to FEATURE_INFO with a human-readable label and hint, and to FEATURE_DISPLAY_ORDER so it renders correctly in the multi-select prompt. --- src/lib/init/clack-utils.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/init/clack-utils.ts b/src/lib/init/clack-utils.ts index 8056abfd5..a50fe2877 100644 --- a/src/lib/init/clack-utils.ts +++ b/src/lib/init/clack-utils.ts @@ -60,6 +60,10 @@ const FEATURE_INFO: Record = { label: "User Feedback", hint: "Collect in-app user feedback and reports", }, + reactFeatures: { + label: "React Features", + hint: "Redux, component tracking, source maps, and integrations", + }, }; export function featureLabel(id: string): string { @@ -81,6 +85,7 @@ const FEATURE_DISPLAY_ORDER = [ "crons", "aiMonitoring", "userFeedback", + "reactFeatures", ]; /** Sort features into canonical display order for the multi-select prompt. */