Time Limit: 45 minutes
Level: Senior Front-end Engineer
Build a task management dashboard that displays tasks from provided mock data with filtering, sorting, and status toggle functionality.
conditionally render on the value of a filter string; buttons onclikc change the value of teh filter string 2. Filter by Status
Filter by Priority
Sort Tasks
Toggle Task Status
todo → in-progress → done → todoTask Summary
| Area | What We're Looking For |
|---|---|
| State Management | Appropriate use of stores, derived state, local state |
| Reactivity | Correct use of $:, subscriptions, no unnecessary re-renders |
| Component Design | Clean separation, props/events, reusability |
| Code Quality | Readable, minimal duplication, clear naming |
| UX Polish | Loading states, empty states, visual feedback |
npm install
npm run dev
Mock data is available at src/data/tasks.json — import it directly.
Each task has the following shape:
{
id: "1",
title: "Design new landing page",
status: "todo" | "in-progress" | "done",
priority: "low" | "medium" | "high",
assignee: "Alice Chen",
dueDate: "2026-03-01"
}
Ensure the app runs without errors.
Good luck!