diff --git a/web/satellite/src/components/browser/FileBrowser.vue b/web/satellite/src/components/browser/FileBrowser.vue index b8aa28606..51659cc93 100644 --- a/web/satellite/src/components/browser/FileBrowser.vue +++ b/web/satellite/src/components/browser/FileBrowser.vue @@ -711,6 +711,7 @@ async function goToBuckets(): Promise { font-size: 2rem; font-weight: 500; line-height: 1.2; + word-break: break-all; @media screen and (max-width: 768px) { margin-bottom: 0.5rem; diff --git a/web/satellite/src/components/modals/AllModals.vue b/web/satellite/src/components/modals/AllModals.vue index c352c7f0d..27b006dfa 100644 --- a/web/satellite/src/components/modals/AllModals.vue +++ b/web/satellite/src/components/modals/AllModals.vue @@ -23,6 +23,7 @@ + @@ -31,6 +32,7 @@ import { Component, Vue } from 'vue-property-decorator'; import CreateProjectPromptModal from '@/components/modals/CreateProjectPromptModal.vue'; import CreateProjectModal from '@/components/modals/CreateProjectModal.vue'; +import CreateBucketModal from '@/components/modals/CreateBucketModal.vue'; import AddPaymentMethodModal from '@/components/modals/AddPaymentMethodModal.vue'; import OpenBucketModal from '@/components/modals/OpenBucketModal.vue'; import MFARecoveryCodesModal from '@/components/modals/MFARecoveryCodesModal.vue'; @@ -58,6 +60,7 @@ import ManageProjectPassphraseModal from '@/components/modals/manageProjectPassp DeleteBucketModal, CreateProjectPromptModal, CreateProjectModal, + CreateBucketModal, AddPaymentMethodModal, OpenBucketModal, MFARecoveryCodesModal, @@ -216,5 +219,12 @@ export default class AllModals extends Vue { public get isManageProjectPassphraseModal(): boolean { return this.$store.state.appStateModule.appState.isManageProjectPassphraseModalShown; } + + /** + * Indicates if create bucket modal is shown. + */ + public get isCreateBucketModal(): boolean { + return this.$store.state.appStateModule.appState.isCreateBucketModalShown; + } } diff --git a/web/satellite/src/components/modals/CreateBucketModal.vue b/web/satellite/src/components/modals/CreateBucketModal.vue new file mode 100644 index 000000000..7ba4f23f3 --- /dev/null +++ b/web/satellite/src/components/modals/CreateBucketModal.vue @@ -0,0 +1,256 @@ +// Copyright (C) 2023 Storj Labs, Inc. +// See LICENSE for copying information. + + + + + + diff --git a/web/satellite/src/components/modals/OpenBucketModal.vue b/web/satellite/src/components/modals/OpenBucketModal.vue index 9e969cdf6..b96644477 100644 --- a/web/satellite/src/components/modals/OpenBucketModal.vue +++ b/web/satellite/src/components/modals/OpenBucketModal.vue @@ -5,18 +5,28 @@