diff --git a/CHANGELOG.md b/CHANGELOG.md index 18e1c10fd..e0aa27f7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ All notable, unreleased changes to this project will be documented in this file. - Fix user management modal actions - #637 by @eaglesemanation - Fix navigator button rendering on safari browser - #656 by @dominik-zeglen - Use hooks instead of containers with render props in product mutations - #667 by @dominik-zeglen +- Add apps and permission groups to navigator - #678 by @dominik-zeglen ## 2.10.1 diff --git a/src/components/Navigator/modes/default/views.ts b/src/components/Navigator/modes/default/views.ts index 4e0c4c90b..3e323d846 100644 --- a/src/components/Navigator/modes/default/views.ts +++ b/src/components/Navigator/modes/default/views.ts @@ -1,3 +1,4 @@ +import { appsListUrl } from "@saleor/apps/urls"; import { attributeListUrl } from "@saleor/attributes/urls"; import { categoryListUrl } from "@saleor/categories/urls"; import { collectionListUrl } from "@saleor/collections/urls"; @@ -8,6 +9,7 @@ import { sectionNames } from "@saleor/intl"; import { menuListUrl } from "@saleor/navigation/urls"; import { orderDraftListUrl, orderListUrl } from "@saleor/orders/urls"; import { pageListUrl } from "@saleor/pages/urls"; +import { permissionGroupListUrl } from "@saleor/permissionGroups/urls"; import { pluginListUrl } from "@saleor/plugins/urls"; import { productListUrl } from "@saleor/products/urls"; import { productTypeListUrl } from "@saleor/productTypes/urls"; @@ -32,6 +34,10 @@ function searchInViews( navigate: UseNavigatorResult ): QuickSearchActionInput[] { const views: View[] = [ + { + label: intl.formatMessage(sectionNames.apps), + url: appsListUrl() + }, { label: intl.formatMessage(sectionNames.attributes), url: attributeListUrl() @@ -68,6 +74,10 @@ function searchInViews( label: intl.formatMessage(sectionNames.pages), url: pageListUrl() }, + { + label: intl.formatMessage(sectionNames.permissionGroups), + url: permissionGroupListUrl() + }, { label: intl.formatMessage(sectionNames.plugins), url: pluginListUrl()