From 7b02122121a2426fe2370adbd55874f4e75869d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20D=C3=ADaz=20Gonz=C3=A1lez?= Date: Fri, 30 Dec 2022 14:39:24 +0000 Subject: [PATCH] [web] Move SoftwareSection to "overview" namespace Since the "overview" namespace was created for that purpuose when adding the first section page (PR #321). I.e., components for summarizing sections should live in that namespace. See https://github.com/yast/d-installer/pull/321/commits/3df4c301299e6016712dc50a9a4d5537a1060de7 --- web/src/components/overview/Overview.jsx | 3 +-- web/src/components/{software => overview}/SoftwareSection.jsx | 0 web/src/components/overview/index.js | 1 + web/src/components/software/index.js | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) rename web/src/components/{software => overview}/SoftwareSection.jsx (100%) diff --git a/web/src/components/overview/Overview.jsx b/web/src/components/overview/Overview.jsx index 286953821c..471c21ce2b 100644 --- a/web/src/components/overview/Overview.jsx +++ b/web/src/components/overview/Overview.jsx @@ -28,8 +28,7 @@ import { Button, Flex, FlexItem } from "@patternfly/react-core"; import { Icon, Title, PageIcon, PageActions, MainActions } from "@components/layout"; import { Section, InstallButton } from "@components/core"; import { LanguageSelector } from "@components/language"; -import { StorageSection } from "@components/overview"; -import { SoftwareSection } from "@components/software"; +import { SoftwareSection, StorageSection } from "@components/overview"; import { Users } from "@components/users"; import { Network } from "@components/network"; diff --git a/web/src/components/software/SoftwareSection.jsx b/web/src/components/overview/SoftwareSection.jsx similarity index 100% rename from web/src/components/software/SoftwareSection.jsx rename to web/src/components/overview/SoftwareSection.jsx diff --git a/web/src/components/overview/index.js b/web/src/components/overview/index.js index 049926e027..c4948be739 100644 --- a/web/src/components/overview/index.js +++ b/web/src/components/overview/index.js @@ -20,4 +20,5 @@ */ export { default as Overview } from "./Overview"; +export { default as SoftwareSection } from "./SoftwareSection"; export { default as StorageSection } from "./StorageSection"; diff --git a/web/src/components/software/index.js b/web/src/components/software/index.js index a9fb5b8d74..2670630877 100644 --- a/web/src/components/software/index.js +++ b/web/src/components/software/index.js @@ -20,4 +20,3 @@ */ export { default as ProductSelectionPage } from "./ProductSelectionPage"; -export { default as SoftwareSection } from "./SoftwareSection";