Skip to content

Commit

Permalink
Add info tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
Phanatic committed Jun 17, 2024
1 parent 821854a commit fe7e4bd
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions frontend/src/scenes/surveys/SurveyEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,10 @@ export default function SurveyEdit(): JSX.Element {
</BindLogic>
</LemonField.Pure>
{featureFlags[FEATURE_FLAGS.SURVEYS_EVENTS] && surveysEventsAvailable && (
<LemonField.Pure label="User sends events">
<LemonField.Pure
label="User sends events"
info="Note that these events are only observed, and activate this survey, in the current user session."
>
<EventSelect
filterGroupTypes={[TaxonomicFilterGroupType.CustomEvents]}
onChange={(includedEvents) => {
Expand All @@ -644,20 +647,10 @@ export default function SurveyEdit(): JSX.Element {
<LemonButton
size="small"
type="secondary"
tooltip="activate this survey based on a user event being sent"
icon={<IconPlus />}
sideIcon={null}
>
Add event
<>
<Tooltip
className="ml-2"
title="Estimate of users active in the last 30 seconds."
placement="right"
>
<IconInfo />
</Tooltip>
</>
</LemonButton>
}
/>
Expand Down

0 comments on commit fe7e4bd

Please sign in to comment.