2023-09-05 18:07:52 +00:00
|
|
|
export const filtersPriority: { key: string; title: string }[] = [
|
2023-09-08 07:12:09 +00:00
|
|
|
{ key: "urgent", title: "Urgent" },
|
|
|
|
{ key: "high", title: "High" },
|
|
|
|
{ key: "medium", title: "Medium" },
|
|
|
|
{ key: "low", title: "Low" },
|
|
|
|
{ key: "null", title: "None" },
|
2023-09-05 18:07:52 +00:00
|
|
|
];
|
|
|
|
|
2023-09-12 13:45:36 +00:00
|
|
|
export const filterStateGroup: { key: string; title: string }[] = [
|
|
|
|
{ key: "backlog", title: "Backlog" },
|
|
|
|
{ key: "unstarted", title: "Unstarted" },
|
|
|
|
{ key: "started", title: "Started" },
|
|
|
|
{ key: "completed", title: "Completed" },
|
|
|
|
{ key: "cancelled", title: "Cancelled" },
|
|
|
|
];
|
|
|
|
|
|
|
|
export const filtersStartDate: { key: string; title: string }[] = [
|
2023-09-08 07:12:09 +00:00
|
|
|
{ key: "last_week", title: "Last Week" },
|
|
|
|
{ key: "2_weeks_from_now", title: "2 weeks from now" },
|
|
|
|
{ key: "1_month_from_now", title: "1 month from now" },
|
|
|
|
{ key: "2_months_from_now", title: "2 months from now" },
|
|
|
|
{ key: "custom", title: "Custom" },
|
2023-09-05 18:07:52 +00:00
|
|
|
];
|
|
|
|
|
2023-09-12 13:45:36 +00:00
|
|
|
export const filtersDueDate: { key: string; title: string }[] = [
|
2023-09-08 07:12:09 +00:00
|
|
|
{ key: "last_week", title: "Last Week" },
|
|
|
|
{ key: "2_weeks_from_now", title: "2 weeks from now" },
|
|
|
|
{ key: "1_month_from_now", title: "1 month from now" },
|
|
|
|
{ key: "2_months_from_now", title: "2 months from now" },
|
|
|
|
{ key: "custom", title: "Custom" },
|
2023-09-05 18:07:52 +00:00
|
|
|
];
|
|
|
|
|
2023-09-12 13:45:36 +00:00
|
|
|
export const displayPropertyGroupBy: { key: string; title: string }[] = [
|
2023-09-05 18:07:52 +00:00
|
|
|
{ key: "state", title: "States" },
|
|
|
|
{ key: "state_detail.group", title: "State Groups" },
|
|
|
|
{ key: "priority", title: "Priority" },
|
2023-09-12 13:45:36 +00:00
|
|
|
{ key: "Project", title: "project" }, // required this on my issues
|
2023-09-05 18:07:52 +00:00
|
|
|
{ key: "labels", title: "Labels" },
|
|
|
|
{ key: "assignees", title: "Assignees" },
|
|
|
|
{ key: "created_by", title: "Created By" },
|
|
|
|
];
|
|
|
|
|
2023-09-12 13:45:36 +00:00
|
|
|
export const displayPropertyOrderBy: { key: string; title: string }[] = [
|
2023-09-05 18:07:52 +00:00
|
|
|
{ key: "sort_order", title: "Manual" },
|
|
|
|
{ key: "created_at", title: "Last Created" },
|
|
|
|
{ key: "updated_at", title: "Last Updated" },
|
|
|
|
{ key: "start_date", title: "Start Date" },
|
|
|
|
{ key: "priority", title: "Priority" },
|
|
|
|
];
|
|
|
|
|
2023-09-12 13:45:36 +00:00
|
|
|
export const displayPropertyIssueType: { key: string; title: string }[] = [
|
2023-09-05 18:07:52 +00:00
|
|
|
{ key: "all", title: "All" },
|
|
|
|
{ key: "active", title: "Active Issues" },
|
|
|
|
{ key: "backlog", title: "Backlog Issues" },
|
|
|
|
];
|
|
|
|
|
2023-09-12 13:45:36 +00:00
|
|
|
export const displayProperties: { key: string; title: string }[] = [
|
2023-09-05 18:07:52 +00:00
|
|
|
{ key: "assignee", title: "Assignee" },
|
|
|
|
{ key: "start_date", title: "Start Date" },
|
|
|
|
{ key: "due_date", title: "Due Date" },
|
|
|
|
{ key: "key", title: "Id" },
|
|
|
|
{ key: "labels", title: "Labels" },
|
|
|
|
{ key: "priority", title: "Priority" },
|
|
|
|
{ key: "state", title: "State" },
|
|
|
|
{ key: "sub_issue_count", title: "Sub Issue Count" },
|
|
|
|
{ key: "attachment_count", title: "Attachment Count" },
|
|
|
|
{ key: "link", title: "Link" },
|
|
|
|
{ key: "estimate", title: "Estimate" },
|
|
|
|
];
|