mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 22:09:12 +02:00
* chore: bulk operations * chore: archive bulk issues * chore: bulk ops keys changed * chore: bulk delete and archive confirmation modals * style: list layout spacing * chore: create hoc for multi-select groups * chore: update multiple select components * chore: archive, target and start date error messsage * chore: edge case handling * chore: bulk ops in spreadsheet layout * chore: update UI * chore: scroll element into view * fix: shift + arrow navigation * chore: implement bulk ops in the gantt layout * fix: ui bugs * chore: move selection logic to store * fix: group selection * refactor: multiple select store * style: dropdowns UI * fix: bulk assignee and label update mutation * chore: removed migrations * refactor: entities grouping logic * fix performance issue is selection of bulk ops * fix: shift keyboard navigation * fix: group click action * chore: start and target date validation * chore: remove optimistic updates, check archivability in frontend * chore: code optimisation * chore: add store comments * refactor: component fragmentation * style: issue active state --------- Co-authored-by: NarayanBavisetti <narayan3119@gmail.com> Co-authored-by: rahulramesha <rahulramesham@gmail.com>
26 lines
852 B
TypeScript
26 lines
852 B
TypeScript
export enum EErrorCodes {
|
|
"INVALID_ARCHIVE_STATE_GROUP" = 4091,
|
|
"INVALID_ISSUE_START_DATE" = 4101,
|
|
"INVALID_ISSUE_TARGET_DATE" = 4102,
|
|
}
|
|
|
|
export const ERROR_DETAILS: {
|
|
[key in EErrorCodes]: {
|
|
title: string;
|
|
message: string;
|
|
};
|
|
} = {
|
|
[EErrorCodes.INVALID_ARCHIVE_STATE_GROUP]: {
|
|
title: "Unable to archive issues",
|
|
message: "Only issues belonging to Completed or Canceled state groups can be archived.",
|
|
},
|
|
[EErrorCodes.INVALID_ISSUE_START_DATE]: {
|
|
title: "Unable to update issues",
|
|
message: "Start date selected succeeds the due date for some issues. Ensure start date to be before the due date.",
|
|
},
|
|
[EErrorCodes.INVALID_ISSUE_TARGET_DATE]: {
|
|
title: "Unable to update issues",
|
|
message: "Due date selected precedes the start date for some issues. Ensure due date to be after the start date.",
|
|
},
|
|
};
|