Skip to content

Commit

Permalink
Create a folder to hold component and test
Browse files Browse the repository at this point in the history
In order to have a better organization of the components
and its tests, those should be under a folder with the
same name as the component itsef. Also, some affected
components imports must be corrected to the new path.

Signed-off-by: Carla Martinez <[email protected]>
  • Loading branch information
carma12 committed Jan 7, 2025
1 parent 486047c commit 4a273fc
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 14 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/HostsSections/HostSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
// Data types
import { Host, Metadata } from "../../utils/datatypes/globalDataTypes";
// Forms
import IpaTextArea from "../Form/IpaTextArea";
import IpaTextArea from "../Form/IpaTextArea/IpaTextArea";
import IpaTextInput from "../Form/IpaTextInput";
import IpaCheckbox from "../Form/IpaCheckbox/IpaCheckbox";
import IpaCheckboxes from "../Form/IpaCheckboxes/IpaCheckboxes";
Expand Down
2 changes: 1 addition & 1 deletion src/components/SudoRuleSections/SudoRuleGeneral.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from "react";
import { Form, FormGroup } from "@patternfly/react-core";
// Ipa Components
import IpaTextInput from "../Form/IpaTextInput";
import IpaTextArea from "../Form/IpaTextArea";
import IpaTextArea from "../Form/IpaTextArea/IpaTextArea";
import IpaNumberInput from "../Form/IpaNumberInput/IpaNumberInput";
// Data types
import { Metadata } from "src/utils/datatypes/globalDataTypes";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Configuration/ConfigGroupOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Flex, FlexItem, Form, FormGroup } from "@patternfly/react-core";
// Data types
import { Metadata } from "src/utils/datatypes/globalDataTypes";
// Form
import IpaTextArea from "src/components/Form/IpaTextArea";
import IpaTextArea from "src/components/Form/IpaTextArea/IpaTextArea";
import ConfigObjectclassTable from "./ConfigObjectclassTable";

interface PropsToGroupOptions {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Configuration/ConfigSELinuxOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Form, FormGroup } from "@patternfly/react-core";
// Data types
import { Metadata } from "src/utils/datatypes/globalDataTypes";
// Form
import IpaTextArea from "src/components/Form/IpaTextArea";
import IpaTextArea from "src/components/Form/IpaTextArea/IpaTextArea";
import IpaTextInput from "src/components/Form/IpaTextInput";

interface PropsToSELinuxOptions {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Configuration/ConfigUserOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Metadata } from "src/utils/datatypes/globalDataTypes";
import PopoverWithIconLayout from "src/components/layouts/PopoverWithIconLayout";
// Form
import IpaTextInput from "src/components/Form/IpaTextInput";
import IpaTextArea from "src/components/Form/IpaTextArea";
import IpaTextArea from "src/components/Form/IpaTextArea/IpaTextArea";
import IpaNumberInput from "src/components/Form/IpaNumberInput/IpaNumberInput";
import IpaCheckboxes from "src/components/Form/IpaCheckboxes/IpaCheckboxes";
import IpaCheckbox from "src/components/Form/IpaCheckbox/IpaCheckbox";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/HBACRules/HBACRulesSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
Title,
} from "@patternfly/react-core";
// Forms
import IpaTextArea from "src/components/Form/IpaTextArea";
import IpaTextArea from "src/components/Form/IpaTextArea/IpaTextArea";
import IpaCheckbox from "src/components/Form/IpaCheckbox/IpaCheckbox";
// Layouts
import TitleLayout from "src/components/layouts/TitleLayout";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/HBACServiceGroups/HBACServiceGroupsSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from "react";
// PatternFly
import { Flex, Form, FormGroup } from "@patternfly/react-core";
// Forms
import IpaTextArea from "src/components/Form/IpaTextArea";
import IpaTextArea from "src/components/Form/IpaTextArea/IpaTextArea";
// Layouts
import TitleLayout from "src/components/layouts/TitleLayout";
import SecondaryButton from "src/components/layouts/SecondaryButton";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/HBACServices/HBACServicesSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from "react";
// PatternFly
import { Flex, Form, FormGroup } from "@patternfly/react-core";
// Forms
import IpaTextArea from "src/components/Form/IpaTextArea";
import IpaTextArea from "src/components/Form/IpaTextArea/IpaTextArea";
// Layouts
import TitleLayout from "src/components/layouts/TitleLayout";
import SecondaryButton from "src/components/layouts/SecondaryButton";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/HostGroups/HostGroupsSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from "react";
// PatternFly
import { Flex, Form, FormGroup } from "@patternfly/react-core";
// Forms
import IpaTextArea from "../../components/Form/IpaTextArea";
import IpaTextArea from "../../components/Form/IpaTextArea/IpaTextArea";
// Layouts
import TitleLayout from "src/components/layouts/TitleLayout";
import SecondaryButton from "src/components/layouts/SecondaryButton";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/IDViews/IDViewsSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from "react";
// PatternFly
import { Flex, Form, FormGroup, Icon, Tooltip } from "@patternfly/react-core";
// Forms
import IpaTextArea from "../../components/Form/IpaTextArea";
import IpaTextArea from "../../components/Form/IpaTextArea/IpaTextArea";
import IpaTextInput from "src/components/Form/IpaTextInput";
// Layouts
import TitleLayout from "src/components/layouts/TitleLayout";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Netgroups/NetgroupsSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
TabTitleText,
} from "@patternfly/react-core";
// Forms
import IpaTextArea from "src/components/Form/IpaTextArea";
import IpaTextArea from "src/components/Form/IpaTextArea/IpaTextArea";
import IpaTextInput from "src/components/Form/IpaTextInput";
import IpaCheckbox from "src/components/Form/IpaCheckbox/IpaCheckbox";
// Layouts
Expand Down
2 changes: 1 addition & 1 deletion src/pages/SudoCmdGroups/SudoCmdGroupsSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from "react";
// PatternFly
import { Flex, Form, FormGroup } from "@patternfly/react-core";
// Forms
import IpaTextArea from "src/components/Form/IpaTextArea";
import IpaTextArea from "src/components/Form/IpaTextArea/IpaTextArea";
// Layouts
import TitleLayout from "src/components/layouts/TitleLayout";
import SecondaryButton from "src/components/layouts/SecondaryButton";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/SudoCmds/SudoCmdsSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from "react";
// PatternFly
import { Flex, Form, FormGroup } from "@patternfly/react-core";
// Forms
import IpaTextArea from "src/components/Form/IpaTextArea";
import IpaTextArea from "src/components/Form/IpaTextArea/IpaTextArea";
// Layouts
import TitleLayout from "src/components/layouts/TitleLayout";
import SecondaryButton from "src/components/layouts/SecondaryButton";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/UserGroups/UserGroupsSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
// Modals
import ConfirmationModal from "../../components/modals/ConfirmationModal";
// Forms
import IpaTextArea from "../../components/Form/IpaTextArea";
import IpaTextArea from "../../components/Form/IpaTextArea/IpaTextArea";
import { useNavigate } from "react-router-dom";
// Layouts
import TitleLayout from "src/components/layouts/TitleLayout";
Expand Down

0 comments on commit 4a273fc

Please sign in to comment.