diff --git a/.cspell.json b/.cspell.json index c574fe37b..2d252ec5b 100644 --- a/.cspell.json +++ b/.cspell.json @@ -5,6 +5,9 @@ "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json", "words": [ "appdev", + "adipiscing", + "amet", + "aliqua", "signin", "APPSTORE", "barcodes", @@ -19,7 +22,12 @@ "clsxm", "commitlint", "compodoc", + "consectetur", + "dolor", + "dolore", "dummyimage", + "eiusmod", + "elit", "envalid", "everco", "everteamsdesktop", @@ -31,11 +39,14 @@ "heroicons", "Huhn", "icnsutils", + "incididunt", "isdragging", "isdraggingfrom", "isdropdisabled", + "ipsum", "JITSU", "kanban", + "Lorem", "libappindicator", "lucide", "mathieudutour", @@ -56,6 +67,7 @@ "testid", "Timesheet", "tanstack", + "tempor", "vcpu", "Vercel", "HUBSTAFF", @@ -78,6 +90,7 @@ "hyperscript", "nocheck", "locatio", + "labore", "falsey", "unhang", "popperjs", diff --git a/apps/web/components/ui/svgs/circular-progress.tsx b/apps/web/components/ui/svgs/circular-progress.tsx new file mode 100644 index 000000000..cbc79e264 --- /dev/null +++ b/apps/web/components/ui/svgs/circular-progress.tsx @@ -0,0 +1,50 @@ +export default function CircularProgress({ + radius=24, + cx=24, + cy=24, + percentage=55 +}: { + radius?: number, + cx?: number, + cy?: number, + percentage: number +}) { + const circumference = radius * 2 * Math.PI; + + return ( + <> +
+ + + + + + + {percentage}H + +
+ + ) +} \ No newline at end of file diff --git a/apps/web/lib/components/kanban-card.tsx b/apps/web/lib/components/kanban-card.tsx index 23a48cdc7..24cdf4768 100644 --- a/apps/web/lib/components/kanban-card.tsx +++ b/apps/web/lib/components/kanban-card.tsx @@ -2,6 +2,7 @@ import BugIcon from "@components/ui/svgs/bug"; import Image from 'next/image'; import VerticalThreeDot from "@components/ui/svgs/vertical-three-dot"; import { DraggableProvided } from "react-beautiful-dnd"; +import CircularProgress from "@components/ui/svgs/circular-progress"; function getStyle(provided: DraggableProvided, style: any) { if (!style) { @@ -78,9 +79,7 @@ const stackImages = (index: number, length: number) => { * @param props * @returns */ -export default function Item(props: any) { - - +export default function Item(props: any) { const { item, @@ -91,7 +90,7 @@ export default function Item(props: any) { isClone, index, } = props; - + return (
-
-
+
+ -
-

#213

-

{item.content}

+ + #213 + {item.content}
-
+
+ +
diff --git a/apps/web/pages/kanban/index.tsx b/apps/web/pages/kanban/index.tsx index 4e0acecf6..750971d42 100644 --- a/apps/web/pages/kanban/index.tsx +++ b/apps/web/pages/kanban/index.tsx @@ -27,7 +27,7 @@ const Kanban= () => { todo: [ { id: '1', - content: 'demo content', + content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', tags: [ { id: 'tag-1',