forked from github/plane
1e152c666c
* chore: moved app & space from apps to root * chore: modified workspace configuration * chore: modified dockerfiles for space and web * chore: modified icons for space * feat: updated files for new svg icons supported by next-images * chore: added /spaces base path for next * chore: added compose config for space * chore: updated husky configuration * chore: updated workflows for new configuration * chore: changed app name to web * fix: resolved build errors with web * chore: reset file tracing root for both projects * chore: added nginx config for deploy * fix: eslint and tsconfig settings for space app * husky setup fixes based on new dir * eslint fixes * prettier formatting --------- Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
87 lines
1.8 KiB
TypeScript
87 lines
1.8 KiB
TypeScript
import {
|
|
CalendarDaysIcon,
|
|
PlayIcon,
|
|
Squares2X2Icon,
|
|
TagIcon,
|
|
UserGroupIcon,
|
|
} from "@heroicons/react/24/outline";
|
|
|
|
export const SPREADSHEET_COLUMN = [
|
|
{
|
|
propertyName: "title",
|
|
colName: "Title",
|
|
colSize: "440px",
|
|
},
|
|
{
|
|
propertyName: "state",
|
|
colName: "State",
|
|
colSize: "128px",
|
|
icon: Squares2X2Icon,
|
|
ascendingOrder: "state__name",
|
|
descendingOrder: "-state__name",
|
|
},
|
|
{
|
|
propertyName: "priority",
|
|
colName: "Priority",
|
|
colSize: "128px",
|
|
ascendingOrder: "priority",
|
|
descendingOrder: "-priority",
|
|
},
|
|
{
|
|
propertyName: "assignee",
|
|
colName: "Assignees",
|
|
colSize: "128px",
|
|
icon: UserGroupIcon,
|
|
ascendingOrder: "assignees__id",
|
|
descendingOrder: "-assignees__id",
|
|
},
|
|
{
|
|
propertyName: "labels",
|
|
colName: "Labels",
|
|
colSize: "128px",
|
|
icon: TagIcon,
|
|
ascendingOrder: "labels__name",
|
|
descendingOrder: "-labels__name",
|
|
},
|
|
{
|
|
propertyName: "start_date",
|
|
colName: "Start Date",
|
|
colSize: "128px",
|
|
icon: CalendarDaysIcon,
|
|
ascendingOrder: "-start_date",
|
|
descendingOrder: "start_date",
|
|
},
|
|
{
|
|
propertyName: "due_date",
|
|
colName: "Due Date",
|
|
colSize: "128px",
|
|
icon: CalendarDaysIcon,
|
|
ascendingOrder: "-target_date",
|
|
descendingOrder: "target_date",
|
|
},
|
|
{
|
|
propertyName: "estimate",
|
|
colName: "Estimate",
|
|
colSize: "128px",
|
|
icon: PlayIcon,
|
|
ascendingOrder: "estimate_point",
|
|
descendingOrder: "-estimate_point",
|
|
},
|
|
{
|
|
propertyName: "created_on",
|
|
colName: "Created On",
|
|
colSize: "144px",
|
|
icon: CalendarDaysIcon,
|
|
ascendingOrder: "-created_at",
|
|
descendingOrder: "created_at",
|
|
},
|
|
{
|
|
propertyName: "updated_on",
|
|
colName: "Updated On",
|
|
colSize: "144px",
|
|
icon: CalendarDaysIcon,
|
|
ascendingOrder: "-updated_at",
|
|
descendingOrder: "updated_at",
|
|
},
|
|
];
|