diff --git a/packages/nc-gui/assets/nc-icons/discord.svg b/packages/nc-gui/assets/nc-icons/discord.svg index 4e47c6e830..c0f7a4b842 100644 --- a/packages/nc-gui/assets/nc-icons/discord.svg +++ b/packages/nc-gui/assets/nc-icons/discord.svg @@ -1,5 +1,10 @@ - - - \ No newline at end of file + + + + + + + + + + diff --git a/packages/nc-gui/assets/nc-icons/megaphone.svg b/packages/nc-gui/assets/nc-icons/megaphone.svg new file mode 100644 index 0000000000..8f08defb54 --- /dev/null +++ b/packages/nc-gui/assets/nc-icons/megaphone.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/packages/nc-gui/assets/nc-icons/nocodb.svg b/packages/nc-gui/assets/nc-icons/nocodb.svg new file mode 100644 index 0000000000..8e33b7798d --- /dev/null +++ b/packages/nc-gui/assets/nc-icons/nocodb.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/packages/nc-gui/assets/nc-icons/reddit.svg b/packages/nc-gui/assets/nc-icons/reddit.svg index daaf9cdbe0..84bc50057c 100644 --- a/packages/nc-gui/assets/nc-icons/reddit.svg +++ b/packages/nc-gui/assets/nc-icons/reddit.svg @@ -1,7 +1,11 @@ - - - - \ No newline at end of file + + + + + + + + + + + diff --git a/packages/nc-gui/assets/nc-icons/refresh-cw.svg b/packages/nc-gui/assets/nc-icons/refresh-cw.svg new file mode 100644 index 0000000000..37670a59e5 --- /dev/null +++ b/packages/nc-gui/assets/nc-icons/refresh-cw.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/packages/nc-gui/assets/nc-icons/star.svg b/packages/nc-gui/assets/nc-icons/star.svg index 56aee8f633..9656c5c8c8 100644 --- a/packages/nc-gui/assets/nc-icons/star.svg +++ b/packages/nc-gui/assets/nc-icons/star.svg @@ -1,5 +1,5 @@ - + diff --git a/packages/nc-gui/assets/nc-icons/twitter-x-line.svg b/packages/nc-gui/assets/nc-icons/twitter-x-line.svg new file mode 100644 index 0000000000..7b36f49725 --- /dev/null +++ b/packages/nc-gui/assets/nc-icons/twitter-x-line.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/packages/nc-gui/assets/nc-icons/youtube2.svg b/packages/nc-gui/assets/nc-icons/youtube2.svg new file mode 100644 index 0000000000..dd92589aba --- /dev/null +++ b/packages/nc-gui/assets/nc-icons/youtube2.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/packages/nc-gui/components/dashboard/Sidebar.vue b/packages/nc-gui/components/dashboard/Sidebar.vue index 80102bf614..ade1ab43d3 100644 --- a/packages/nc-gui/components/dashboard/Sidebar.vue +++ b/packages/nc-gui/components/dashboard/Sidebar.vue @@ -5,7 +5,7 @@ const { isWorkspaceLoading } = storeToRefs(workspaceStore) const { isSharedBase } = storeToRefs(useBase()) -const { isMobileMode } = useGlobal() +const { isMobileMode, appInfo } = useGlobal() const treeViewDom = ref() @@ -60,6 +60,7 @@ onUnmounted(() => {
+ diff --git a/packages/nc-gui/components/dashboard/Sidebar/Feed.vue b/packages/nc-gui/components/dashboard/Sidebar/Feed.vue new file mode 100644 index 0000000000..dc55ae51fc --- /dev/null +++ b/packages/nc-gui/components/dashboard/Sidebar/Feed.vue @@ -0,0 +1,110 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Changelog/Item.vue b/packages/nc-gui/components/feed/Changelog/Item.vue new file mode 100644 index 0000000000..cdb013bf21 --- /dev/null +++ b/packages/nc-gui/components/feed/Changelog/Item.vue @@ -0,0 +1,194 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Changelog/index.vue b/packages/nc-gui/components/feed/Changelog/index.vue new file mode 100644 index 0000000000..8ee3811e67 --- /dev/null +++ b/packages/nc-gui/components/feed/Changelog/index.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Error.vue b/packages/nc-gui/components/feed/Error.vue new file mode 100644 index 0000000000..63228d6aa5 --- /dev/null +++ b/packages/nc-gui/components/feed/Error.vue @@ -0,0 +1,44 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Header.vue b/packages/nc-gui/components/feed/Header.vue new file mode 100644 index 0000000000..f73c7de2f9 --- /dev/null +++ b/packages/nc-gui/components/feed/Header.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Recents/Card.vue b/packages/nc-gui/components/feed/Recents/Card.vue new file mode 100644 index 0000000000..2a1ceb7301 --- /dev/null +++ b/packages/nc-gui/components/feed/Recents/Card.vue @@ -0,0 +1,138 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Recents/index.vue b/packages/nc-gui/components/feed/Recents/index.vue new file mode 100644 index 0000000000..a7f7614115 --- /dev/null +++ b/packages/nc-gui/components/feed/Recents/index.vue @@ -0,0 +1,37 @@ + + + diff --git a/packages/nc-gui/components/feed/Roadmap.vue b/packages/nc-gui/components/feed/Roadmap.vue new file mode 100644 index 0000000000..a6b86115af --- /dev/null +++ b/packages/nc-gui/components/feed/Roadmap.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Social.vue b/packages/nc-gui/components/feed/Social.vue new file mode 100644 index 0000000000..f58d769c84 --- /dev/null +++ b/packages/nc-gui/components/feed/Social.vue @@ -0,0 +1,82 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Twitter.vue b/packages/nc-gui/components/feed/Twitter.vue new file mode 100644 index 0000000000..a451302395 --- /dev/null +++ b/packages/nc-gui/components/feed/Twitter.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/packages/nc-gui/components/feed/View.vue b/packages/nc-gui/components/feed/View.vue new file mode 100644 index 0000000000..b02fb6c132 --- /dev/null +++ b/packages/nc-gui/components/feed/View.vue @@ -0,0 +1,111 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Youtube/Player.vue b/packages/nc-gui/components/feed/Youtube/Player.vue new file mode 100644 index 0000000000..219065fe59 --- /dev/null +++ b/packages/nc-gui/components/feed/Youtube/Player.vue @@ -0,0 +1,44 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Youtube/index.vue b/packages/nc-gui/components/feed/Youtube/index.vue new file mode 100644 index 0000000000..d56093ca1c --- /dev/null +++ b/packages/nc-gui/components/feed/Youtube/index.vue @@ -0,0 +1,49 @@ + + + + + diff --git a/packages/nc-gui/components/nc/Badge.vue b/packages/nc-gui/components/nc/Badge.vue index efb5498c09..5864a6a66e 100644 --- a/packages/nc-gui/components/nc/Badge.vue +++ b/packages/nc-gui/components/nc/Badge.vue @@ -25,6 +25,7 @@ const props = withDefaults( 'border-red-500 bg-red-100': props.color === 'red', 'border-maroon-500 bg-maroon-50': props.color === 'maroon', 'border-gray-500 bg-gray-50': props.color === 'grey', + 'bg-brand-50 text-brand-500': props.color === 'brand', 'border-gray-300': !props.color, 'border-1': props.border, 'h-6': props.size === 'sm', diff --git a/packages/nc-gui/components/nc/Popover.vue b/packages/nc-gui/components/nc/Popover.vue new file mode 100644 index 0000000000..ff27c20db7 --- /dev/null +++ b/packages/nc-gui/components/nc/Popover.vue @@ -0,0 +1,210 @@ + + + + + diff --git a/packages/nc-gui/components/smartsheet/Toolbar.vue b/packages/nc-gui/components/smartsheet/Toolbar.vue index 304dcdda1c..ef69fced77 100644 --- a/packages/nc-gui/components/smartsheet/Toolbar.vue +++ b/packages/nc-gui/components/smartsheet/Toolbar.vue @@ -12,6 +12,10 @@ const containerRef = ref() const { width } = useElementSize(containerRef) +const router = useRouter() + +const disableToolbar = computed(() => router.currentRoute.value.query?.disableToolbar === 'true') + const isTab = computed(() => { if (!isCalendar.value) return false return width.value > 1200 @@ -29,7 +33,7 @@ provide(IsToolbarIconMode, isToolbarIconMode)