From d460769e833077a7dda94603fd7c26bc9724fd60 Mon Sep 17 00:00:00 2001 From: Krzysztof Bialoglowicz Date: Mon, 19 Aug 2019 11:55:32 +0200 Subject: [PATCH 1/4] Fix configure submeniu closing --- src/components/AppLayout/MenuList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AppLayout/MenuList.tsx b/src/components/AppLayout/MenuList.tsx index 5fbd4df02..61e2143c2 100644 --- a/src/components/AppLayout/MenuList.tsx +++ b/src/components/AppLayout/MenuList.tsx @@ -307,7 +307,7 @@ const MenuList = withStyles(styles, { name: "MenuList" })( onMenuItemClick(configurationMenuUrl, event)} + onClick={event => closeSubMenu(configurationMenuUrl, event)} >
Date: Mon, 19 Aug 2019 11:57:31 +0200 Subject: [PATCH 2/4] Fix section name to `Configuration` --- src/components/AppLayout/MenuList.tsx | 4 ++-- src/configuration/ConfigurationPage.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/AppLayout/MenuList.tsx b/src/components/AppLayout/MenuList.tsx index 61e2143c2..82fbce2e4 100644 --- a/src/components/AppLayout/MenuList.tsx +++ b/src/components/AppLayout/MenuList.tsx @@ -317,12 +317,12 @@ const MenuList = withStyles(styles, { name: "MenuList" })( src={configureIcon} /> - {i18n.t("Configure")} + {i18n.t("Configuration")}
diff --git a/src/configuration/ConfigurationPage.tsx b/src/configuration/ConfigurationPage.tsx index 48463ae22..96bc27649 100644 --- a/src/configuration/ConfigurationPage.tsx +++ b/src/configuration/ConfigurationPage.tsx @@ -78,7 +78,7 @@ export const ConfigurationPage = withStyles(styles, { name: "ConfigurationPage" })(({ classes, menu, user, onSectionClick }: ConfigurationPageProps) => ( - +
{menu .filter(menuItem => From 001716909a75417e2c11dff8692eba3eb1210503 Mon Sep 17 00:00:00 2001 From: Krzysztof Bialoglowicz Date: Mon, 19 Aug 2019 12:03:06 +0200 Subject: [PATCH 3/4] Upadate snapshots --- src/storybook/__snapshots__/Stories.test.ts.snap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index f8eba83b1..c0f2853af 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -25807,7 +25807,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
- Configure + Configuration
- Configure + Configuration
Date: Mon, 19 Aug 2019 12:03:16 +0200 Subject: [PATCH 4/4] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62fb25650..3ecc4b825 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,3 +6,4 @@ All notable, unreleased changes to this project will be documented in this file. - Add changelog and github issue/PR templates - #97 by @dominik-zeglen - Update dependencies to suppress storybook build errors - #98 by @dominik-zeglen +- Fix configure menu section - #109 by @benekex2