PageSourceSearch

https://atoom.ai/assets/Tasks-C3u_ig0j.js

js atoom.ai collected 2026-10-05 14:23:02 UTC 2,318 bytes, 1 lines download raw bytes

1import{u as t,j as s,B as o,e as a,z as n,ab as c,ac as i,ad as d,ae as l,aA as m}from"./index-BvKM1y6I.js";import{P as p}from"./progress-BmXj1cr2.js";import{A as j}from"./arrow-left-Fteph-RU.js";const x=[{id:"task-001",name:"Prospecting",status:"In Progress",progress:75,projectId:"proj-001",projectName:"Downtown Complex"},{id:"task-002",name:"Digging",status:"In Progress",progress:45,projectId:"proj-001",projectName:"Downtown Complex"},{id:"task-003",name:"Obtaining Permits",status:"Pending Approval",progress:60,projectId:"proj-001",projectName:"Downtown Complex"},{id:"task-004",name:"Foundation Work",status:"Pending",progress:0,projectId:"proj-001",projectName:"Downtown Complex"},{id:"task-005",name:"Electrical Installation",status:"Pending",progress:0,projectId:"proj-001",projectName:"Downtown Complex"}],N=()=>{const{t:r}=t("common");return s.jsx("div",{className:"min-h-screen bg-background p-6",children:s.jsxs("div",{className:"max-w-5xl mx-auto space-y-6",children:[s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx(o,{variant:"ghost",size:"icon",asChild:!0,"aria-label":r("common:a11yBackToProjects"),children:s.jsx(a,{to:"/projects/proj-001",children:s.jsx(j,{className:"h-5 w-5"})})}),s.jsxs("div",{children:[s.jsx("h1",{className:"text-3xl font-bold",children:"All Tasks"}),s.jsx("p",{className:"text-muted-foreground",children:"Manage all project tasks"})]})]}),s.jsxs(n,{children:[s.jsxs(c,{children:[s.jsx(i,{children:"Project Tasks"}),s.jsx(d,{children:"Click on any task to view details and manage subtasks"})]}),s.jsx(l,{className:"space-y-3",children:x.map(e=>s.jsx(a,{to:`/tasks/${e.id}`,children:s.jsxs("div",{className:"p-4 border rounded-lg hover:bg-muted/50 transition-colors space-y-2",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("h3",{className:"font-medium",children:e.name}),s.jsx(m,{variant:e.status==="Completed"?"default":"secondary",className:"text-xs",children:e.status})]}),s.jsxs("span",{className:"text-sm font-medium text-muted-foreground",children:[e.progress,"%"]})]}),s.jsx(p,{value:e.progress,className:"h-2"}),s.jsxs("p",{className:"text-xs text-muted-foreground",children:["Project: ",e.projectName]})]})},e.id))})]})]})})};export{N as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.