mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-08 15:22:35 +00:00
Rename test to local-ccy-format-v2
to restart with clean data (#18115)
GitOrigin-RevId: 610495f41d69f8cac1a427ef7b8d64886bc5cdba
This commit is contained in:
parent
e32b4f0db1
commit
ede03daafd
4 changed files with 7 additions and 7 deletions
services/web
app/src/Features/Subscription
frontend/js
features
pages/user/subscription/plans-v2
|
@ -88,7 +88,7 @@ async function plansPage(req, res) {
|
|||
const localCcyAssignment = await SplitTestHandler.promises.getAssignment(
|
||||
req,
|
||||
res,
|
||||
'local-ccy-format'
|
||||
'local-ccy-format-v2'
|
||||
)
|
||||
const formatCurrency =
|
||||
localCcyAssignment.variant === 'enabled'
|
||||
|
@ -143,7 +143,7 @@ async function userSubscriptionPage(req, res) {
|
|||
const localCcyAssignment = await SplitTestHandler.promises.getAssignment(
|
||||
req,
|
||||
res,
|
||||
'local-ccy-format'
|
||||
'local-ccy-format-v2'
|
||||
)
|
||||
|
||||
const results =
|
||||
|
@ -261,7 +261,7 @@ async function interstitialPaymentPage(req, res) {
|
|||
const localCcyAssignment = await SplitTestHandler.promises.getAssignment(
|
||||
req,
|
||||
res,
|
||||
'local-ccy-format'
|
||||
'local-ccy-format-v2'
|
||||
)
|
||||
|
||||
res.render('subscriptions/interstitial-payment', {
|
||||
|
@ -296,7 +296,7 @@ async function successfulSubscription(req, res) {
|
|||
const localCcyAssignment = await SplitTestHandler.promises.getAssignment(
|
||||
req,
|
||||
res,
|
||||
'local-ccy-format'
|
||||
'local-ccy-format-v2'
|
||||
)
|
||||
const { personalSubscription } =
|
||||
await SubscriptionViewModelBuilder.promises.buildUsersSubscriptionViewModel(
|
||||
|
|
|
@ -25,7 +25,7 @@ export function updateGroupModalPlanPricing() {
|
|||
const modalEl = document.querySelector('[data-ol-group-plan-modal]')
|
||||
const { planCode, size, currency, usage } = getFormValues()
|
||||
|
||||
const localCcyVariant = getSplitTestVariant('local-ccy-format')
|
||||
const localCcyVariant = getSplitTestVariant('local-ccy-format-v2')
|
||||
|
||||
const { localizedPrice, localizedPerUserPrice } =
|
||||
createLocalizedGroupPlanPrice({
|
||||
|
|
|
@ -81,7 +81,7 @@ export const SubscriptionDashboardContext = createContext<
|
|||
>(undefined)
|
||||
|
||||
const getFormatCurrencies = () =>
|
||||
getSplitTestVariant('local-ccy-format') === 'enabled'
|
||||
getSplitTestVariant('local-ccy-format-v2') === 'enabled'
|
||||
? formatCurrencyLocalized
|
||||
: formatCurrencyDefault
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ export function updateMainGroupPlanPricing() {
|
|||
? 'educational'
|
||||
: 'enterprise'
|
||||
|
||||
const localCcyVariant = getSplitTestVariant('local-ccy-format')
|
||||
const localCcyVariant = getSplitTestVariant('local-ccy-format-v2')
|
||||
const formatCurrency =
|
||||
localCcyVariant === 'enabled'
|
||||
? formatCurrencyLocalized
|
||||
|
|
Loading…
Add table
Reference in a new issue