Skip to content

Commit 90c4c62

Browse files
ref(checkout): Cleanup file structure
1 parent 62de4ba commit 90c4c62

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+931
-44
lines changed

static/gsApp/components/upsellModal/featureList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {t} from 'sentry/locale';
1010
import {space} from 'sentry/styles/space';
1111
import testableTransition from 'sentry/utils/testableTransition';
1212

13-
import MoreFeaturesLink from 'getsentry/views/amCheckout/moreFeaturesLink';
13+
import MoreFeaturesLink from 'getsentry/views/amCheckout/components/moreFeaturesLink';
1414

1515
import type {Feature} from './types';
1616

static/gsApp/views/amCheckout/steps/checkoutV3/addBillingInfo.tsx renamed to static/gsApp/views/amCheckout/checkoutV3/addBillingInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import BillingDetailsPanel from 'getsentry/components/billingDetails/panel';
1010
import CreditCardPanel from 'getsentry/components/creditCardEdit/panel';
1111
import {useBillingDetails} from 'getsentry/hooks/useBillingDetails';
1212
import {FTCConsentLocation} from 'getsentry/types';
13-
import StepHeader from 'getsentry/views/amCheckout/steps/stepHeader';
13+
import StepHeader from 'getsentry/views/amCheckout/components/stepHeader';
1414
import type {CheckoutV3StepProps} from 'getsentry/views/amCheckout/types';
1515
import {hasBillingInfo} from 'getsentry/views/amCheckout/utils';
1616

static/gsApp/views/amCheckout/steps/checkoutV3/buildYourPlan.tsx renamed to static/gsApp/views/amCheckout/checkoutV3/buildYourPlan.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import {
1818
isNewPayingCustomer,
1919
isTrialPlan,
2020
} from 'getsentry/utils/billing';
21-
import PlanFeatures from 'getsentry/views/amCheckout/planFeatures';
22-
import PlanSelectCard from 'getsentry/views/amCheckout/steps/planSelectCard';
21+
import PlanFeatures from 'getsentry/views/amCheckout/components/planFeatures';
22+
import PlanSelectCard from 'getsentry/views/amCheckout/components/planSelectCard';
23+
import StepHeader from 'getsentry/views/amCheckout/components/stepHeader';
2324
import ProductSelect from 'getsentry/views/amCheckout/steps/productSelect';
24-
import StepHeader from 'getsentry/views/amCheckout/steps/stepHeader';
2525
import type {
2626
CheckoutFormData,
2727
CheckoutV3StepProps,

static/gsApp/views/amCheckout/steps/checkoutV3/chooseYourBillingCycle.tsx renamed to static/gsApp/views/amCheckout/checkoutV3/chooseYourBillingCycle.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import {Flex, Grid} from 'sentry/components/core/layout';
44
import {t} from 'sentry/locale';
55

66
import {ANNUAL} from 'getsentry/constants';
7-
import BillingCycleSelectCard from 'getsentry/views/amCheckout/billingCycleSelectCard';
8-
import StepHeader from 'getsentry/views/amCheckout/steps/stepHeader';
7+
import BillingCycleSelectCard from 'getsentry/views/amCheckout/components/billingCycleSelectCard';
8+
import StepHeader from 'getsentry/views/amCheckout/components/stepHeader';
99
import type {CheckoutV3StepProps} from 'getsentry/views/amCheckout/types';
1010
import * as utils from 'getsentry/views/amCheckout/utils';
1111

static/gsApp/views/amCheckout/billingCycleSelectCard.tsx renamed to static/gsApp/views/amCheckout/components/billingCycleSelectCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {t, tct} from 'sentry/locale';
1010
import {ANNUAL} from 'getsentry/constants';
1111
import type {Plan, Subscription} from 'getsentry/types';
1212
import {displayBudgetName, isDeveloperPlan} from 'getsentry/utils/billing';
13-
import CheckoutOption from 'getsentry/views/amCheckout/checkoutOption';
13+
import CheckoutOption from 'getsentry/views/amCheckout/components/checkoutOption';
1414
import type {CheckoutFormData} from 'getsentry/views/amCheckout/types';
1515

1616
type BillingCycleSelectCardProps = {

static/gsApp/views/amCheckout/cart.spec.tsx renamed to static/gsApp/views/amCheckout/components/cart.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
PlanTier,
2626
} from 'getsentry/types';
2727
import AMCheckout from 'getsentry/views/amCheckout/';
28-
import Cart from 'getsentry/views/amCheckout/cart';
28+
import Cart from 'getsentry/views/amCheckout/components/cart';
2929
import {type CheckoutFormData} from 'getsentry/views/amCheckout/types';
3030

3131
// Jun 06 2022 - with milliseconds

static/gsApp/views/amCheckout/cart.tsx renamed to static/gsApp/views/amCheckout/components/cart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import {
4343
} from 'getsentry/utils/billing';
4444
import {getPlanCategoryName, getSingularCategoryName} from 'getsentry/utils/dataCategory';
4545
import type {State as CheckoutState} from 'getsentry/views/amCheckout/';
46-
import CartDiff from 'getsentry/views/amCheckout/cartDiff';
46+
import CartDiff from 'getsentry/views/amCheckout/components/cartDiff';
4747
import type {CheckoutFormData} from 'getsentry/views/amCheckout/types';
4848
import * as utils from 'getsentry/views/amCheckout/utils';
4949

0 commit comments

Comments
 (0)