Skip to content

Commit 4e71bc1

Browse files
ref(checkout): Cleanup file structure (#103378)
Follow up PRs will deal with cleaning up unused code now that the new checkout flow is GA'd for everyone.
1 parent beafb95 commit 4e71bc1

Some content is hidden

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

45 files changed

+48
-48
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/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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
type Plan,
1111
type Subscription,
1212
} from 'getsentry/types';
13-
import CartDiff from 'getsentry/views/amCheckout/cartDiff';
13+
import CartDiff from 'getsentry/views/amCheckout/components/cartDiff';
1414
import {type CheckoutFormData} from 'getsentry/views/amCheckout/types';
1515

1616
describe('CartDiff', () => {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {render, screen, waitForElementToBeRemoved} from 'sentry-test/reactTestin
99
import SubscriptionStore from 'getsentry/stores/subscriptionStore';
1010
import {AddOnCategory, OnDemandBudgetMode, PlanTier} from 'getsentry/types';
1111
import AMCheckout from 'getsentry/views/amCheckout/';
12-
import CheckoutOverview from 'getsentry/views/amCheckout/checkoutOverview';
12+
import CheckoutOverview from 'getsentry/views/amCheckout/components/checkoutOverview';
1313
import {type CheckoutFormData} from 'getsentry/views/amCheckout/types';
1414

1515
describe('CheckoutOverview', () => {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {render, screen} from 'sentry-test/reactTestingLibrary';
77
import SubscriptionStore from 'getsentry/stores/subscriptionStore';
88
import {AddOnCategory, PlanTier} from 'getsentry/types';
99
import AMCheckout from 'getsentry/views/amCheckout/';
10-
import CheckoutOverviewV2 from 'getsentry/views/amCheckout/checkoutOverviewV2';
10+
import CheckoutOverviewV2 from 'getsentry/views/amCheckout/components/checkoutOverviewV2';
1111
import {type CheckoutFormData} from 'getsentry/views/amCheckout/types';
1212

1313
describe('CheckoutOverviewV2', () => {

0 commit comments

Comments
 (0)