diff --git a/changelog/unreleased/enhancement-remove-upload-progress-component b/changelog/unreleased/enhancement-remove-upload-progress-component new file mode 100644 index 00000000000..db58b79e943 --- /dev/null +++ b/changelog/unreleased/enhancement-remove-upload-progress-component @@ -0,0 +1,6 @@ +Enhancement: Remove the upload progress component + +We've removed the upload progress component because the implementation of Uppy made it obsolete. + +https://github.com/owncloud/web/pull/6825 +https://github.com/owncloud/web/issues/6819 diff --git a/packages/web-app-files/src/App.vue b/packages/web-app-files/src/App.vue index b9e1d445c57..3296ede5db1 100644 --- a/packages/web-app-files/src/App.vue +++ b/packages/web-app-files/src/App.vue @@ -104,8 +104,4 @@ main { grid-area: main; z-index: 0; } - -#files-upload-progress { - grid-area: upload; -} diff --git a/packages/web-app-files/src/components/Upload/DetailsWidget.vue b/packages/web-app-files/src/components/Upload/DetailsWidget.vue deleted file mode 100644 index 426fef9539b..00000000000 --- a/packages/web-app-files/src/components/Upload/DetailsWidget.vue +++ /dev/null @@ -1,50 +0,0 @@ - - diff --git a/packages/web-app-files/src/components/Upload/ProgressBar.vue b/packages/web-app-files/src/components/Upload/ProgressBar.vue deleted file mode 100644 index d2d9129d785..00000000000 --- a/packages/web-app-files/src/components/Upload/ProgressBar.vue +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - diff --git a/packages/web-app-files/src/composables/fileListHeaderPosition/useFileListHeaderPosition.ts b/packages/web-app-files/src/composables/fileListHeaderPosition/useFileListHeaderPosition.ts index 01813592db8..25a732fae2a 100644 --- a/packages/web-app-files/src/composables/fileListHeaderPosition/useFileListHeaderPosition.ts +++ b/packages/web-app-files/src/composables/fileListHeaderPosition/useFileListHeaderPosition.ts @@ -1,8 +1,6 @@ -import { ref, nextTick, onMounted, Ref, watch } from '@vue/composition-api' -import { useStore } from 'web-pkg/src/composables/store' +import { ref, nextTick, onMounted, Ref } from '@vue/composition-api' export const useFileListHeaderPosition = (): { y: Ref; refresh: () => void } => { - const store = useStore() const y = ref(0) const refresh = async (): Promise => { await nextTick() @@ -18,7 +16,6 @@ export const useFileListHeaderPosition = (): { y: Ref; refresh: () => void } => window.onresize = refresh onMounted(refresh) - watch(() => store.getters['Files/inProgress'].length > 0, refresh) return { y, refresh } } diff --git a/packages/web-app-files/src/store/getters.js b/packages/web-app-files/src/store/getters.js index bbe323ba063..3b48a020173 100644 --- a/packages/web-app-files/src/store/getters.js +++ b/packages/web-app-files/src/store/getters.js @@ -1,9 +1,6 @@ import { ShareTypes } from '../helpers/share' export default { - inProgress: (state) => { - return state.inProgress - }, selectedFiles: (state, getters) => { return getters.filesAll.filter((f) => state.selectedIds.includes(f.id)) }, diff --git a/packages/web-app-files/src/store/state.js b/packages/web-app-files/src/store/state.js index 3e06966a034..84ac8aa2ccb 100644 --- a/packages/web-app-files/src/store/state.js +++ b/packages/web-app-files/src/store/state.js @@ -3,8 +3,6 @@ export default { files: [], filesSearched: null, selectedIds: [], - inProgress: [], - shareOpen: null, versions: [], /** diff --git a/packages/web-app-files/src/views/Personal.vue b/packages/web-app-files/src/views/Personal.vue index c2f91899808..b55bfb21e08 100644 --- a/packages/web-app-files/src/views/Personal.vue +++ b/packages/web-app-files/src/views/Personal.vue @@ -11,7 +11,6 @@