From e4d9f8686d0d45b3bd97b74a3fe9c22965986f19 Mon Sep 17 00:00:00 2001 From: Vitalii Date: Thu, 23 Mar 2023 16:14:26 +0200 Subject: [PATCH] satellite/{web, console}: remove old access grant and billing flows Removed old flows along with feature flags. Issue: https://github.com/storj/storj/issues/5694 Change-Id: Ib3a1cbb12435500bdc2c540bb67615c64ca19e5e --- satellite/console/consoleweb/config.go | 2 - satellite/console/consoleweb/server.go | 8 - scripts/testdata/satellite-config.yaml.lock | 6 - web/satellite/index.html | 2 - web/satellite/src/App.vue | 5 - .../components/accessGrants/AccessGrants.vue | 49 +- .../accessGrants/CreateAccessModal.vue | 317 -------- .../CreateAccessGrantFlow.vue | 22 +- .../components/ButtonsContainer.vue | 0 .../components/ContainerWithIcon.vue | 0 .../components/EndDatePicker.vue | 0 .../components/EndDateSelection.vue | 0 .../components/LinkButton.vue | 0 .../components/Radio.vue | 0 .../components/Toggle.vue | 0 .../components/ValueWithBlur.vue | 0 .../steps/AccessCreatedStep.vue | 6 +- .../steps/AccessEncryptionStep.vue | 6 +- .../steps/CLIAccessCreatedStep.vue | 6 +- .../steps/ChoosePermissionStep.vue | 8 +- .../steps/ConfirmDetailsStep.vue | 4 +- .../steps/CreateNewAccessStep.vue | 8 +- .../steps/EncryptionInfoStep.vue | 4 +- .../steps/EnterPassphraseStep.vue | 4 +- .../steps/PassphraseGeneratedStep.vue | 6 +- .../steps/S3CredentialsCreatedStep.vue | 6 +- .../accessGrants/modals/CreateForm.vue | 702 ------------------ .../accessGrants/modals/EncryptForm.vue | 403 ---------- .../modals/EncryptionInfoForm.vue | 136 ---- .../accessGrants/modals/GrantCreatedForm.vue | 538 -------------- .../src/components/account/SettingsArea.vue | 1 - .../account/billing/BillingArea.vue | 153 +--- .../account/billing/HistoryDropdown.vue | 75 -- .../billing/billingTabs/BillingHistory.vue | 2 +- .../billingTabs/CreditCardContainer.vue | 21 +- .../account/billing/billingTabs/Overview.vue | 17 +- .../billing/billingTabs/PaymentMethods.vue | 43 +- .../SortingHeader.vue} | 0 .../UsageAndChargesItem.vue} | 0 .../account/billing/coupons/CouponArea.vue | 247 ------ .../DetailedHistory.vue | 177 ----- .../PaymentsHistoryItemDate.vue | 107 --- .../depositAndBillingHistory/PaymentsItem.vue | 102 --- .../PeriodSelection.vue | 229 ------ .../SmallDepositHistory.vue | 97 --- .../SortingHeader.vue | 64 -- .../EstimatedCostsAndCredits.vue | 156 ---- .../UsageAndChargesItem.vue | 291 -------- .../billing/paymentMethods/AddCardForm.vue | 138 ---- .../billing/paymentMethods/AddStorjForm.vue | 68 -- .../paymentMethods/BalanceTokenCard.vue | 321 -------- .../billing/paymentMethods/CardComponent.vue | 214 ------ .../billing/paymentMethods/CardDialog.vue | 98 --- .../billing/paymentMethods/PaymentMethods.vue | 432 ----------- .../billing/paymentMethods/PaymentsBonus.vue | 95 --- .../paymentMethods/TokenDepositSelection.vue | 487 ------------ .../src/components/browser/BreadCrumbs.vue | 2 +- .../components/common/RegistrationSuccess.vue | 2 +- .../src/components/navigation/AccountArea.vue | 19 +- .../components/navigation/NavigationArea.vue | 12 +- .../components/navigation/QuickStartLinks.vue | 33 +- .../notifications/BillingNotification.vue | 11 +- .../steps/cliFlow/AGPermissions.vue | 6 +- .../cliFlow}/permissions/BucketNameBullet.vue | 0 .../cliFlow}/permissions/BucketsDropdown.vue | 0 .../cliFlow}/permissions/BucketsSelection.vue | 2 +- .../cliFlow}/permissions/DurationPicker.vue | 0 .../permissions/DurationSelection.vue | 2 +- web/satellite/src/router/index.ts | 70 +- web/satellite/src/store/modules/appState.ts | 4 - web/satellite/src/store/mutationConstants.ts | 1 - .../all-dashboard/components/Heading.vue | 10 +- .../components/MyAccountButton.vue | 10 +- .../static/images/account/billing/back.svg | 4 - .../static/images/account/billing/card.svg | 6 - .../images/account/billing/chargesExpand.svg | 3 - .../images/account/billing/chargesHide.svg | 3 - .../images/account/billing/couponAdd.svg | 5 - .../images/account/billing/couponLarge.svg | 3 - .../images/account/billing/datePicker.svg | 3 - .../static/images/account/billing/expand.svg | 3 - .../static/images/account/billing/hide.svg | 3 - .../static/images/account/billing/loading.gif | Bin 3485 -> 0 bytes .../static/images/account/billing/lock.svg | 4 - .../images/account/billing/lowBalance.svg | 3 - .../account/billing/negativeBalance.svg | 5 - .../images/account/billing/selected.svg | 4 - .../static/images/account/billing/success.svg | 5 - .../static/images/account/billing/update.svg | 3 - .../deleteAccountPopup/deleteAccount.svg | 30 - .../static/images/buckets/bucket.png | Bin 4180 -> 0 bytes .../static/images/common/BlackArrowHide.svg | 3 - .../static/images/common/BlueExpand.svg | 3 - .../static/images/common/BlueHide.svg | 3 - .../static/images/common/greyInfo.svg | 4 - .../static/images/common/smallGreyInfo.svg | 4 - .../static/images/common/successCheck.svg | 5 - .../account/billing/HistoryDropdown.spec.ts | 44 -- .../HistoryDropdown.spec.ts.snap | 13 - .../paymentMethods/AddCardForm.spec.ts | 32 - .../paymentMethods/AddStorjForm.spec.ts | 14 - .../__snapshots__/AddCardForm.spec.ts.snap | 14 - .../__snapshots__/AddStorjForm.spec.ts.snap | 7 - .../billing/coupons/CouponArea.spec.ts | 48 -- .../DetailedHistory.spec.ts | 78 -- .../PaymentsHistoryItemDate.spec.ts | 88 --- .../PaymentsItem.spec.ts | 48 -- .../PeriodSelection.spec.ts | 109 --- .../SmallDepositHistory.spec.ts | 63 -- .../SortingHeader.spec.ts | 18 - .../EstimatedCostsAndCredits.spec.ts | 102 --- .../UsageAndChargesItem.spec.ts | 64 -- .../paymentMethods/PaymentMethods.spec.ts | 113 --- 113 files changed, 107 insertions(+), 6924 deletions(-) delete mode 100644 web/satellite/src/components/accessGrants/CreateAccessModal.vue rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/CreateAccessGrantFlow.vue (95%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/components/ButtonsContainer.vue (100%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/components/ContainerWithIcon.vue (100%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/components/EndDatePicker.vue (100%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/components/EndDateSelection.vue (100%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/components/LinkButton.vue (100%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/components/Radio.vue (100%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/components/Toggle.vue (100%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/components/ValueWithBlur.vue (100%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/steps/AccessCreatedStep.vue (94%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/steps/AccessEncryptionStep.vue (96%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/steps/CLIAccessCreatedStep.vue (93%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/steps/ChoosePermissionStep.vue (96%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/steps/ConfirmDetailsStep.vue (93%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/steps/CreateNewAccessStep.vue (94%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/steps/EncryptionInfoStep.vue (94%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/steps/EnterPassphraseStep.vue (94%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/steps/PassphraseGeneratedStep.vue (94%) rename web/satellite/src/components/accessGrants/{newCreateFlow => createFlow}/steps/S3CredentialsCreatedStep.vue (94%) delete mode 100644 web/satellite/src/components/accessGrants/modals/CreateForm.vue delete mode 100644 web/satellite/src/components/accessGrants/modals/EncryptForm.vue delete mode 100644 web/satellite/src/components/accessGrants/modals/EncryptionInfoForm.vue delete mode 100644 web/satellite/src/components/accessGrants/modals/GrantCreatedForm.vue delete mode 100644 web/satellite/src/components/account/billing/HistoryDropdown.vue rename web/satellite/src/components/account/billing/{depositAndBillingHistory/SortingHeader2.vue => billingTabs/SortingHeader.vue} (100%) rename web/satellite/src/components/account/billing/{estimatedCostsAndCredits/UsageAndChargesItem2.vue => billingTabs/UsageAndChargesItem.vue} (100%) delete mode 100644 web/satellite/src/components/account/billing/coupons/CouponArea.vue delete mode 100644 web/satellite/src/components/account/billing/depositAndBillingHistory/DetailedHistory.vue delete mode 100644 web/satellite/src/components/account/billing/depositAndBillingHistory/PaymentsHistoryItemDate.vue delete mode 100644 web/satellite/src/components/account/billing/depositAndBillingHistory/PaymentsItem.vue delete mode 100644 web/satellite/src/components/account/billing/depositAndBillingHistory/PeriodSelection.vue delete mode 100644 web/satellite/src/components/account/billing/depositAndBillingHistory/SmallDepositHistory.vue delete mode 100644 web/satellite/src/components/account/billing/depositAndBillingHistory/SortingHeader.vue delete mode 100644 web/satellite/src/components/account/billing/estimatedCostsAndCredits/EstimatedCostsAndCredits.vue delete mode 100644 web/satellite/src/components/account/billing/estimatedCostsAndCredits/UsageAndChargesItem.vue delete mode 100644 web/satellite/src/components/account/billing/paymentMethods/AddCardForm.vue delete mode 100644 web/satellite/src/components/account/billing/paymentMethods/AddStorjForm.vue delete mode 100644 web/satellite/src/components/account/billing/paymentMethods/BalanceTokenCard.vue delete mode 100644 web/satellite/src/components/account/billing/paymentMethods/CardComponent.vue delete mode 100644 web/satellite/src/components/account/billing/paymentMethods/CardDialog.vue delete mode 100644 web/satellite/src/components/account/billing/paymentMethods/PaymentMethods.vue delete mode 100644 web/satellite/src/components/account/billing/paymentMethods/PaymentsBonus.vue delete mode 100644 web/satellite/src/components/account/billing/paymentMethods/TokenDepositSelection.vue rename web/satellite/src/components/{accessGrants => onboardingTour/steps/cliFlow}/permissions/BucketNameBullet.vue (100%) rename web/satellite/src/components/{accessGrants => onboardingTour/steps/cliFlow}/permissions/BucketsDropdown.vue (100%) rename web/satellite/src/components/{accessGrants => onboardingTour/steps/cliFlow}/permissions/BucketsSelection.vue (96%) rename web/satellite/src/components/{accessGrants => onboardingTour/steps/cliFlow}/permissions/DurationPicker.vue (100%) rename web/satellite/src/components/{accessGrants => onboardingTour/steps/cliFlow}/permissions/DurationSelection.vue (97%) delete mode 100644 web/satellite/static/images/account/billing/back.svg delete mode 100644 web/satellite/static/images/account/billing/card.svg delete mode 100644 web/satellite/static/images/account/billing/chargesExpand.svg delete mode 100644 web/satellite/static/images/account/billing/chargesHide.svg delete mode 100644 web/satellite/static/images/account/billing/couponAdd.svg delete mode 100644 web/satellite/static/images/account/billing/couponLarge.svg delete mode 100644 web/satellite/static/images/account/billing/datePicker.svg delete mode 100644 web/satellite/static/images/account/billing/expand.svg delete mode 100644 web/satellite/static/images/account/billing/hide.svg delete mode 100644 web/satellite/static/images/account/billing/loading.gif delete mode 100644 web/satellite/static/images/account/billing/lock.svg delete mode 100644 web/satellite/static/images/account/billing/lowBalance.svg delete mode 100644 web/satellite/static/images/account/billing/negativeBalance.svg delete mode 100644 web/satellite/static/images/account/billing/selected.svg delete mode 100644 web/satellite/static/images/account/billing/success.svg delete mode 100644 web/satellite/static/images/account/billing/update.svg delete mode 100644 web/satellite/static/images/account/deleteAccountPopup/deleteAccount.svg delete mode 100644 web/satellite/static/images/buckets/bucket.png delete mode 100644 web/satellite/static/images/common/BlackArrowHide.svg delete mode 100644 web/satellite/static/images/common/BlueExpand.svg delete mode 100644 web/satellite/static/images/common/BlueHide.svg delete mode 100644 web/satellite/static/images/common/greyInfo.svg delete mode 100644 web/satellite/static/images/common/smallGreyInfo.svg delete mode 100644 web/satellite/static/images/common/successCheck.svg delete mode 100644 web/satellite/tests/unit/account/billing/HistoryDropdown.spec.ts delete mode 100644 web/satellite/tests/unit/account/billing/__snapshots__/HistoryDropdown.spec.ts.snap delete mode 100644 web/satellite/tests/unit/account/billing/paymentMethods/AddCardForm.spec.ts delete mode 100644 web/satellite/tests/unit/account/billing/paymentMethods/AddStorjForm.spec.ts delete mode 100644 web/satellite/tests/unit/account/billing/paymentMethods/__snapshots__/AddCardForm.spec.ts.snap delete mode 100644 web/satellite/tests/unit/account/billing/paymentMethods/__snapshots__/AddStorjForm.spec.ts.snap delete mode 100644 web/satellite/tests/unit/ignore/account/billing/coupons/CouponArea.spec.ts delete mode 100644 web/satellite/tests/unit/ignore/account/billing/depositAndBillingHistory/DetailedHistory.spec.ts delete mode 100644 web/satellite/tests/unit/ignore/account/billing/depositAndBillingHistory/PaymentsHistoryItemDate.spec.ts delete mode 100644 web/satellite/tests/unit/ignore/account/billing/depositAndBillingHistory/PaymentsItem.spec.ts delete mode 100644 web/satellite/tests/unit/ignore/account/billing/depositAndBillingHistory/PeriodSelection.spec.ts delete mode 100644 web/satellite/tests/unit/ignore/account/billing/depositAndBillingHistory/SmallDepositHistory.spec.ts delete mode 100644 web/satellite/tests/unit/ignore/account/billing/depositAndBillingHistory/SortingHeader.spec.ts delete mode 100644 web/satellite/tests/unit/ignore/account/billing/estimatedCostsAndCredits/EstimatedCostsAndCredits.spec.ts delete mode 100644 web/satellite/tests/unit/ignore/account/billing/estimatedCostsAndCredits/UsageAndChargesItem.spec.ts delete mode 100644 web/satellite/tests/unit/ignore/account/billing/paymentMethods/PaymentMethods.spec.ts diff --git a/satellite/console/consoleweb/config.go b/satellite/console/consoleweb/config.go index c8a0a1fb5..7e1cf320a 100644 --- a/satellite/console/consoleweb/config.go +++ b/satellite/console/consoleweb/config.go @@ -34,8 +34,6 @@ type FrontendConfig struct { AllProjectsDashboard bool `json:"allProjectsDashboard"` DefaultPaidStorageLimit memory.Size `json:"defaultPaidStorageLimit"` DefaultPaidBandwidthLimit memory.Size `json:"defaultPaidBandwidthLimit"` - NewBillingScreen bool `json:"newBillingScreen"` - NewAccessGrantFlow bool `json:"newAccessGrantFlow"` InactivityTimerEnabled bool `json:"inactivityTimerEnabled"` InactivityTimerDuration int `json:"inactivityTimerDuration"` InactivityTimerViewerEnabled bool `json:"inactivityTimerViewerEnabled"` diff --git a/satellite/console/consoleweb/server.go b/satellite/console/consoleweb/server.go index 6d5e8eeb2..220175a5f 100644 --- a/satellite/console/consoleweb/server.go +++ b/satellite/console/consoleweb/server.go @@ -92,8 +92,6 @@ type Config struct { LinksharingURL string `help:"url link for linksharing requests" default:"https://link.storjshare.io" devDefault:"http://localhost:8001"` PathwayOverviewEnabled bool `help:"indicates if the overview onboarding step should render with pathways" default:"true"` AllProjectsDashboard bool `help:"indicates if all projects dashboard should be used" default:"false"` - NewBillingScreen bool `help:"indicates if new billing screens should be used" default:"true"` - NewAccessGrantFlow bool `help:"indicates if new access grant flow should be used" default:"true"` GeneratedAPIEnabled bool `help:"indicates if generated console api should be used" default:"false"` OptionalSignupSuccessURL string `help:"optional url to external registration success page" default:""` HomepageURL string `help:"url link to storj.io homepage" default:"https://www.storj.io"` @@ -473,8 +471,6 @@ func (server *Server) appHandler(w http.ResponseWriter, r *http.Request) { AllProjectsDashboard bool DefaultPaidStorageLimit memory.Size DefaultPaidBandwidthLimit memory.Size - NewBillingScreen bool - NewAccessGrantFlow bool InactivityTimerEnabled bool InactivityTimerDuration int InactivityTimerViewerEnabled bool @@ -516,7 +512,6 @@ func (server *Server) appHandler(w http.ResponseWriter, r *http.Request) { data.LoginHcaptchaEnabled = server.config.Captcha.Login.Hcaptcha.Enabled data.LoginHcaptchaSiteKey = server.config.Captcha.Login.Hcaptcha.SiteKey data.AllProjectsDashboard = server.config.AllProjectsDashboard - data.NewBillingScreen = server.config.NewBillingScreen data.InactivityTimerEnabled = server.config.Session.InactivityTimerEnabled data.InactivityTimerDuration = server.config.Session.InactivityTimerDuration data.InactivityTimerViewerEnabled = server.config.Session.InactivityTimerViewerEnabled @@ -526,7 +521,6 @@ func (server *Server) appHandler(w http.ResponseWriter, r *http.Request) { data.PasswordMinimumLength = console.PasswordMinimumLength data.PasswordMaximumLength = console.PasswordMaximumLength data.ABTestingEnabled = server.config.ABTesting.Enabled - data.NewAccessGrantFlow = server.config.NewAccessGrantFlow data.PricingPackagesEnabled = server.config.PricingPackagesEnabled templates, err := server.loadTemplates() @@ -685,7 +679,6 @@ func (server *Server) frontendConfigHandler(w http.ResponseWriter, r *http.Reque DefaultPaidBandwidthLimit: server.config.UsageLimits.Bandwidth.Paid, Captcha: server.config.Captcha, AllProjectsDashboard: server.config.AllProjectsDashboard, - NewBillingScreen: server.config.NewBillingScreen, InactivityTimerEnabled: server.config.Session.InactivityTimerEnabled, InactivityTimerDuration: server.config.Session.InactivityTimerDuration, InactivityTimerViewerEnabled: server.config.Session.InactivityTimerViewerEnabled, @@ -695,7 +688,6 @@ func (server *Server) frontendConfigHandler(w http.ResponseWriter, r *http.Reque PasswordMinimumLength: console.PasswordMinimumLength, PasswordMaximumLength: console.PasswordMaximumLength, ABTestingEnabled: server.config.ABTesting.Enabled, - NewAccessGrantFlow: server.config.NewAccessGrantFlow, } err := json.NewEncoder(w).Encode(&cfg) diff --git a/scripts/testdata/satellite-config.yaml.lock b/scripts/testdata/satellite-config.yaml.lock index aa113c632..db1ae5f30 100755 --- a/scripts/testdata/satellite-config.yaml.lock +++ b/scripts/testdata/satellite-config.yaml.lock @@ -262,12 +262,6 @@ compensation.withheld-percents: 75,75,75,50,50,50,25,25,25,0,0,0,0,0,0 # indicates if storj native token payments system is enabled # console.native-token-payments-enabled: false -# indicates if new access grant flow should be used -# console.new-access-grant-flow: true - -# indicates if new billing screens should be used -# console.new-billing-screen: true - # how long oauth access tokens are issued for # console.oauth-access-token-expiry: 24h0m0s diff --git a/web/satellite/index.html b/web/satellite/index.html index 993715884..4f0137c63 100644 --- a/web/satellite/index.html +++ b/web/satellite/index.html @@ -31,8 +31,6 @@ - - diff --git a/web/satellite/src/App.vue b/web/satellite/src/App.vue index 550cd4fc0..3e56c3e6f 100644 --- a/web/satellite/src/App.vue +++ b/web/satellite/src/App.vue @@ -48,7 +48,6 @@ export default class App extends Vue { const isBetaSatellite = MetaUtils.getMetaContent('is-beta-satellite'); const couponCodeBillingUIEnabled = MetaUtils.getMetaContent('coupon-code-billing-ui-enabled'); const couponCodeSignupUIEnabled = MetaUtils.getMetaContent('coupon-code-signup-ui-enabled'); - const isNewAccessGrantFlow = MetaUtils.getMetaContent('new-access-grant-flow'); if (satelliteName) { this.$store.dispatch(APP_STATE_ACTIONS.SET_SATELLITE_NAME, satelliteName); @@ -77,10 +76,6 @@ export default class App extends Vue { this.$store.dispatch(APP_STATE_ACTIONS.SET_COUPON_CODE_SIGNUP_UI_STATUS, couponCodeSignupUIEnabled === 'true'); } - if (isNewAccessGrantFlow) { - this.$store.commit(APP_STATE_MUTATIONS.SET_ACCESS_GRANT_FLOW_STATUS, isNewAccessGrantFlow === 'true'); - } - this.fixViewportHeight(); } diff --git a/web/satellite/src/components/accessGrants/AccessGrants.vue b/web/satellite/src/components/accessGrants/AccessGrants.vue index 38524763d..7ddfd5941 100644 --- a/web/satellite/src/components/accessGrants/AccessGrants.vue +++ b/web/satellite/src/components/accessGrants/AccessGrants.vue @@ -245,13 +245,6 @@ const emptyStateLabel = computed((): string => { return searchQuery.value ? noSearchResults : noGrants; }); -/** - * Indicates if new access grant flow should be used. - */ -const isNewAccessGrantFlow = computed((): boolean => { - return store.state.appStateModule.isNewAccessGrantFlow; -}); - /** * Fetches access grants page by clicked index. * @param index @@ -311,20 +304,10 @@ async function fetch(searchQuery: string): Promise { */ function accessGrantClick(): void { analytics.eventTriggered(AnalyticsEvent.CREATE_ACCESS_GRANT_CLICKED); - - if (isNewAccessGrantFlow.value) { - trackPageVisit(RouteConfig.AccessGrants.with(RouteConfig.NewCreateAccessModal).path); - router.push({ - name: RouteConfig.NewCreateAccessModal.name, - params: { accessType: AccessType.AccessGrant }, - }); - return; - } - trackPageVisit(RouteConfig.AccessGrants.with(RouteConfig.CreateAccessModal).path); router.push({ - name: RouteConfig.AccessGrants.with(RouteConfig.CreateAccessModal).name, - params: { accessType: 'access' }, + name: RouteConfig.CreateAccessModal.name, + params: { accessType: AccessType.AccessGrant }, }); } @@ -333,20 +316,10 @@ function accessGrantClick(): void { */ function s3Click(): void { analytics.eventTriggered(AnalyticsEvent.CREATE_S3_CREDENTIALS_CLICKED); - - if (isNewAccessGrantFlow.value) { - trackPageVisit(RouteConfig.AccessGrants.with(RouteConfig.NewCreateAccessModal).path); - router.push({ - name: RouteConfig.NewCreateAccessModal.name, - params: { accessType: AccessType.S3 }, - }); - return; - } - trackPageVisit(RouteConfig.AccessGrants.with(RouteConfig.CreateAccessModal).path); router.push({ - name: RouteConfig.AccessGrants.with(RouteConfig.CreateAccessModal).name, - params: { accessType: 's3' }, + name: RouteConfig.CreateAccessModal.name, + params: { accessType: AccessType.S3 }, }); } @@ -355,20 +328,10 @@ function s3Click(): void { */ function cliClick(): void { analytics.eventTriggered(AnalyticsEvent.CREATE_KEYS_FOR_CLI_CLICKED); - - if (isNewAccessGrantFlow.value) { - trackPageVisit(RouteConfig.AccessGrants.with(RouteConfig.NewCreateAccessModal).path); - router.push({ - name: RouteConfig.NewCreateAccessModal.name, - params: { accessType: AccessType.APIKey }, - }); - return; - } - trackPageVisit(RouteConfig.AccessGrants.with(RouteConfig.CreateAccessModal).path); router.push({ - name: RouteConfig.AccessGrants.with(RouteConfig.CreateAccessModal).name, - params: { accessType: 'api' }, + name: RouteConfig.CreateAccessModal.name, + params: { accessType: AccessType.APIKey }, }); } diff --git a/web/satellite/src/components/accessGrants/CreateAccessModal.vue b/web/satellite/src/components/accessGrants/CreateAccessModal.vue deleted file mode 100644 index a18da95bb..000000000 --- a/web/satellite/src/components/accessGrants/CreateAccessModal.vue +++ /dev/null @@ -1,317 +0,0 @@ -// Copyright (C) 2022 Storj Labs, Inc. -// See LICENSE for copying information. - - - - diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/CreateAccessGrantFlow.vue b/web/satellite/src/components/accessGrants/createFlow/CreateAccessGrantFlow.vue similarity index 95% rename from web/satellite/src/components/accessGrants/newCreateFlow/CreateAccessGrantFlow.vue rename to web/satellite/src/components/accessGrants/createFlow/CreateAccessGrantFlow.vue index a3123308c..32555fe58 100644 --- a/web/satellite/src/components/accessGrants/newCreateFlow/CreateAccessGrantFlow.vue +++ b/web/satellite/src/components/accessGrants/createFlow/CreateAccessGrantFlow.vue @@ -130,16 +130,16 @@ import { AnalyticsHttpApi } from '@/api/analytics'; import { OBJECTS_MUTATIONS } from '@/store/modules/objects'; import VModal from '@/components/common/VModal.vue'; -import CreateNewAccessStep from '@/components/accessGrants/newCreateFlow/steps/CreateNewAccessStep.vue'; -import ChoosePermissionStep from '@/components/accessGrants/newCreateFlow/steps/ChoosePermissionStep.vue'; -import AccessEncryptionStep from '@/components/accessGrants/newCreateFlow/steps/AccessEncryptionStep.vue'; -import EnterPassphraseStep from '@/components/accessGrants/newCreateFlow/steps/EnterPassphraseStep.vue'; -import PassphraseGeneratedStep from '@/components/accessGrants/newCreateFlow/steps/PassphraseGeneratedStep.vue'; -import EncryptionInfoStep from '@/components/accessGrants/newCreateFlow/steps/EncryptionInfoStep.vue'; -import AccessCreatedStep from '@/components/accessGrants/newCreateFlow/steps/AccessCreatedStep.vue'; -import CLIAccessCreatedStep from '@/components/accessGrants/newCreateFlow/steps/CLIAccessCreatedStep.vue'; -import S3CredentialsCreatedStep from '@/components/accessGrants/newCreateFlow/steps/S3CredentialsCreatedStep.vue'; -import ConfirmDetailsStep from '@/components/accessGrants/newCreateFlow/steps/ConfirmDetailsStep.vue'; +import CreateNewAccessStep from '@/components/accessGrants/createFlow/steps/CreateNewAccessStep.vue'; +import ChoosePermissionStep from '@/components/accessGrants/createFlow/steps/ChoosePermissionStep.vue'; +import AccessEncryptionStep from '@/components/accessGrants/createFlow/steps/AccessEncryptionStep.vue'; +import EnterPassphraseStep from '@/components/accessGrants/createFlow/steps/EnterPassphraseStep.vue'; +import PassphraseGeneratedStep from '@/components/accessGrants/createFlow/steps/PassphraseGeneratedStep.vue'; +import EncryptionInfoStep from '@/components/accessGrants/createFlow/steps/EncryptionInfoStep.vue'; +import AccessCreatedStep from '@/components/accessGrants/createFlow/steps/AccessCreatedStep.vue'; +import CLIAccessCreatedStep from '@/components/accessGrants/createFlow/steps/CLIAccessCreatedStep.vue'; +import S3CredentialsCreatedStep from '@/components/accessGrants/createFlow/steps/S3CredentialsCreatedStep.vue'; +import ConfirmDetailsStep from '@/components/accessGrants/createFlow/steps/ConfirmDetailsStep.vue'; const router = useRouter(); const route = useRoute(); @@ -167,7 +167,7 @@ const storedPassphrase = computed((): string => { return store.state.objectsModule.passphrase; }); -const worker = ref(); +const worker = ref(null); const isLoading = ref(false); const step = ref(CreateAccessStep.CreateNewAccess); const selectedAccessTypes = ref([]); diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/components/ButtonsContainer.vue b/web/satellite/src/components/accessGrants/createFlow/components/ButtonsContainer.vue similarity index 100% rename from web/satellite/src/components/accessGrants/newCreateFlow/components/ButtonsContainer.vue rename to web/satellite/src/components/accessGrants/createFlow/components/ButtonsContainer.vue diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/components/ContainerWithIcon.vue b/web/satellite/src/components/accessGrants/createFlow/components/ContainerWithIcon.vue similarity index 100% rename from web/satellite/src/components/accessGrants/newCreateFlow/components/ContainerWithIcon.vue rename to web/satellite/src/components/accessGrants/createFlow/components/ContainerWithIcon.vue diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/components/EndDatePicker.vue b/web/satellite/src/components/accessGrants/createFlow/components/EndDatePicker.vue similarity index 100% rename from web/satellite/src/components/accessGrants/newCreateFlow/components/EndDatePicker.vue rename to web/satellite/src/components/accessGrants/createFlow/components/EndDatePicker.vue diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/components/EndDateSelection.vue b/web/satellite/src/components/accessGrants/createFlow/components/EndDateSelection.vue similarity index 100% rename from web/satellite/src/components/accessGrants/newCreateFlow/components/EndDateSelection.vue rename to web/satellite/src/components/accessGrants/createFlow/components/EndDateSelection.vue diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/components/LinkButton.vue b/web/satellite/src/components/accessGrants/createFlow/components/LinkButton.vue similarity index 100% rename from web/satellite/src/components/accessGrants/newCreateFlow/components/LinkButton.vue rename to web/satellite/src/components/accessGrants/createFlow/components/LinkButton.vue diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/components/Radio.vue b/web/satellite/src/components/accessGrants/createFlow/components/Radio.vue similarity index 100% rename from web/satellite/src/components/accessGrants/newCreateFlow/components/Radio.vue rename to web/satellite/src/components/accessGrants/createFlow/components/Radio.vue diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/components/Toggle.vue b/web/satellite/src/components/accessGrants/createFlow/components/Toggle.vue similarity index 100% rename from web/satellite/src/components/accessGrants/newCreateFlow/components/Toggle.vue rename to web/satellite/src/components/accessGrants/createFlow/components/Toggle.vue diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/components/ValueWithBlur.vue b/web/satellite/src/components/accessGrants/createFlow/components/ValueWithBlur.vue similarity index 100% rename from web/satellite/src/components/accessGrants/newCreateFlow/components/ValueWithBlur.vue rename to web/satellite/src/components/accessGrants/createFlow/components/ValueWithBlur.vue diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/steps/AccessCreatedStep.vue b/web/satellite/src/components/accessGrants/createFlow/steps/AccessCreatedStep.vue similarity index 94% rename from web/satellite/src/components/accessGrants/newCreateFlow/steps/AccessCreatedStep.vue rename to web/satellite/src/components/accessGrants/createFlow/steps/AccessCreatedStep.vue index 47b176a05..01710af31 100644 --- a/web/satellite/src/components/accessGrants/newCreateFlow/steps/AccessCreatedStep.vue +++ b/web/satellite/src/components/accessGrants/createFlow/steps/AccessCreatedStep.vue @@ -72,9 +72,9 @@ import { AccessType } from '@/types/createAccessGrant'; import { RouteConfig } from '@/router'; import VButton from '@/components/common/VButton.vue'; -import ButtonsContainer from '@/components/accessGrants/newCreateFlow/components/ButtonsContainer.vue'; -import ValueWithBlur from '@/components/accessGrants/newCreateFlow/components/ValueWithBlur.vue'; -import LinkButton from '@/components/accessGrants/newCreateFlow/components/LinkButton.vue'; +import ButtonsContainer from '@/components/accessGrants/createFlow/components/ButtonsContainer.vue'; +import ValueWithBlur from '@/components/accessGrants/createFlow/components/ValueWithBlur.vue'; +import LinkButton from '@/components/accessGrants/createFlow/components/LinkButton.vue'; const props = defineProps<{ accessTypes: AccessType[]; diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/steps/AccessEncryptionStep.vue b/web/satellite/src/components/accessGrants/createFlow/steps/AccessEncryptionStep.vue similarity index 96% rename from web/satellite/src/components/accessGrants/newCreateFlow/steps/AccessEncryptionStep.vue rename to web/satellite/src/components/accessGrants/createFlow/steps/AccessEncryptionStep.vue index 9d3290b58..050e3adee 100644 --- a/web/satellite/src/components/accessGrants/newCreateFlow/steps/AccessEncryptionStep.vue +++ b/web/satellite/src/components/accessGrants/createFlow/steps/AccessEncryptionStep.vue @@ -102,9 +102,9 @@ import { } from '@/types/createAccessGrant'; import { useStore } from '@/utils/hooks'; -import ContainerWithIcon from '@/components/accessGrants/newCreateFlow/components/ContainerWithIcon.vue'; -import ButtonsContainer from '@/components/accessGrants/newCreateFlow/components/ButtonsContainer.vue'; -import Radio from '@/components/accessGrants/newCreateFlow/components/Radio.vue'; +import ContainerWithIcon from '@/components/accessGrants/createFlow/components/ContainerWithIcon.vue'; +import ButtonsContainer from '@/components/accessGrants/createFlow/components/ButtonsContainer.vue'; +import Radio from '@/components/accessGrants/createFlow/components/Radio.vue'; import VButton from '@/components/common/VButton.vue'; import ChevronIcon from '@/../static/images/accessGrants/newCreateFlow/chevron.svg'; diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/steps/CLIAccessCreatedStep.vue b/web/satellite/src/components/accessGrants/createFlow/steps/CLIAccessCreatedStep.vue similarity index 93% rename from web/satellite/src/components/accessGrants/newCreateFlow/steps/CLIAccessCreatedStep.vue rename to web/satellite/src/components/accessGrants/createFlow/steps/CLIAccessCreatedStep.vue index 7712475d0..ac2122562 100644 --- a/web/satellite/src/components/accessGrants/newCreateFlow/steps/CLIAccessCreatedStep.vue +++ b/web/satellite/src/components/accessGrants/createFlow/steps/CLIAccessCreatedStep.vue @@ -78,9 +78,9 @@ import { RouteConfig } from '@/router'; import { MetaUtils } from '@/utils/meta'; import VButton from '@/components/common/VButton.vue'; -import ButtonsContainer from '@/components/accessGrants/newCreateFlow/components/ButtonsContainer.vue'; -import ValueWithBlur from '@/components/accessGrants/newCreateFlow/components/ValueWithBlur.vue'; -import LinkButton from '@/components/accessGrants/newCreateFlow/components/LinkButton.vue'; +import ButtonsContainer from '@/components/accessGrants/createFlow/components/ButtonsContainer.vue'; +import ValueWithBlur from '@/components/accessGrants/createFlow/components/ValueWithBlur.vue'; +import LinkButton from '@/components/accessGrants/createFlow/components/LinkButton.vue'; const props = defineProps<{ name: string; diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/steps/ChoosePermissionStep.vue b/web/satellite/src/components/accessGrants/createFlow/steps/ChoosePermissionStep.vue similarity index 96% rename from web/satellite/src/components/accessGrants/newCreateFlow/steps/ChoosePermissionStep.vue rename to web/satellite/src/components/accessGrants/createFlow/steps/ChoosePermissionStep.vue index 6df3566ad..b29a1f19c 100644 --- a/web/satellite/src/components/accessGrants/newCreateFlow/steps/ChoosePermissionStep.vue +++ b/web/satellite/src/components/accessGrants/createFlow/steps/ChoosePermissionStep.vue @@ -138,10 +138,10 @@ import { import { useNotify, useStore } from '@/utils/hooks'; import { AnalyticsErrorEventSource } from '@/utils/constants/analyticsEventNames'; -import ContainerWithIcon from '@/components/accessGrants/newCreateFlow/components/ContainerWithIcon.vue'; -import ButtonsContainer from '@/components/accessGrants/newCreateFlow/components/ButtonsContainer.vue'; -import EndDateSelection from '@/components/accessGrants/newCreateFlow/components/EndDateSelection.vue'; -import Toggle from '@/components/accessGrants/newCreateFlow/components/Toggle.vue'; +import ContainerWithIcon from '@/components/accessGrants/createFlow/components/ContainerWithIcon.vue'; +import ButtonsContainer from '@/components/accessGrants/createFlow/components/ButtonsContainer.vue'; +import EndDateSelection from '@/components/accessGrants/createFlow/components/EndDateSelection.vue'; +import Toggle from '@/components/accessGrants/createFlow/components/Toggle.vue'; import VButton from '@/components/common/VButton.vue'; import SearchIcon from '@/../static/images/accessGrants/newCreateFlow/search.svg'; diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/steps/ConfirmDetailsStep.vue b/web/satellite/src/components/accessGrants/createFlow/steps/ConfirmDetailsStep.vue similarity index 93% rename from web/satellite/src/components/accessGrants/newCreateFlow/steps/ConfirmDetailsStep.vue rename to web/satellite/src/components/accessGrants/createFlow/steps/ConfirmDetailsStep.vue index aa23e0f74..cf9bf8ba5 100644 --- a/web/satellite/src/components/accessGrants/newCreateFlow/steps/ConfirmDetailsStep.vue +++ b/web/satellite/src/components/accessGrants/createFlow/steps/ConfirmDetailsStep.vue @@ -62,8 +62,8 @@ import { Permission, } from '@/types/createAccessGrant'; -import ContainerWithIcon from '@/components/accessGrants/newCreateFlow/components/ContainerWithIcon.vue'; -import ButtonsContainer from '@/components/accessGrants/newCreateFlow/components/ButtonsContainer.vue'; +import ContainerWithIcon from '@/components/accessGrants/createFlow/components/ContainerWithIcon.vue'; +import ButtonsContainer from '@/components/accessGrants/createFlow/components/ButtonsContainer.vue'; import VButton from '@/components/common/VButton.vue'; const props = defineProps<{ diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/steps/CreateNewAccessStep.vue b/web/satellite/src/components/accessGrants/createFlow/steps/CreateNewAccessStep.vue similarity index 94% rename from web/satellite/src/components/accessGrants/newCreateFlow/steps/CreateNewAccessStep.vue rename to web/satellite/src/components/accessGrants/createFlow/steps/CreateNewAccessStep.vue index 14aab696c..de064391e 100644 --- a/web/satellite/src/components/accessGrants/newCreateFlow/steps/CreateNewAccessStep.vue +++ b/web/satellite/src/components/accessGrants/createFlow/steps/CreateNewAccessStep.vue @@ -104,10 +104,10 @@ import { computed } from 'vue'; import { AccessType, FUNCTIONAL_CONTAINER_ICON_AND_TITLE, FunctionalContainer } from '@/types/createAccessGrant'; import { AnalyticsHttpApi } from '@/api/analytics'; -import ContainerWithIcon from '@/components/accessGrants/newCreateFlow/components/ContainerWithIcon.vue'; -import ButtonsContainer from '@/components/accessGrants/newCreateFlow/components/ButtonsContainer.vue'; -import LinkButton from '@/components/accessGrants/newCreateFlow/components/LinkButton.vue'; -import Toggle from '@/components/accessGrants/newCreateFlow/components/Toggle.vue'; +import ContainerWithIcon from '@/components/accessGrants/createFlow/components/ContainerWithIcon.vue'; +import ButtonsContainer from '@/components/accessGrants/createFlow/components/ButtonsContainer.vue'; +import LinkButton from '@/components/accessGrants/createFlow/components/LinkButton.vue'; +import Toggle from '@/components/accessGrants/createFlow/components/Toggle.vue'; import VInput from '@/components/common/VInput.vue'; import VButton from '@/components/common/VButton.vue'; diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/steps/EncryptionInfoStep.vue b/web/satellite/src/components/accessGrants/createFlow/steps/EncryptionInfoStep.vue similarity index 94% rename from web/satellite/src/components/accessGrants/newCreateFlow/steps/EncryptionInfoStep.vue rename to web/satellite/src/components/accessGrants/createFlow/steps/EncryptionInfoStep.vue index bf406da98..6a7498bf6 100644 --- a/web/satellite/src/components/accessGrants/newCreateFlow/steps/EncryptionInfoStep.vue +++ b/web/satellite/src/components/accessGrants/createFlow/steps/EncryptionInfoStep.vue @@ -49,8 +49,8 @@ import { useStore } from '@/utils/hooks'; import { LocalData } from '@/utils/localData'; import { AnalyticsHttpApi } from '@/api/analytics'; -import ButtonsContainer from '@/components/accessGrants/newCreateFlow/components/ButtonsContainer.vue'; -import Toggle from '@/components/accessGrants/newCreateFlow/components/Toggle.vue'; +import ButtonsContainer from '@/components/accessGrants/createFlow/components/ButtonsContainer.vue'; +import Toggle from '@/components/accessGrants/createFlow/components/Toggle.vue'; import VButton from '@/components/common/VButton.vue'; const props = defineProps<{ diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/steps/EnterPassphraseStep.vue b/web/satellite/src/components/accessGrants/createFlow/steps/EnterPassphraseStep.vue similarity index 94% rename from web/satellite/src/components/accessGrants/newCreateFlow/steps/EnterPassphraseStep.vue rename to web/satellite/src/components/accessGrants/createFlow/steps/EnterPassphraseStep.vue index 4921a43fb..e1b960e78 100644 --- a/web/satellite/src/components/accessGrants/newCreateFlow/steps/EnterPassphraseStep.vue +++ b/web/satellite/src/components/accessGrants/createFlow/steps/EnterPassphraseStep.vue @@ -50,8 +50,8 @@ import { computed, ref } from 'vue'; import { useStore } from '@/utils/hooks'; -import ButtonsContainer from '@/components/accessGrants/newCreateFlow/components/ButtonsContainer.vue'; -import Toggle from '@/components/accessGrants/newCreateFlow/components/Toggle.vue'; +import ButtonsContainer from '@/components/accessGrants/createFlow/components/ButtonsContainer.vue'; +import Toggle from '@/components/accessGrants/createFlow/components/Toggle.vue'; import VButton from '@/components/common/VButton.vue'; import VInput from '@/components/common/VInput.vue'; diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/steps/PassphraseGeneratedStep.vue b/web/satellite/src/components/accessGrants/createFlow/steps/PassphraseGeneratedStep.vue similarity index 94% rename from web/satellite/src/components/accessGrants/newCreateFlow/steps/PassphraseGeneratedStep.vue rename to web/satellite/src/components/accessGrants/createFlow/steps/PassphraseGeneratedStep.vue index 2aa8c5e3a..2893f7754 100644 --- a/web/satellite/src/components/accessGrants/newCreateFlow/steps/PassphraseGeneratedStep.vue +++ b/web/satellite/src/components/accessGrants/createFlow/steps/PassphraseGeneratedStep.vue @@ -80,9 +80,9 @@ import { Download } from '@/utils/download'; import { AnalyticsEvent } from '@/utils/constants/analyticsEventNames'; import { AnalyticsHttpApi } from '@/api/analytics'; -import ButtonsContainer from '@/components/accessGrants/newCreateFlow/components/ButtonsContainer.vue'; -import ValueWithBlur from '@/components/accessGrants/newCreateFlow/components/ValueWithBlur.vue'; -import Toggle from '@/components/accessGrants/newCreateFlow/components/Toggle.vue'; +import ButtonsContainer from '@/components/accessGrants/createFlow/components/ButtonsContainer.vue'; +import ValueWithBlur from '@/components/accessGrants/createFlow/components/ValueWithBlur.vue'; +import Toggle from '@/components/accessGrants/createFlow/components/Toggle.vue'; import VButton from '@/components/common/VButton.vue'; const props = defineProps<{ diff --git a/web/satellite/src/components/accessGrants/newCreateFlow/steps/S3CredentialsCreatedStep.vue b/web/satellite/src/components/accessGrants/createFlow/steps/S3CredentialsCreatedStep.vue similarity index 94% rename from web/satellite/src/components/accessGrants/newCreateFlow/steps/S3CredentialsCreatedStep.vue rename to web/satellite/src/components/accessGrants/createFlow/steps/S3CredentialsCreatedStep.vue index f7871f3fa..bfb410016 100644 --- a/web/satellite/src/components/accessGrants/newCreateFlow/steps/S3CredentialsCreatedStep.vue +++ b/web/satellite/src/components/accessGrants/createFlow/steps/S3CredentialsCreatedStep.vue @@ -85,9 +85,9 @@ import { RouteConfig } from '@/router'; import { EdgeCredentials } from '@/types/accessGrants'; import VButton from '@/components/common/VButton.vue'; -import ButtonsContainer from '@/components/accessGrants/newCreateFlow/components/ButtonsContainer.vue'; -import ValueWithBlur from '@/components/accessGrants/newCreateFlow/components/ValueWithBlur.vue'; -import LinkButton from '@/components/accessGrants/newCreateFlow/components/LinkButton.vue'; +import ButtonsContainer from '@/components/accessGrants/createFlow/components/ButtonsContainer.vue'; +import ValueWithBlur from '@/components/accessGrants/createFlow/components/ValueWithBlur.vue'; +import LinkButton from '@/components/accessGrants/createFlow/components/LinkButton.vue'; const props = defineProps<{ name: string; diff --git a/web/satellite/src/components/accessGrants/modals/CreateForm.vue b/web/satellite/src/components/accessGrants/modals/CreateForm.vue deleted file mode 100644 index 3dcb87122..000000000 --- a/web/satellite/src/components/accessGrants/modals/CreateForm.vue +++ /dev/null @@ -1,702 +0,0 @@ -// Copyright (C) 2022 Storj Labs, Inc. -// See LICENSE for copying information. - - - - - - diff --git a/web/satellite/src/components/accessGrants/modals/EncryptForm.vue b/web/satellite/src/components/accessGrants/modals/EncryptForm.vue deleted file mode 100644 index 667e0d828..000000000 --- a/web/satellite/src/components/accessGrants/modals/EncryptForm.vue +++ /dev/null @@ -1,403 +0,0 @@ -// Copyright (C) 2022 Storj Labs, Inc. -// See LICENSE for copying information. - - - - - - diff --git a/web/satellite/src/components/accessGrants/modals/EncryptionInfoForm.vue b/web/satellite/src/components/accessGrants/modals/EncryptionInfoForm.vue deleted file mode 100644 index 9337f031d..000000000 --- a/web/satellite/src/components/accessGrants/modals/EncryptionInfoForm.vue +++ /dev/null @@ -1,136 +0,0 @@ -// Copyright (C) 2022 Storj Labs, Inc. -// See LICENSE for copying information. - - - - - - diff --git a/web/satellite/src/components/accessGrants/modals/GrantCreatedForm.vue b/web/satellite/src/components/accessGrants/modals/GrantCreatedForm.vue deleted file mode 100644 index f8e9dd3dc..000000000 --- a/web/satellite/src/components/accessGrants/modals/GrantCreatedForm.vue +++ /dev/null @@ -1,538 +0,0 @@ -// Copyright (C) 2022 Storj Labs, Inc. -// See LICENSE for copying information. - - - - - - diff --git a/web/satellite/src/components/account/SettingsArea.vue b/web/satellite/src/components/account/SettingsArea.vue index a49224792..c1ab6ac7e 100644 --- a/web/satellite/src/components/account/SettingsArea.vue +++ b/web/satellite/src/components/account/SettingsArea.vue @@ -87,7 +87,6 @@ import { computed, onMounted } from 'vue'; import { USER_ACTIONS } from '@/store/modules/users'; import { User } from '@/types/users'; -import { APP_STATE_ACTIONS } from '@/utils/constants/actionNames'; import { AnalyticsErrorEventSource } from '@/utils/constants/analyticsEventNames'; import { MODALS } from '@/utils/constants/appStatePopUps'; import { useNotify, useStore } from '@/utils/hooks'; diff --git a/web/satellite/src/components/account/billing/BillingArea.vue b/web/satellite/src/components/account/billing/BillingArea.vue index 1d5eb5260..976a79c1a 100644 --- a/web/satellite/src/components/account/billing/BillingArea.vue +++ b/web/satellite/src/components/account/billing/BillingArea.vue @@ -3,7 +3,7 @@ @@ -90,7 +42,6 @@ @@ -389,7 +246,7 @@ export default class BillingArea extends Vue { padding-top: 20px; &__text { - font-family: sans-serif; + font-family: 'font_regular', sans-serif; } } @@ -419,7 +276,7 @@ export default class BillingArea extends Vue { } &__tab { - font-family: sans-serif; + font-family: 'font_regular', sans-serif; color: var(--c-grey-6); font-size: 16px; height: auto; diff --git a/web/satellite/src/components/account/billing/HistoryDropdown.vue b/web/satellite/src/components/account/billing/HistoryDropdown.vue deleted file mode 100644 index d14cf0fa3..000000000 --- a/web/satellite/src/components/account/billing/HistoryDropdown.vue +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright (C) 2020 Storj Labs, Inc. -// See LICENSE for copying information. - - - - - - diff --git a/web/satellite/src/components/account/billing/billingTabs/BillingHistory.vue b/web/satellite/src/components/account/billing/billingTabs/BillingHistory.vue index 26cb4473e..3c8875a9c 100644 --- a/web/satellite/src/components/account/billing/billingTabs/BillingHistory.vue +++ b/web/satellite/src/components/account/billing/billingTabs/BillingHistory.vue @@ -61,7 +61,7 @@ onMounted(() => { margin-top: 2rem; &__title { - font-family: sans-serif; + font-family: 'font_regular', sans-serif; font-size: 1.5rem; } diff --git a/web/satellite/src/components/account/billing/billingTabs/CreditCardContainer.vue b/web/satellite/src/components/account/billing/billingTabs/CreditCardContainer.vue index 527f50b98..d8eadcb9e 100644 --- a/web/satellite/src/components/account/billing/billingTabs/CreditCardContainer.vue +++ b/web/satellite/src/components/account/billing/billingTabs/CreditCardContainer.vue @@ -167,6 +167,7 @@ function toggleSelection(): void { grid-template-columns: 4fr 2fr; grid-template-rows: 1fr 0fr 1fr 1fr; height: 100%; + font-family: 'font_regular', sans-serif; &__function-buttons { grid-column: 1; @@ -188,9 +189,7 @@ function toggleSelection(): void { &__card-text { grid-column: 1; grid-row: 2; - font-family: sans-serif; - font-style: normal; - font-weight: 700; + font-family: 'font_bold', sans-serif; font-size: 12px; line-height: 18px; color: var(--c-grey-6); @@ -199,9 +198,7 @@ function toggleSelection(): void { &__expiration-text { grid-column: 2; grid-row: 2; - font-family: sans-serif; - font-style: normal; - font-weight: 700; + font-family: 'font_bold', sans-serif; font-size: 12px; line-height: 18px; color: var(--c-grey-6); @@ -215,9 +212,7 @@ function toggleSelection(): void { &__info-container { grid-row: 3; grid-column: 1; - font-family: sans-serif; - font-style: normal; - font-weight: 700; + font-family: 'font_bold', sans-serif; font-size: 16px; line-height: 24px; color: #000; @@ -230,9 +225,7 @@ function toggleSelection(): void { &__expire-container { grid-row: 3; grid-column: 2; - font-family: sans-serif; - font-style: normal; - font-weight: 700; + font-family: 'font_bold', sans-serif; font-size: 16px; line-height: 24px; color: #000; @@ -252,9 +245,7 @@ function toggleSelection(): void { } &__default-text { - font-family: sans-serif; - font-style: normal; - font-weight: 700; + font-family: 'font_bold', sans-serif; font-size: 12px; line-height: 20px; color: var(--c-blue-4); diff --git a/web/satellite/src/components/account/billing/billingTabs/Overview.vue b/web/satellite/src/components/account/billing/billingTabs/Overview.vue index 6019e4487..6e5cb62c5 100644 --- a/web/satellite/src/components/account/billing/billingTabs/Overview.vue +++ b/web/satellite/src/components/account/billing/billingTabs/Overview.vue @@ -78,7 +78,7 @@ />