refactor(ui): centralize PostHog feature flag reads in ui/lib/feature-flags (#13089)

This commit is contained in:
Alejandro Bailo authored and GitHub committed 2026-10-19 12:27:46 +02:00
1 parent f46b86101a
commit 1783527c11
8 files changed
+199 -39

No files matched your search

+2 -4
View File
@@ -1,9 +1,7 @@
import type { LucideIcon } from "lucide-react";
// PostHog multivariate flag deciding which skill launcher the finding detail
// drawer renders. Anything other than "dropdown" falls back to the card control.
export const SKILL_LAUNCHER_FLAG = "finding-detail-skill-launcher";
// Variants of the FEATURE_FLAG.SKILL_LAUNCHER experiment (see
// lib/feature-flags). Anything other than "dropdown" renders the card control.
export const SKILL_LAUNCHER_VARIANT = {
CARD: "card",
DROPDOWN: "dropdown",