diff --git a/packages/nc-gui/components/dashboard/Sidebar.vue b/packages/nc-gui/components/dashboard/Sidebar.vue index 80102bf614..84c30a176e 100644 --- a/packages/nc-gui/components/dashboard/Sidebar.vue +++ b/packages/nc-gui/components/dashboard/Sidebar.vue @@ -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..682c0cac4b --- /dev/null +++ b/packages/nc-gui/components/dashboard/Sidebar/Feed.vue @@ -0,0 +1,18 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Header.vue b/packages/nc-gui/components/feed/Header.vue new file mode 100644 index 0000000000..a9164aaba6 --- /dev/null +++ b/packages/nc-gui/components/feed/Header.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Navigation.vue b/packages/nc-gui/components/feed/Navigation.vue new file mode 100644 index 0000000000..8747e0c284 --- /dev/null +++ b/packages/nc-gui/components/feed/Navigation.vue @@ -0,0 +1,140 @@ + + + + + diff --git a/packages/nc-gui/components/feed/View.vue b/packages/nc-gui/components/feed/View.vue new file mode 100644 index 0000000000..c5ad68f699 --- /dev/null +++ b/packages/nc-gui/components/feed/View.vue @@ -0,0 +1,11 @@ + + + + + diff --git a/packages/nc-gui/pages/index/[typeOrId]/feed.vue b/packages/nc-gui/pages/index/[typeOrId]/feed.vue new file mode 100644 index 0000000000..96749ed619 --- /dev/null +++ b/packages/nc-gui/pages/index/[typeOrId]/feed.vue @@ -0,0 +1,7 @@ + + + + + diff --git a/packages/nc-gui/store/workspace.ts b/packages/nc-gui/store/workspace.ts index 6989e06d34..00b3274320 100644 --- a/packages/nc-gui/store/workspace.ts +++ b/packages/nc-gui/store/workspace.ts @@ -238,6 +238,16 @@ export const useWorkspace = defineStore('workspaceStore', () => { } } + const navigateToFeed = async (_?: string, cmdOrCtrl?: boolean) => { + if (cmdOrCtrl) { + await navigateTo('/nc/feed', { + open: navigateToBlankTargetOpenOption, + }) + } else { + await navigateTo('/nc/feed') + } + } + const auditLogsQuery = ref>(defaultAuditLogsQuery) const audits = ref>(null) @@ -326,6 +336,7 @@ export const useWorkspace = defineStore('workspaceStore', () => { auditLogsQuery, audits, auditPaginationData, + navigateToFeed, loadAudits, isIntegrationsPageOpened, navigateToIntegrations,