-
Notifications
You must be signed in to change notification settings - Fork 1
Conditional coachmarks with feature flag support #14
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestv1.3Version 1.3 milestoneVersion 1.3 milestone
Description
Summary
Built-in support for conditionally showing coachmarks based on user segment, feature flags, or custom predicates.
Proposed API
coachmarkController.showIf(
condition = { userSegment == "new" && !hasSeenOnboarding },
target = onboardingTarget,
)Details
showIfwrapsshow()with a predicate check- Works with sequences too:
showSequenceIf(condition, targets) - Integrates with
CoachmarkRepositoryfor "already seen" checks - Composable version:
LaunchedShowIfthat re-evaluates on recomposition
Part of the v1.3 roadmap.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestv1.3Version 1.3 milestoneVersion 1.3 milestone