Skip to content

Commit d4a2ed2

Browse files
authored
Merge pull request #57 from cortex-reply/fix/project
fix: applies fix on foundary kanban view
2 parents 60b749f + 59f651a commit d4a2ed2

22 files changed

Lines changed: 707 additions & 546 deletions

src/components/Foundary/DigitalColleageusLayout.stories.tsx renamed to src/components/Foundary/FoundaryLayout.stories.tsx

File renamed without changes.
File renamed without changes.

src/components/Foundary/Pages/dashboardpage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { useState } from 'react'
44
import { motion, AnimatePresence } from 'motion/react'
55
import { Bot } from 'lucide-react'
6-
import { DigitalColleageusLayout } from '../DigitalColleageusLayout'
6+
import { DigitalColleageusLayout } from '../FoundaryLayout'
77
import { DashboardHero } from '../../Heros/DashboardHero'
88
import { AppCard } from '../../.archive/app-card'
99
import { FileList } from '../../Projects/file-list'

src/components/Foundary/Views/ColleaguesView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import { NavigationTabs, type TabOption } from '../../AdvancedComponents/navigat
1616
import { ColleagueCard } from '../colleague-card'
1717
import { ColleagueForm } from '../colleague-form'
1818
import { UserSelection } from '../../AdvancedComponents/user-selection'
19-
import { DigitalColleagueClone } from '../digital-colleague-clone'
19+
import { DigitalColleagueClone } from '../foundary-clone'
2020
import { ColleagueTypeSelection } from '../colleague-type-selection'
21-
import { DigitalColleagueOptions } from '../digital-colleague-options'
21+
import { DigitalColleagueOptions } from '../foundary-options'
2222
import {
2323
HumanColleague,
2424
TypedDigitalColleague,

src/components/Foundary/digital-colleague-clone.stories.tsx renamed to src/components/Foundary/foundary-clone.stories.tsx

File renamed without changes.
File renamed without changes.

src/components/Foundary/digital-colleague-options.stories.tsx renamed to src/components/Foundary/foundary-options.stories.tsx

File renamed without changes.
File renamed without changes.

src/components/Foundary/index.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
// Main Components
2-
export { AppSidebarLeft } from './AppSidebarLeft';
3-
export { DashboardHeader } from './DashboardHeader';
4-
export { DigitalColleageusLayout } from './DigitalColleageusLayout';
5-
export { default as MainPage } from './MainPage';
6-
export { ManagementSidebar } from './ManagementSidebar';
7-
export { SearchableSelect } from './SearchableSelect';
2+
export { AppSidebarLeft } from './AppSidebarLeft'
3+
export { DashboardHeader } from './DashboardHeader'
4+
export { DigitalColleageusLayout } from './FoundaryLayout'
5+
export { default as MainPage } from './MainPage'
6+
export { ManagementSidebar } from './ManagementSidebar'
7+
export { SearchableSelect } from './SearchableSelect'
88

99
// Colleague Components
10-
export { ColleagueCard } from './colleague-card';
11-
export { ColleagueForm } from './colleague-form';
12-
export { ColleagueTypeSelection } from './colleague-type-selection';
13-
export { DigitalColleagueClone } from './digital-colleague-clone';
14-
export { DigitalColleagueOptions } from './digital-colleague-options';
15-
export { TeamForm } from './team-form';
10+
export { ColleagueCard } from './colleague-card'
11+
export { ColleagueForm } from './colleague-form'
12+
export { ColleagueTypeSelection } from './colleague-type-selection'
13+
export { DigitalColleagueClone } from './foundary-clone'
14+
export { DigitalColleagueOptions } from './foundary-options'
15+
export { TeamForm } from './team-form'
1616

1717
// Pages
18-
export { default as DashboardPage } from './Pages/dashboardpage';
18+
export { default as DashboardPage } from './Pages/dashboardpage'
1919

2020
// Views
21-
export * from './Views';
21+
export * from './Views'
2222

2323
// Knowledge Components
24-
export { KnowledgeBrowser } from './knowledge-browser';
25-
export { DocumentPreview } from './document-preview';
26-
export { DocumentEdit } from './document-edit';
27-
export { KnowledgeSearch } from './knowledge-search';
24+
export { KnowledgeBrowser } from './knowledge-browser'
25+
export { DocumentPreview } from './document-preview'
26+
export { DocumentEdit } from './document-edit'
27+
export { KnowledgeSearch } from './knowledge-search'
2828

2929
// Types and Test Data
3030
// export * from './types';
31-
// export * from './test-data';
31+
// export * from './test-data';

src/components/Projects/AddEpicModal.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
SelectTrigger,
1818
SelectValue,
1919
} from '@/components/ui/select'
20-
import { Epic } from '../DigitalColleagues/types'
20+
import { Epic } from '../Foundary/types'
2121

2222
interface AddEpicModalProps {
2323
isOpen: boolean
@@ -71,10 +71,12 @@ export const AddEpicModal: React.FC<AddEpicModalProps> = ({ isOpen, onClose, onA
7171
color: formData.color,
7272
confidence: formData.confidence,
7373
phase: formData.phase,
74-
startDate: new Date(formData.startDate),
75-
endDate: new Date(formData.endDate),
76-
progress: formData.progress,
77-
isSelected: true,
74+
startDate: formData.startDate,
75+
endDate: formData.endDate,
76+
createdAt: new Date().toISOString(),
77+
updatedAt: new Date().toISOString(),
78+
// progress: formData.progress,
79+
// isSelected: true,
7880
})
7981
setFormData({
8082
name: '',

0 commit comments

Comments
 (0)