repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
Projectflow
stars
latest
clone command
git clone gitlawb://did:key:z6Mkfh4Y...QBEi/projectflowgit clone gitlawb://did:key:z6Mkfh4Y.../projectflowb3cded1async from playground1d ago| #1 | export type Priority = "urgent" | "high" | "medium" | "low" | "none"; |
| #2 | export type IssueType = "task" | "bug" | "feature"; |
| #3 | export type IssueStatus = |
| #4 | | "backlog" |
| #5 | | "todo" |
| #6 | | "in-progress" |
| #7 | | "in-review" |
| #8 | | "done" |
| #9 | | "cancelled"; |
| #10 | export type SprintStatus = "planned" | "active" | "completed"; |
| #11 | export type UserRole = "owner" | "admin" | "member"; |
| #12 | export type ProjectView = "board" | "list" | "backlog" | "sprint" | "calendar"; |
| #13 | |
| #14 | export const ISSUE_STATUS_ORDER: Record<IssueStatus, number> = { |
| #15 | backlog: 0, |
| #16 | todo: 1, |
| #17 | "in-progress": 2, |
| #18 | "in-review": 3, |
| #19 | done: 4, |
| #20 | cancelled: 5, |
| #21 | }; |
| #22 | |
| #23 | export const PRIORITY_ORDER: Record<Priority, number> = { |
| #24 | urgent: 0, |
| #25 | high: 1, |
| #26 | medium: 2, |
| #27 | low: 3, |
| #28 | none: 4, |
| #29 | }; |
| #30 | |
| #31 | export const SPRINT_STATUS_ORDER: Record<SprintStatus, number> = { |
| #32 | active: 0, |
| #33 | planned: 1, |
| #34 | completed: 2, |
| #35 | }; |
| #36 | |
| #37 | export const ISSUE_STATUS_LABELS: Record<IssueStatus, string> = { |
| #38 | backlog: "Backlog", |
| #39 | todo: "Todo", |
| #40 | "in-progress": "In Progress", |
| #41 | "in-review": "In Review", |
| #42 | done: "Done", |
| #43 | cancelled: "Cancelled", |
| #44 | }; |
| #45 | |
| #46 | export const PRIORITY_LABELS: Record<Priority, string> = { |
| #47 | urgent: "Urgent", |
| #48 | high: "High", |
| #49 | medium: "Medium", |
| #50 | low: "Low", |
| #51 | none: "None", |
| #52 | }; |
| #53 | |
| #54 | export const ISSUE_TYPE_ICONS: Record<IssueType, string> = { |
| #55 | task: "○", |
| #56 | bug: "●", |
| #57 | feature: "△", |
| #58 | }; |
| #59 | |
| #60 | export const ISSUE_TYPE_COLORS: Record<IssueType, string> = { |
| #61 | task: "text-zinc-400", |
| #62 | bug: "text-red-400", |
| #63 | feature: "text-indigo-400", |
| #64 | }; |
| #65 |