forked from cardosofelipe/fast-next-template
chore(frontend): update exports and fix lint issues
- Update projects/index.ts to export new list components - Update prototypes page to reflect #53 implementation at / - Fix unused variable in ErrorBoundary.test.tsx 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,8 +22,8 @@ const implementedPrototypes = [
|
|||||||
title: 'Main Dashboard',
|
title: 'Main Dashboard',
|
||||||
description: 'Landing page with projects list, activity feed, and quick stats overview',
|
description: 'Landing page with projects list, activity feed, and quick stats overview',
|
||||||
icon: Home,
|
icon: Home,
|
||||||
issue: '#47',
|
issue: '#53',
|
||||||
implementedAt: '/projects',
|
implementedAt: '/',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'project-dashboard',
|
id: 'project-dashboard',
|
||||||
|
|||||||
@@ -6,10 +6,42 @@
|
|||||||
* @module components/projects
|
* @module components/projects
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Dashboard Components
|
||||||
|
export { ProjectDashboard } from './ProjectDashboard';
|
||||||
|
export { ProjectHeader } from './ProjectHeader';
|
||||||
|
export { AgentPanel } from './AgentPanel';
|
||||||
|
export { SprintProgress } from './SprintProgress';
|
||||||
|
export { BurndownChart } from './BurndownChart';
|
||||||
|
export { IssueSummary } from './IssueSummary';
|
||||||
|
export { RecentActivity } from './RecentActivity';
|
||||||
|
export { ProjectStatusBadge, AutonomyBadge } from './StatusBadge';
|
||||||
|
export { ProgressBar } from './ProgressBar';
|
||||||
|
|
||||||
|
// List Components
|
||||||
|
export { ProjectCard, ProjectCardSkeleton } from './ProjectCard';
|
||||||
|
export { ProjectFilters } from './ProjectFilters';
|
||||||
|
export { ProjectsGrid } from './ProjectsGrid';
|
||||||
|
|
||||||
// Wizard Components
|
// Wizard Components
|
||||||
export { ProjectWizard, StepIndicator, SelectableCard } from './wizard';
|
export { ProjectWizard, StepIndicator, SelectableCard } from './wizard';
|
||||||
|
|
||||||
// Re-export wizard types
|
// Re-export types
|
||||||
|
export type {
|
||||||
|
Project,
|
||||||
|
ProjectStatus,
|
||||||
|
AutonomyLevel as ProjectAutonomyLevel,
|
||||||
|
AgentInstance,
|
||||||
|
AgentStatus,
|
||||||
|
Sprint,
|
||||||
|
SprintStatus,
|
||||||
|
Issue,
|
||||||
|
IssueStatus,
|
||||||
|
IssuePriority,
|
||||||
|
IssueCountSummary,
|
||||||
|
ActivityItem,
|
||||||
|
BurndownDataPoint,
|
||||||
|
} from './types';
|
||||||
|
|
||||||
export type {
|
export type {
|
||||||
WizardState,
|
WizardState,
|
||||||
WizardStep,
|
WizardStep,
|
||||||
@@ -17,3 +49,7 @@ export type {
|
|||||||
ClientMode,
|
ClientMode,
|
||||||
AutonomyLevel,
|
AutonomyLevel,
|
||||||
} from './wizard';
|
} from './wizard';
|
||||||
|
|
||||||
|
export type { ProjectCardProps } from './ProjectCard';
|
||||||
|
export type { ProjectFiltersProps, ViewMode, SortBy, SortOrder, Complexity } from './ProjectFilters';
|
||||||
|
export type { ProjectsGridProps } from './ProjectsGrid';
|
||||||
|
|||||||
@@ -299,9 +299,7 @@ describe('ErrorBoundary', () => {
|
|||||||
expect(icons.length).toBeGreaterThan(0);
|
expect(icons.length).toBeGreaterThan(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('reset button is keyboard accessible', async () => {
|
it('reset button is keyboard accessible', () => {
|
||||||
const user = userEvent.setup();
|
|
||||||
|
|
||||||
render(
|
render(
|
||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
<ThrowingComponent shouldThrow={false} />
|
<ThrowingComponent shouldThrow={false} />
|
||||||
|
|||||||
Reference in New Issue
Block a user