From 0104a6862d53f4e202017b0ec69b943e9c2fbf06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20=C3=96zdemir?= Date: Sun, 28 Apr 2024 22:01:57 +0300 Subject: [PATCH 01/52] add useModal composable --- README.md | 4 +-- src/ServiceContainer.js | 9 ++--- src/assets/css/index.css | 4 ++- src/components/Breadcrumb.vue | 14 ++------ src/components/ContextMenu.vue | 34 +++++++----------- src/components/Explorer.vue | 43 ++++++++++------------ src/components/Message.vue | 6 ---- src/components/SortIcon.vue | 14 +++----- src/components/Statusbar.vue | 9 ++--- src/components/Toast.vue | 6 ---- src/components/Toolbar.vue | 27 +++++++------- src/components/VueFinder.vue | 45 +++++++----------------- src/components/modals/ModalAbout.vue | 14 +++----- src/components/modals/ModalArchive.vue | 15 +++----- src/components/modals/ModalDelete.vue | 15 +++----- src/components/modals/ModalLayout.vue | 4 +-- src/components/modals/ModalMessage.vue | 14 +++----- src/components/modals/ModalMove.vue | 15 +++----- src/components/modals/ModalNewFile.vue | 15 +++----- src/components/modals/ModalNewFolder.vue | 15 +++----- src/components/modals/ModalPreview.vue | 14 +++----- src/components/modals/ModalRename.vue | 15 +++----- src/components/modals/ModalUnarchive.vue | 15 +++----- src/components/modals/ModalUpload.vue | 14 +++----- src/composables/useModal.js | 20 +++++++++++ src/composables/useTheme.js | 2 +- src/index.js | 9 ++--- src/modals.js | 11 ------ 28 files changed, 143 insertions(+), 279 deletions(-) create mode 100644 src/composables/useModal.js delete mode 100644 src/modals.js diff --git a/README.md b/README.md index c3934109..8f228243 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ when you set the select-button active to true, the select button will be visible :select-button="handleSelectButton" /> - - - - - - diff --git a/src/components/Statusbar.vue b/src/components/Statusbar.vue index cb1c7ade..e5fb06b2 100644 --- a/src/components/Statusbar.vue +++ b/src/components/Statusbar.vue @@ -24,7 +24,7 @@ :disabled="!isSelectButtonActive" v-if="app.selectButton.active" @click="app.selectButton.click(app.selectedItems, $event)">{{ t("Select") }} - + @@ -33,14 +33,9 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/components/Explorer.vue b/src/components/Explorer.vue index 8e672a7e..e1525cbf 100644 --- a/src/components/Explorer.vue +++ b/src/components/Explorer.vue @@ -19,13 +19,8 @@ -
-
- - - -
{{ ds.getCount() }}
-
+
+
From 3cd32d30cdd743c54927953a8e7bee67a891116c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20=C3=96zdemir?= Date: Mon, 29 Apr 2024 20:52:30 +0300 Subject: [PATCH 08/52] update modal max width --- src/components/modals/ModalLayout.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/modals/ModalLayout.vue b/src/components/modals/ModalLayout.vue index b659eef6..ec6a69f4 100644 --- a/src/components/modals/ModalLayout.vue +++ b/src/components/modals/ModalLayout.vue @@ -5,7 +5,7 @@
-
+
From 0aee50d48340c8e7dd148946eb629e0a54e52298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20=C3=96zdemir?= Date: Mon, 29 Apr 2024 20:52:41 +0300 Subject: [PATCH 09/52] add aspect ratio to video object --- src/components/previews/Video.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/previews/Video.vue b/src/components/previews/Video.vue index 8b1e91d6..320964e1 100644 --- a/src/components/previews/Video.vue +++ b/src/components/previews/Video.vue @@ -3,7 +3,7 @@
-