Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove attribute section from configuration menu
dominik-zeglen1f09a5143619
diff --git a/saleor/static/dashboard-next/configuration/index.tsx b/saleor/static/dashboard-next/configuration/index.tsxindex 69cdeafb84..79187d1ce3 100644--- a/saleor/static/dashboard-next/configuration/index.tsx+++ b/saleor/static/dashboard-next/configuration/index.tsx@@ -4,7 +4,6 @@ import Navigator from "../components/Navigator";import { UserContext } from "../auth";import i18n from "../i18n";import AccountCircle from "../icons/AccountCircle";-import Ballot from "../icons/Ballot";import Folder from "../icons/Folder";import LocalShipping from "../icons/LocalShipping";import Monetization from "../icons/Monetization";@@ -25,12 +24,6 @@ export const configurationMenu: MenuItem[] = [title: i18n.t("Product Types"),url: productTypeListUrl},- {- description: i18n.t("Define attributes of products yousell"),- icon: <Ballot fontSize="inherit" />,- permission: PermissionEnum.MANAGE_PRODUCTS,- title: i18n.t("Attributes")- },{description: i18n.t("Manage your employees and their permissions"),icon: <AccountCircle fontSize="inherit" />,diff --git a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snapindex c41cde7e9b..2ddc717858 100644--- a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap+++ b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap@@ -5832,6 +5832,12 @@ exports[`Storyshots Pages / PageProperties when loading 1`] = `</div>`;+exports[`Storyshots Product types / Edit attribute default 1`] = `<div />`;++exports[`Storyshots Product types / Edit attribute form errors 1`] = `<div />`;++exports[`Storyshots Product types / Edit attribute loading 1`] = `<div />`;+exports[`Storyshots SiteSettings / Add key dialog default 1`] = `<div />`;exports[`Storyshots SiteSettings / Add key dialog form errors 1`] = `<div />`;@@ -11000,70 +11006,6 @@ exports[`Storyshots Views / Configuration default 1`] = `</div></div></div>- <div- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-cardDisabled-id"- >- <div- class="MuiCardContent-root-id Component-cardContent-id"- >- <div- class="Component-icon-id"- >- <svg- aria-hidden="true"- class="MuiSvgIcon-root-id MuiSvgIcon-fontSizeInherit-id"- focusable="false"- viewBox="0 0 24 24"- >- <rect- fill="black"- fill-opacity="0"- height="24"- width="24"- />- <rect- fill-opacity="0"- height="18"- transform="translate(3 3)"- width="18"- />- <rect- fill="black"- fill-opacity="0"- transform="translate(3 3)"- width="18"- />- <path- d="M18 7.5H13V9.5H18V7.5Z"- />- <path- d="M18 14.5H13V16.5H18V14.5Z"- />- <path- d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM19 19H5V5H19V19Z"- />- <path- d="M11 6H6V11H11V6ZM10 10H7V7H10V10Z"- />- <path- d="M11 13H6V18H11V13ZM10 17H7V14H10V17Z"- />- </svg>- </div>- <div>- <p- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorPrimary-id Component-sectionTitle-id"- >- Attributes- </p>- <p- class="MuiTypography-root-id MuiTypography-body1-id Component-sectionDescription-id"- >- Define attributes of products yousell- </p>- </div>- </div>- </div><divclass="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id">@@ -11424,70 +11366,6 @@ exports[`Storyshots Views / Configuration partial access 1`] = `</div></div></div>- <div- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-cardDisabled-id"- >- <div- class="MuiCardContent-root-id Component-cardContent-id"- >- <div- class="Component-icon-id"- >- <svg- aria-hidden="true"- class="MuiSvgIcon-root-id MuiSvgIcon-fontSizeInherit-id"- focusable="false"- viewBox="0 0 24 24"- >- <rect- fill="black"- fill-opacity="0"- height="24"- width="24"- />- <rect- fill-opacity="0"- height="18"- transform="translate(3 3)"- width="18"- />- <rect- fill="black"- fill-opacity="0"- transform="translate(3 3)"- width="18"- />- <path- d="M18 7.5H13V9.5H18V7.5Z"- />- <path- d="M18 14.5H13V16.5H18V14.5Z"- />- <path- d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM19 19H5V5H19V19Z"- />- <path- d="M11 6H6V11H11V6ZM10 10H7V7H10V10Z"- />- <path- d="M11 13H6V18H11V13ZM10 17H7V14H10V17Z"- />- </svg>- </div>- <div>- <p- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorPrimary-id Component-sectionTitle-id"- >- Attributes- </p>- <p- class="MuiTypography-root-id MuiTypography-body1-id Component-sectionDescription-id"- >- Define attributes of products yousell- </p>- </div>- </div>- </div><divclass="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-cardDisabled-id">