Skip to content

Commit

Permalink
chore: remove onboarding reverse proxy ff (#22638)
Browse files Browse the repository at this point in the history
* turn off the onboarding reverse proxy ff

* Update onboardingLogic.tsx

* Update onboardingLogic.tsx

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
zlwaterfield and github-actions[bot] authored Jun 4, 2024
1 parent bf745b7 commit 30f2e84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
1 change: 0 additions & 1 deletion frontend/src/lib/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ export const FEATURE_FLAGS = {
REPLAY_ERROR_CLUSTERING: 'session-replay-error-clustering', // owner: #team-replay
AUDIT_LOGS_ACCESS: 'audit-logs-access', // owner: #team-growth
SUBSCRIBE_FROM_PAYGATE: 'subscribe-from-paygate', // owner: #team-growth
REVERSE_PROXY_ONBOARDING: 'reverse-proxy-onboarding', // owner: @zlwaterfield
SESSION_REPLAY_MOBILE_ONBOARDING: 'session-replay-mobile-onboarding', // owner: #team-replay
HEATMAPS_UI: 'heatmaps-ui', // owner: @benjackwhite
THEME: 'theme', // owner: @aprilfools
Expand Down
13 changes: 4 additions & 9 deletions frontend/src/scenes/onboarding/onboardingLogic.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { actions, connect, kea, listeners, path, props, reducers, selectors } from 'kea'
import { actionToUrl, router, urlToAction } from 'kea-router'
import { FEATURE_FLAGS } from 'lib/constants'
import { featureFlagLogic, FeatureFlagsSet } from 'lib/logic/featureFlagLogic'
import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { eventUsageLogic } from 'lib/utils/eventUsageLogic'
import { billingLogic } from 'scenes/billing/billingLogic'
import { preflightLogic } from 'scenes/PreflightCheck/preflightLogic'
Expand Down Expand Up @@ -239,13 +238,9 @@ export const onboardingLogic = kea<onboardingLogicType>([
},
],
shouldShowReverseProxyStep: [
(s) => [s.product, s.featureFlags, s.productKey],
(_product, featureFlags: FeatureFlagsSet, productKey) => {
const productsWithReverseProxy = []
if (featureFlags[FEATURE_FLAGS.REVERSE_PROXY_ONBOARDING] === 'test') {
productsWithReverseProxy.push(ProductKey.FEATURE_FLAGS)
}
return productsWithReverseProxy.includes(productKey as ProductKey)
(s) => [s.productKey],
(productKey) => {
return productKey && [ProductKey.FEATURE_FLAGS].includes(productKey as ProductKey)
},
],
isStepKeyInvalid: [
Expand Down

0 comments on commit 30f2e84

Please sign in to comment.