diff --git a/src/js/layout/App.jsx b/src/js/layout/App.jsx index 20be8696..3347f74d 100644 --- a/src/js/layout/App.jsx +++ b/src/js/layout/App.jsx @@ -39,12 +39,12 @@ import BuyContact from '../wizards/Buy/0_Contact'; import BuyTrade from '../wizards/Buy/1_Trade'; // Sell -import SellLocation from '../wizards/Sell/0_Location'; -import SellContact from '../wizards/Sell/1_Contact'; -import SellAsset from '../wizards/Sell/2_Asset'; -import SellPaymentMethods from '../wizards/Sell/3_PaymentMethods'; -import SellArbitrator from '../wizards/Sell/4_SelectArbitrator'; -import SellCurrency from '../wizards/Sell/5_Currency'; +import SellLocation from '../wizards/Sell/3_Location'; +import SellContact from '../wizards/Sell/4_Contact'; +import SellAsset from '../wizards/Sell/0_Asset'; +import SellPaymentMethods from '../wizards/Sell/1_PaymentMethods'; +import SellArbitrator from '../wizards/Sell/5_SelectArbitrator'; +import SellCurrency from '../wizards/Sell/2_Currency'; import SellMargin from '../wizards/Sell/6_Margin'; import SellLimits from '../wizards/Sell/7_Limits'; diff --git a/src/js/wizards/Sell/2_Asset/components/SellerAssets.jsx b/src/js/wizards/Sell/0_Asset/components/SellerAssets.jsx similarity index 100% rename from src/js/wizards/Sell/2_Asset/components/SellerAssets.jsx rename to src/js/wizards/Sell/0_Asset/components/SellerAssets.jsx diff --git a/src/js/wizards/Sell/2_Asset/index.jsx b/src/js/wizards/Sell/0_Asset/index.jsx similarity index 100% rename from src/js/wizards/Sell/2_Asset/index.jsx rename to src/js/wizards/Sell/0_Asset/index.jsx diff --git a/src/js/wizards/Sell/3_PaymentMethods/components/SellerPaymentMethod.jsx b/src/js/wizards/Sell/1_PaymentMethods/components/SellerPaymentMethod.jsx similarity index 100% rename from src/js/wizards/Sell/3_PaymentMethods/components/SellerPaymentMethod.jsx rename to src/js/wizards/Sell/1_PaymentMethods/components/SellerPaymentMethod.jsx diff --git a/src/js/wizards/Sell/3_PaymentMethods/components/SellerPaymentMethod.test.jsx b/src/js/wizards/Sell/1_PaymentMethods/components/SellerPaymentMethod.test.jsx similarity index 100% rename from src/js/wizards/Sell/3_PaymentMethods/components/SellerPaymentMethod.test.jsx rename to src/js/wizards/Sell/1_PaymentMethods/components/SellerPaymentMethod.test.jsx diff --git a/src/js/wizards/Sell/3_PaymentMethods/components/__snapshots__/SellerPaymentMethod.test.jsx.snap b/src/js/wizards/Sell/1_PaymentMethods/components/__snapshots__/SellerPaymentMethod.test.jsx.snap similarity index 100% rename from src/js/wizards/Sell/3_PaymentMethods/components/__snapshots__/SellerPaymentMethod.test.jsx.snap rename to src/js/wizards/Sell/1_PaymentMethods/components/__snapshots__/SellerPaymentMethod.test.jsx.snap diff --git a/src/js/wizards/Sell/3_PaymentMethods/index.jsx b/src/js/wizards/Sell/1_PaymentMethods/index.jsx similarity index 100% rename from src/js/wizards/Sell/3_PaymentMethods/index.jsx rename to src/js/wizards/Sell/1_PaymentMethods/index.jsx diff --git a/src/js/wizards/Sell/5_Currency/components/FiatSelectorForm.jsx b/src/js/wizards/Sell/2_Currency/components/FiatSelectorForm.jsx similarity index 100% rename from src/js/wizards/Sell/5_Currency/components/FiatSelectorForm.jsx rename to src/js/wizards/Sell/2_Currency/components/FiatSelectorForm.jsx diff --git a/src/js/wizards/Sell/5_Currency/components/FiatSelectorForm.test.jsx b/src/js/wizards/Sell/2_Currency/components/FiatSelectorForm.test.jsx similarity index 100% rename from src/js/wizards/Sell/5_Currency/components/FiatSelectorForm.test.jsx rename to src/js/wizards/Sell/2_Currency/components/FiatSelectorForm.test.jsx diff --git a/src/js/wizards/Sell/5_Currency/components/__snapshots__/FiatSelectorForm.test.jsx.snap b/src/js/wizards/Sell/2_Currency/components/__snapshots__/FiatSelectorForm.test.jsx.snap similarity index 100% rename from src/js/wizards/Sell/5_Currency/components/__snapshots__/FiatSelectorForm.test.jsx.snap rename to src/js/wizards/Sell/2_Currency/components/__snapshots__/FiatSelectorForm.test.jsx.snap diff --git a/src/js/wizards/Sell/5_Currency/index.jsx b/src/js/wizards/Sell/2_Currency/index.jsx similarity index 100% rename from src/js/wizards/Sell/5_Currency/index.jsx rename to src/js/wizards/Sell/2_Currency/index.jsx diff --git a/src/js/wizards/Sell/0_Location/components/SellerPosition.jsx b/src/js/wizards/Sell/3_Location/components/SellerPosition.jsx similarity index 100% rename from src/js/wizards/Sell/0_Location/components/SellerPosition.jsx rename to src/js/wizards/Sell/3_Location/components/SellerPosition.jsx diff --git a/src/js/wizards/Sell/0_Location/components/SellerPosition.test.jsx b/src/js/wizards/Sell/3_Location/components/SellerPosition.test.jsx similarity index 100% rename from src/js/wizards/Sell/0_Location/components/SellerPosition.test.jsx rename to src/js/wizards/Sell/3_Location/components/SellerPosition.test.jsx diff --git a/src/js/wizards/Sell/0_Location/components/__snapshots__/SellerPosition.test.jsx.snap b/src/js/wizards/Sell/3_Location/components/__snapshots__/SellerPosition.test.jsx.snap similarity index 100% rename from src/js/wizards/Sell/0_Location/components/__snapshots__/SellerPosition.test.jsx.snap rename to src/js/wizards/Sell/3_Location/components/__snapshots__/SellerPosition.test.jsx.snap diff --git a/src/js/wizards/Sell/0_Location/index.jsx b/src/js/wizards/Sell/3_Location/index.jsx similarity index 100% rename from src/js/wizards/Sell/0_Location/index.jsx rename to src/js/wizards/Sell/3_Location/index.jsx diff --git a/src/js/wizards/Sell/1_Contact/index.jsx b/src/js/wizards/Sell/4_Contact/index.jsx similarity index 100% rename from src/js/wizards/Sell/1_Contact/index.jsx rename to src/js/wizards/Sell/4_Contact/index.jsx diff --git a/src/js/wizards/Sell/4_SelectArbitrator/components/ArbitratorSelectorForm.jsx b/src/js/wizards/Sell/5_SelectArbitrator/components/ArbitratorSelectorForm.jsx similarity index 100% rename from src/js/wizards/Sell/4_SelectArbitrator/components/ArbitratorSelectorForm.jsx rename to src/js/wizards/Sell/5_SelectArbitrator/components/ArbitratorSelectorForm.jsx diff --git a/src/js/wizards/Sell/4_SelectArbitrator/index.jsx b/src/js/wizards/Sell/5_SelectArbitrator/index.jsx similarity index 100% rename from src/js/wizards/Sell/4_SelectArbitrator/index.jsx rename to src/js/wizards/Sell/5_SelectArbitrator/index.jsx diff --git a/stories/wizards/Sell/0_asset.stories.jsx b/stories/wizards/Sell/0_asset.stories.jsx index 8e5af6f6..531daf42 100644 --- a/stories/wizards/Sell/0_asset.stories.jsx +++ b/stories/wizards/Sell/0_asset.stories.jsx @@ -4,9 +4,9 @@ import {storiesOf} from '@storybook/react'; import {withInfo} from "@storybook/addon-info"; import {action} from "@storybook/addon-actions"; -import SellerAssets from '../../../src/js/wizards/Sell/2_Asset/components/SellerAssets'; +import SellerAssets from '../../../src/js/wizards/Sell/0_Asset/components/SellerAssets'; -storiesOf('Wizards/Sell/2_Asset', module) +storiesOf('Wizards/Sell/0_Asset', module) .add( "No Asset Selected", withInfo({inline: true})(() => ( diff --git a/stories/wizards/Sell/1_location.stories.jsx b/stories/wizards/Sell/1_location.stories.jsx index 56b52127..0c64a69f 100644 --- a/stories/wizards/Sell/1_location.stories.jsx +++ b/stories/wizards/Sell/1_location.stories.jsx @@ -4,9 +4,9 @@ import {storiesOf} from '@storybook/react'; import {withInfo} from "@storybook/addon-info"; import {action} from "@storybook/addon-actions"; -import SellerPosition from '../../../src/js/wizards/Sell/0_Location/components/SellerPosition'; +import SellerPosition from '../../../src/js/wizards/Sell/3_Location/components/SellerPosition'; -storiesOf('Wizards/Sell/0_Location', module) +storiesOf('Wizards/Sell/3_Location', module) .add( "Without default location", withInfo({inline: true})(() => ( diff --git a/stories/wizards/Sell/2_paymentMethods.stories.jsx b/stories/wizards/Sell/2_paymentMethods.stories.jsx index 08881bea..70b09e6a 100644 --- a/stories/wizards/Sell/2_paymentMethods.stories.jsx +++ b/stories/wizards/Sell/2_paymentMethods.stories.jsx @@ -4,11 +4,11 @@ import {storiesOf} from '@storybook/react'; import {withInfo} from "@storybook/addon-info"; import {action} from "@storybook/addon-actions"; -import SellerPaymentMethod from '../../../src/js/wizards/Sell/3_PaymentMethods/components/SellerPaymentMethod'; +import SellerPaymentMethod from '../../../src/js/wizards/Sell/1_PaymentMethods/components/SellerPaymentMethod'; const methods = ['Cash (In person)', 'Bank Transfer', 'International wire']; -storiesOf('Wizards/Sell/3_PaymentMethods', module) +storiesOf('Wizards/Sell/1_PaymentMethods', module) .add( "Not Selected", withInfo({inline: true})(() => ( diff --git a/stories/wizards/Sell/3_currency.stories.jsx b/stories/wizards/Sell/3_currency.stories.jsx index b8cb3e8c..d9650163 100644 --- a/stories/wizards/Sell/3_currency.stories.jsx +++ b/stories/wizards/Sell/3_currency.stories.jsx @@ -4,7 +4,7 @@ import {storiesOf} from '@storybook/react'; import {withInfo} from "@storybook/addon-info"; import {action} from "@storybook/addon-actions"; -import FiatSelectorForm from '../../../src/js/wizards/Sell/5_Currency/components/FiatSelectorForm'; +import FiatSelectorForm from '../../../src/js/wizards/Sell/2_Currency/components/FiatSelectorForm'; const CURRENCY_DATA = [ {id: 'USD', label: 'United States Dollar - USD'}, diff --git a/stories/wizards/Sell/4_margin.stories.jsx b/stories/wizards/Sell/4_margin.stories.jsx index 3cb19210..6b53ccc1 100644 --- a/stories/wizards/Sell/4_margin.stories.jsx +++ b/stories/wizards/Sell/4_margin.stories.jsx @@ -6,7 +6,7 @@ import {action} from "@storybook/addon-actions"; import MarginSelectorForm from '../../../src/js/wizards/Sell/6_Margin/components/MarginSelectorForm'; -storiesOf('Wizards/Sell/5_Margin', module) +storiesOf('Wizards/Sell/6_Margin', module) .add( "Default", withInfo({inline: true})(() => (