Wizard: organize steps components into the "components" folders
This commit is contained in:
parent
1ea1c2de8c
commit
2f034dffd8
26 changed files with 83 additions and 83 deletions
|
|
@ -3,7 +3,7 @@ import React from 'react';
|
|||
import { Button, Content, ContentVariants } from '@patternfly/react-core';
|
||||
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
|
||||
|
||||
import { FILE_SYSTEM_CUSTOMIZATION_URL } from '../../../../constants';
|
||||
import { FILE_SYSTEM_CUSTOMIZATION_URL } from '../../../../../constants';
|
||||
|
||||
const FileSystemAutomaticPartition = () => {
|
||||
return (
|
||||
|
|
@ -12,14 +12,14 @@ import { v4 as uuidv4 } from 'uuid';
|
|||
|
||||
import FileSystemTable from './FileSystemTable';
|
||||
|
||||
import { FILE_SYSTEM_CUSTOMIZATION_URL } from '../../../../constants';
|
||||
import { useAppDispatch, useAppSelector } from '../../../../store/hooks';
|
||||
import { FILE_SYSTEM_CUSTOMIZATION_URL } from '../../../../../constants';
|
||||
import { useAppDispatch, useAppSelector } from '../../../../../store/hooks';
|
||||
import {
|
||||
addPartition,
|
||||
selectImageTypes,
|
||||
selectPartitions,
|
||||
} from '../../../../store/wizardSlice';
|
||||
import UsrSubDirectoriesDisabled from '../../UsrSubDirectoriesDisabled';
|
||||
} from '../../../../../store/wizardSlice';
|
||||
import UsrSubDirectoriesDisabled from '../../../UsrSubDirectoriesDisabled';
|
||||
|
||||
const FileSystemConfiguration = () => {
|
||||
const partitions = useAppSelector(selectPartitions);
|
||||
|
|
@ -2,12 +2,12 @@ import React from 'react';
|
|||
|
||||
import { FormGroup, Label, Radio } from '@patternfly/react-core';
|
||||
|
||||
import { useAppDispatch, useAppSelector } from '../../../../store/hooks';
|
||||
import { useAppDispatch, useAppSelector } from '../../../../../store/hooks';
|
||||
import {
|
||||
changeFileSystemConfigurationType,
|
||||
selectFileSystemConfigurationType,
|
||||
selectComplianceProfileID,
|
||||
} from '../../../../store/wizardSlice';
|
||||
} from '../../../../../store/wizardSlice';
|
||||
|
||||
const FileSystemPartition = () => {
|
||||
const dispatch = useAppDispatch();
|
||||
|
|
@ -25,8 +25,8 @@ import {
|
|||
Td,
|
||||
} from '@patternfly/react-table';
|
||||
|
||||
import { UNIT_GIB, UNIT_KIB, UNIT_MIB } from '../../../../constants';
|
||||
import { useAppDispatch, useAppSelector } from '../../../../store/hooks';
|
||||
import { UNIT_GIB, UNIT_KIB, UNIT_MIB } from '../../../../../constants';
|
||||
import { useAppDispatch, useAppSelector } from '../../../../../store/hooks';
|
||||
import {
|
||||
changePartitionMinSize,
|
||||
changePartitionMountpoint,
|
||||
|
|
@ -34,9 +34,9 @@ import {
|
|||
changePartitionUnit,
|
||||
removePartition,
|
||||
selectPartitions,
|
||||
} from '../../../../store/wizardSlice';
|
||||
import { useFilesystemValidation } from '../../utilities/useValidation';
|
||||
import { ValidatedInputAndTextArea } from '../../ValidatedInput';
|
||||
} from '../../../../../store/wizardSlice';
|
||||
import { useFilesystemValidation } from '../../../utilities/useValidation';
|
||||
import { ValidatedInputAndTextArea } from '../../../ValidatedInput';
|
||||
|
||||
export const FileSystemContext = React.createContext<boolean>(true);
|
||||
|
||||
|
|
@ -2,9 +2,9 @@ import React from 'react';
|
|||
|
||||
import { Content, Form, Title } from '@patternfly/react-core';
|
||||
|
||||
import FileSystemAutomaticPartition from './FileSystemAutomaticPartitionInformation';
|
||||
import FileSystemConfiguration from './FileSystemConfiguration';
|
||||
import FileSystemPartition from './FileSystemPartition';
|
||||
import FileSystemAutomaticPartition from './components/FileSystemAutomaticPartitionInformation';
|
||||
import FileSystemConfiguration from './components/FileSystemConfiguration';
|
||||
import FileSystemPartition from './components/FileSystemPartition';
|
||||
|
||||
import { useAppSelector } from '../../../../store/hooks';
|
||||
import { selectFileSystemConfigurationType } from '../../../../store/wizardSlice';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue