From e808ef4a156f81cf3981d22dc4f329fab23b9b5e Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Fri, 23 Aug 2024 12:29:11 +0530 Subject: [PATCH] Nc Fix: Update extension UI as per new design (#9306) * fix(nc-gui): show extension as floating * chore(nc-gui): add puzzle icon * fix(nc-gui): toolbar searchbox auto close issue on clearing input value * fix(nc-gui): update extension header * fix(nc-gui): update extension panel as per new design * fix(nc-gui): update extension icons * fix(nc-gui): mionr extension panel corrections * feat(nc-gui): extension reorder support * fix(nc-gui): extension reorder issue * fix(nc-gui): extension min height issue * fix(nc-gui): extension error screen * fix(nc-gui): extension fullscreen padding * fix(nc-gui): update extension marketplace modal * fix(nc-gui): update extension details modal * fix(nc-gui): some changes * fix(nc-gui): some review changes * fix(nc-gui): some review changes * fix(nc-gui): update extension header * fix(nc-gui): update extension title input box * fix(nc-gui): enable extension is cloud * fix(nc-gui): add extension subtitle support * feat(nc-gui): allow user to add extension description in markdown file * fix(nc-gui): add cmdk topbar btn in all screens * fix(nc-gui): meta.glob() as option deprecated warning * fix(nc-gui): minor changes * fix(nc-gui): make cmdk icon smaller * fix(nc-gui): monor review changes * misc: alignment & text for desc * fix(nc-gui): extension review changes * fix(nc-gui): extension topbar btn ui updates * fix(nc-gui): update extension header icon size * fix(nc-gui): use description md file instead of plain text in manifest * fix(nc-gui): update extension modal size * fix(nc-gui): cmdk test update * chore(nc-gui): lint * fix(nc-gui): minor changes * fix(nc-gui): update extension details panel gap * fix: minor alignments --------- Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- .../nc-gui/assets/nc-icons/puzzle-outline.svg | 10 + .../nc-gui/assets/nc-icons/puzzle-solid.svg | 4 + .../dashboard/Sidebar/TopSection.vue | 2 +- .../nc-gui/components/extensions/Details.vue | 226 +++++++++++++---- .../components/extensions/Extension.vue | 176 +++++++++---- .../components/extensions/ExtensionMenu.vue | 12 +- .../nc-gui/components/extensions/Market.vue | 144 ++++++----- .../nc-gui/components/extensions/Pane.vue | 231 +++++++++++++----- packages/nc-gui/components/project/View.vue | 7 +- .../nc-gui/components/smartsheet/Kanban.vue | 4 +- .../nc-gui/components/smartsheet/Topbar.vue | 52 ++-- .../smartsheet/toolbar/SearchData.vue | 6 + .../components/smartsheet/topbar/CmdK.vue | 19 ++ .../nc-gui/components/tabs/Smartsheet.vue | 4 +- packages/nc-gui/components/workspace/View.vue | 8 +- .../workspace/integrations/ConnectionsTab.vue | 2 +- .../workspace/integrations/view.vue | 4 +- packages/nc-gui/composables/useExtensions.ts | 105 ++++++-- .../assets/fullscreen-modal-screenshot.png | Bin 0 -> 304744 bytes .../data-exporter/{ => assets}/icon.png | Bin .../extensions/data-exporter/assets/icon.svg | 7 + .../extensions/data-exporter/description.md | 13 + .../nc-gui/extensions/data-exporter/index.vue | 4 +- .../extensions/data-exporter/manifest.json | 11 +- .../json-exporter/{ => assets}/icon.png | Bin .../extensions/json-exporter/description.md | 5 + .../extensions/json-exporter/manifest.json | 10 +- packages/nc-gui/utils/iconUtils.ts | 4 + .../pages/Dashboard/Sidebar/index.ts | 8 +- .../Dashboard/common/LeftSidebar/index.ts | 4 +- .../pages/Dashboard/common/Topbar/index.ts | 9 + 31 files changed, 804 insertions(+), 287 deletions(-) create mode 100644 packages/nc-gui/assets/nc-icons/puzzle-outline.svg create mode 100644 packages/nc-gui/assets/nc-icons/puzzle-solid.svg create mode 100644 packages/nc-gui/components/smartsheet/topbar/CmdK.vue create mode 100644 packages/nc-gui/extensions/data-exporter/assets/fullscreen-modal-screenshot.png rename packages/nc-gui/extensions/data-exporter/{ => assets}/icon.png (100%) create mode 100644 packages/nc-gui/extensions/data-exporter/assets/icon.svg create mode 100644 packages/nc-gui/extensions/data-exporter/description.md rename packages/nc-gui/extensions/json-exporter/{ => assets}/icon.png (100%) create mode 100644 packages/nc-gui/extensions/json-exporter/description.md diff --git a/packages/nc-gui/assets/nc-icons/puzzle-outline.svg b/packages/nc-gui/assets/nc-icons/puzzle-outline.svg new file mode 100644 index 0000000000..306d5838fb --- /dev/null +++ b/packages/nc-gui/assets/nc-icons/puzzle-outline.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/packages/nc-gui/assets/nc-icons/puzzle-solid.svg b/packages/nc-gui/assets/nc-icons/puzzle-solid.svg new file mode 100644 index 0000000000..892503784a --- /dev/null +++ b/packages/nc-gui/assets/nc-icons/puzzle-solid.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/packages/nc-gui/components/dashboard/Sidebar/TopSection.vue b/packages/nc-gui/components/dashboard/Sidebar/TopSection.vue index bf8e565ebf..71ef42bddd 100644 --- a/packages/nc-gui/components/dashboard/Sidebar/TopSection.vue +++ b/packages/nc-gui/components/dashboard/Sidebar/TopSection.vue @@ -54,7 +54,7 @@ const navigateToIntegrations = () => {