From d14a4c778a0d5afd6d584807b900a74dd11843aa Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Mon, 2 Sep 2024 14:19:04 +0000 Subject: [PATCH] fix(nc-gui): add screenshots & dynamic modal size support per extension --- .../nc-gui/components/extensions/Details.vue | 9 +++--- .../components/extensions/Extension.vue | 26 ++++++++---------- .../nc-gui/components/extensions/Market.vue | 7 ++--- packages/nc-gui/components/nc/Modal.vue | 17 ++++++++++-- .../nc-gui/composables/useExtensionHelper.ts | 3 ++ packages/nc-gui/composables/useExtensions.ts | 11 ++++++-- .../extensions/data-exporter/assets/icon.png | Bin 37421 -> 0 bytes .../assets/recent-exports-modal.png | Bin 0 -> 356621 bytes .../data-exporter/assets/recent-exports.png | Bin 0 -> 82213 bytes .../extensions/data-exporter/description.md | 9 ++++++ .../extensions/data-exporter/manifest.json | 2 +- packages/nc-gui/utils/commonUtils.ts | 18 ++++++++++++ 12 files changed, 73 insertions(+), 29 deletions(-) delete mode 100644 packages/nc-gui/extensions/data-exporter/assets/icon.png create mode 100644 packages/nc-gui/extensions/data-exporter/assets/recent-exports-modal.png create mode 100644 packages/nc-gui/extensions/data-exporter/assets/recent-exports.png create mode 100644 packages/nc-gui/utils/commonUtils.ts diff --git a/packages/nc-gui/components/extensions/Details.vue b/packages/nc-gui/components/extensions/Details.vue index abe70311af..4d684e8e67 100644 --- a/packages/nc-gui/components/extensions/Details.vue +++ b/packages/nc-gui/components/extensions/Details.vue @@ -67,8 +67,7 @@ const detailsBody = computed(() => { v-model:visible="vModel" :class="{ active: vModel }" :footer="null" - :width="1154" - size="medium" + size="lg" wrap-class-name="nc-modal-extension-details" >
@@ -172,7 +171,7 @@ const detailsBody = computed(() => {