mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-31 07:44:21 +00:00
refactor(ui): centralize PostHog feature flag reads in ui/lib/feature-flags (#13089)
This commit is contained in:
1 parent
f46b86101a
commit
1783527c11
8 files changed
+199
-39
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user