Step 3: Overview page + filters + events
Add real data, reusable components, filters with query params, and event-driven updates.
1. Define shared models and data
export type Task = {
id: string;
title: string;
done: boolean;
};
export type Project = {
id: string;
name: string;
tasks: Task[];
};import { Project } from './models';
export const PROJECTS: Project[] = [
{
id: 'alpha',
name: 'Onboarding',
tasks: [
{ id: 'alpha-1', title: 'Create welcome pack', done: false },
{ id: 'alpha-2', title: 'Schedule kickoff', done: false }
]
},
{
id: 'beta',
name: 'Release prep',
tasks: [
{ id: 'beta-1', title: 'Finalize changelog', done: true },
{ id: 'beta-2', title: 'QA smoke test', done: false }
]
}
];2. Build reusable components
3. Replace the Overview page with real behavior
4. Replace the Activity page with real data
Last updated
Was this helpful?