Skip to content

Commit 369ec12

Browse files
committed
moved files againn
1 parent f6a7423 commit 369ec12

36 files changed

+58
-51
lines changed

client/src/features/trainee-profile/components/SidebarJobPath.tsx renamed to client/src/components/SidebarJobPath.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Chip, Stack } from '@mui/material';
2-
import { JobPath, LearningStatus } from '../Trainee';
2+
import { JobPath, LearningStatus } from '../data/types/Trainee';
33

4-
import { SidebarLearningStatus } from '../../../components';
4+
import { SidebarLearningStatus } from '.';
55

66
interface JobPathProps {
77
jobPath: JobPath | string;

client/src/features/trainee-profile/components/SidebarLearningStatus.tsx renamed to client/src/components/SidebarLearningStatus.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Chip } from '@mui/material';
2-
import { LearningStatus } from '../Trainee';
2+
import { LearningStatus } from '../data/types/Trainee';
33

44
interface LearningStatusProps {
55
learningStatus: LearningStatus | undefined;

client/src/components/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ export * from '../features/trainee-profile/profile/components/TraineeProfile';
1111
export * from '../layout/ResponsiveNavBar';
1212
export * from '../features/search/components/SearchBar';
1313
export * from '../features/trainee-profile/profile/ProfileSidebar';
14-
export * from '../features/trainee-profile/components/SidebarJobPath';
15-
export * from '../features/trainee-profile/components/SidebarJobPath';
16-
export * from '../features/trainee-profile/components/SidebarLearningStatus';
14+
export * from './SidebarJobPath';
15+
export * from './SidebarJobPath';
16+
export * from './SidebarLearningStatus';

client/src/features/trainee-profile/Trainee.ts renamed to client/src/data/types/Trainee.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Interaction } from './interactions/Interactions';
1+
import { Interaction } from '../../features/trainee-profile/interactions/Interactions';
22

33
// enums
44
export enum Gender {

client/src/features/trainee-profile/cohorts/Cohorts.ts renamed to client/src/features/cohorts/Cohorts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { LearningStatus } from '../Trainee';
1+
import { LearningStatus } from '../../data/types/Trainee';
22

33
export interface Cohort {
44
cohort: number | null;

client/src/features/trainee-profile/cohorts/CohortsPage.tsx renamed to client/src/features/cohorts/CohortsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ErrorBox, Loader } from '../../../components';
1+
import { ErrorBox, Loader } from '../../components';
22

33
import Box from '@mui/material/Box';
44
import { Cohort } from '../cohorts/Cohorts';

client/src/features/trainee-profile/cohorts/components/CohortAccordion.tsx renamed to client/src/features/cohorts/components/CohortAccordion.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ import EmailIcon from '@mui/icons-material/EmailOutlined';
66
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
77
import GitHubIcon from '@mui/icons-material/GitHub';
88
import IconButton from '@mui/material/IconButton';
9-
import { LearningStatus } from '../../Trainee';
9+
import { LearningStatus } from '../../../data/types/Trainee';
1010
import { Link } from 'react-router-dom';
1111
import LinkedInIcon from '@mui/icons-material/LinkedIn';
12-
import { SidebarJobPath } from '../../components/SidebarJobPath';
13-
import { SidebarLearningStatus } from '../../components/SidebarLearningStatus';
12+
import { SidebarJobPath } from '../../../components';
13+
import { SidebarLearningStatus } from '../../../components/SidebarLearningStatus';
1414
import Table from '@mui/material/Table';
1515
import TableBody from '@mui/material/TableBody';
1616
import TableCell from '@mui/material/TableCell';
1717
import TableHead from '@mui/material/TableHead';
1818
import TableRow from '@mui/material/TableRow';
1919
import { TraineeAvatar } from './TraineeAvatar';
20-
import slackLogo from '../../../../assets/slack.png';
20+
import slackLogo from '../../../assets/slack.png';
2121

2222
export interface CohortAccordionProps {
2323
cohortInfo: Cohort;

client/src/features/trainee-profile/cohorts/components/TraineeAvatar.tsx renamed to client/src/features/cohorts/components/TraineeAvatar.tsx

File renamed without changes.

client/src/features/trainee-profile/cohorts/data/useCohortsData.tsx renamed to client/src/features/cohorts/data/useCohortsData.tsx

File renamed without changes.

client/src/features/trainee-profile/context/useTraineeProfileContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { createContext, useContext } from 'react';
22

33
import { SaveTraineeRequestData } from '../personal-info/data/useTraineeInfoData';
4-
import { Trainee } from '../Trainee';
4+
import { Trainee } from '../../../data/types/Trainee';
55

66
export type TraineeProfileContextType = {
77
traineeId: string;

0 commit comments

Comments
 (0)