Skip to content

Commit f271614

Browse files
malwilleyandrewshie-sentry
authored andcommitted
chore(ai-consent): Replace ask seer AI consent flag (#103117)
1 parent aaf7151 commit f271614

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

static/app/components/searchQueryBuilder/askSeer/askSeer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import useOrganization from 'sentry/utils/useOrganization';
2020
export function AskSeer<T>({state}: {state: ComboBoxState<T>}) {
2121
const organization = useOrganization();
2222
const hasAskSeerConsentFlowChanges = organization.features.includes(
23-
'ask-seer-consent-flow-update'
23+
'gen-ai-consent-flow-removal'
2424
);
2525
const {gaveSeerConsent, displayAskSeerFeedback} = useSearchQueryBuilder();
2626

static/app/components/searchQueryBuilder/askSeer/askSeerOption.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function AskSeerOption<T>({state}: {state: ComboBoxState<T>}) {
2323

2424
const organization = useOrganization();
2525
const hasAskSeerConsentFlowChanges = organization.features.includes(
26-
'ask-seer-consent-flow-update'
26+
'gen-ai-consent-flow-removal'
2727
);
2828

2929
const [optionDisableOverride, setOptionDisableOverride] = useState(false);

static/app/components/searchQueryBuilder/index.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4861,7 +4861,7 @@ describe('SearchQueryBuilder', () => {
48614861
'gen-ai-features',
48624862
'gen-ai-explore-traces',
48634863
'gen-ai-explore-traces-consent-ui',
4864-
'ask-seer-consent-flow-update',
4864+
'gen-ai-consent-flow-removal',
48654865
],
48664866
},
48674867
}

static/app/components/searchQueryBuilder/tokens/combobox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function useHiddenItems<T extends SelectOptionOrSectionWithKey<string>>({
185185
}) {
186186
const organization = useOrganization();
187187
const hasAskSeerConsentFlowChanges = organization.features.includes(
188-
'ask-seer-consent-flow-update'
188+
'gen-ai-consent-flow-removal'
189189
);
190190
const {gaveSeerConsent} = useSearchQueryBuilder();
191191
const hiddenOptions: Set<SelectKey> = useMemo(() => {

static/app/components/searchQueryBuilder/tokens/filterKeyListBox/useFilterKeyListBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export function useFilterKeyListBox({filterValue}: {filterValue: string}) {
183183

184184
const organization = useOrganization();
185185
const hasAskSeerConsentFlowChanges = organization.features.includes(
186-
'ask-seer-consent-flow-update'
186+
'gen-ai-consent-flow-removal'
187187
);
188188

189189
const filterKeyMenuItems = useMemo(() => {

static/app/components/searchQueryBuilder/tokens/useSortedFilterKeyItems.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export function useSortedFilterKeyItems({
148148
'search-query-builder-wildcard-operators'
149149
);
150150
const hasAskSeerConsentFlowChanges = organization.features.includes(
151-
'ask-seer-consent-flow-update'
151+
'gen-ai-consent-flow-removal'
152152
);
153153

154154
const flatKeys = useMemo(() => Object.values(filterKeys), [filterKeys]);

0 commit comments

Comments
 (0)