Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(props): unify priority critical label (#3549)

Seamus745a448df2d4
diff --git a/js/app/packages/entity/src/extractors-property/property-helpers.ts b/js/app/packages/entity/src/extractors-property/property-helpers.ts
index e33ca2dbc3..5aecca58af 100644
--- a/js/app/packages/entity/src/extractors-property/property-helpers.ts
+++ b/js/app/packages/entity/src/extractors-property/property-helpers.ts
@@ -64,7 +64,7 @@ const SYSTEM_PROPERTY_OPTIONS: Record<string, PropertyOption[]> = {
{
id: PROPERTY_OPTION_IDS.PRIORITY.URGENT,
property_definition_id: SYSTEM_PROPERTY_IDS.PRIORITY,
- value: { type: 'string', value: 'Urgent' },
+ value: { type: 'string', value: 'Critical' },
display_order: 3,
created_at: EPOCH_ZERO.toISOString(),
updated_at: EPOCH_ZERO.toISOString(),
diff --git a/js/app/packages/entity/src/utils/task-properties.ts b/js/app/packages/entity/src/utils/task-properties.ts
index 2cf2657a00..aec601d7fd 100644
--- a/js/app/packages/entity/src/utils/task-properties.ts
+++ b/js/app/packages/entity/src/utils/task-properties.ts
@@ -10,7 +10,7 @@ export const TASK_STATUS_OPTIONS = [
] as const;
const TASK_PRIORITY_OPTIONS = [
- { value: PROPERTY_OPTION_IDS.PRIORITY.URGENT, label: 'Urgent' },
+ { value: PROPERTY_OPTION_IDS.PRIORITY.URGENT, label: 'Critical' },
{ value: PROPERTY_OPTION_IDS.PRIORITY.HIGH, label: 'High' },
{ value: PROPERTY_OPTION_IDS.PRIORITY.MEDIUM, label: 'Medium' },
{ value: PROPERTY_OPTION_IDS.PRIORITY.LOW, label: 'Low' },
diff --git a/js/app/packages/property/mocks/mockProperties.ts b/js/app/packages/property/mocks/mockProperties.ts
index 44ad6cc92e..fede5dc637 100644
--- a/js/app/packages/property/mocks/mockProperties.ts
+++ b/js/app/packages/property/mocks/mockProperties.ts
@@ -73,7 +73,7 @@ const priorityOptions: PropertyOption[] = [
{
id: PROPERTY_OPTION_IDS.PRIORITY.URGENT,
property_definition_id: SYSTEM_PROPERTY_IDS.PRIORITY,
- value: { type: 'string', value: 'Urgent' },
+ value: { type: 'string', value: 'Critical' },
display_order: 3,
created_at: EPOCH,
updated_at: EPOCH,