diff --git a/changelog/unreleased/bugfix-repair-navigtion-highlighter b/changelog/unreleased/bugfix-repair-navigtion-highlighter new file mode 100644 index 00000000000..0d330933627 --- /dev/null +++ b/changelog/unreleased/bugfix-repair-navigtion-highlighter @@ -0,0 +1,5 @@ +Bugfix: Repair navigation highlighter + +We've refactored the navigation highlighter to fix several small glitches. + +https://github.com/owncloud/web/pull/7210 \ No newline at end of file diff --git a/changelog/unreleased/enhancement-show-search-item-in-left-sidebar b/changelog/unreleased/enhancement-show-search-item-in-left-sidebar new file mode 100644 index 00000000000..731a5bc7d49 --- /dev/null +++ b/changelog/unreleased/enhancement-show-search-item-in-left-sidebar @@ -0,0 +1,7 @@ +Enhancement: Show nav item in left side sidebar while searching + +We've introduced a new nav item in the left sidebar which will fade in, +while using the 'Search all files' search provider. + +https://github.com/owncloud/web/pull/7210 +https://github.com/owncloud/web/issues/7190 diff --git a/packages/web-app-files/src/index.js b/packages/web-app-files/src/index.js index 416dadbcae4..779cdc2b88d 100644 --- a/packages/web-app-files/src/index.js +++ b/packages/web-app-files/src/index.js @@ -41,6 +41,16 @@ const appInfo = { fileSideBars } const navItems = [ + { + name: $gettext('Search'), + icon: 'search', + route: { + path: `/${appInfo.id}/search/list` + }, + enabled() { + return window.location.pathname === this.route.path + } + }, { name(capabilities) { return capabilities.spaces?.enabled ? $gettext('Personal') : $gettext('All files') diff --git a/packages/web-runtime/src/components/SidebarNav/SidebarNav.vue b/packages/web-runtime/src/components/SidebarNav/SidebarNav.vue index f3bd37f2472..e1b3d068048 100644 --- a/packages/web-runtime/src/components/SidebarNav/SidebarNav.vue +++ b/packages/web-runtime/src/components/SidebarNav/SidebarNav.vue @@ -17,10 +17,11 @@