From 34b8ba3040f092462d7c149429f013c0f965f7df Mon Sep 17 00:00:00 2001 From: tintinthong Date: Mon, 6 Jan 2025 11:16:29 -0500 Subject: [PATCH] Adjust work tracker based upon chris request (#2000) * WorkTask to SprintTask * WorkTracker to SprintPlanner * Rename stale work tracker display names * edit group description radio input * rename display name work task to sprint task * rename children to subtasks * rename files work-tracker to sprint-planner * rename folder * point to correct code ref * point to correct code ref * rename class name * add todo card * let task inherit todo card * rename fields to be generically applicable to todo * rename taskName -> name * rename taskDetail to details * update crm task to have account field as a linksTo * Add a todo instance * stale renaming of classes * remove loosegoosey that wrongly inherits and fix all instances for fidelity * Fix data for Task instance * adjust squareness of completion status --- ...{work-tracker.json => sprint-planner.json} | 8 +-- .../CatalogEntry/sprint-task.json | 20 +++++++ .../experiments-realm/CatalogEntry/task.json | 20 +++++++ .../experiments-realm/CatalogEntry/todo.json | 20 +++++++ .../51ca069b-1c55-4648-8654-bd82bf162f9d.json | 4 +- .../6bacffa6-952f-4c49-b0e3-ad0e5bf4f899.json | 6 +- .../89209d31-328a-4c18-9758-53eb3c38d4f0.json | 6 +- .../10402eaa-3826-4602-994b-60b7506fb98d.json | 19 ++++--- .../186c797c-cee8-449c-a5a7-6624052deefc.json | 32 ++++++----- .../1b1fb4fd-d722-4cf9-a956-66fc64ccbc48.json | 35 +++++++----- .../20058a9d-3c2d-4b42-8430-a95b6183245c.json | 32 ++++++----- .../346cc7ac-eb65-41fd-a1d7-0400668da097.json | 32 ++++++----- .../3cd737c3-4157-46be-9880-6ead8ea60652.json | 22 ++++---- .../48630c9d-2849-43d1-b356-890b016fffe9.json | 30 +++++----- .../7d92636a-e306-4433-93c5-3b5d976986f3.json | 34 +++++------ .../8ca45d40-adcb-437f-83ee-07ffd973cd17.json | 19 ++++--- .../9b0425f9-ac54-44a4-8cfb-1774442490ea.json | 23 ++++---- .../9e23b8b5-d541-48ef-a652-e7afefb29777.json | 30 +++++----- .../bb4323d6-1ea4-40d0-a039-85d13e55d4a6.json | 19 ++++--- .../c734e2c7-71d9-446e-a2c1-e6e930fcee55.json | 23 ++++---- .../d21d407b-9c1c-4204-a3bb-7b91f9260017.json | 23 ++++---- .../d8ce7466-3693-4d54-8931-8ccd25ca079f.json | 32 ++++++----- .../f81ea9a1-0b94-4e12-8e2e-c84fba78c551.json | 26 +++++---- .../c0bf3231-435c-4363-ad92-a1d756aea8d9.json | 12 ++-- .../959133bc-c472-4cf7-ba6f-1c5b03979eba.json | 18 ++++++ .../b6263b50-18e7-4830-9049-44fb2a7b3e84.json | 56 ------------------- packages/experiments-realm/crm/task.gts | 2 + .../productivity/filter-dropdown.gts | 4 +- .../experiments-realm/productivity/task.gts | 40 ++++++------- .../{work-tracker.gts => sprint-planner.gts} | 36 ++++++------ packages/experiments-realm/task.gts | 46 +++++++-------- packages/experiments-realm/todo.gts | 13 +++++ .../ember-concurrency-async-plugin/index.js | 10 ++-- 33 files changed, 413 insertions(+), 339 deletions(-) rename packages/experiments-realm/CatalogEntry/{work-tracker.json => sprint-planner.json} (60%) create mode 100644 packages/experiments-realm/CatalogEntry/sprint-task.json create mode 100644 packages/experiments-realm/CatalogEntry/task.json create mode 100644 packages/experiments-realm/CatalogEntry/todo.json rename packages/experiments-realm/{WorkTracker => SprintPlanner}/6bacffa6-952f-4c49-b0e3-ad0e5bf4f899.json (87%) rename packages/experiments-realm/{WorkTracker => SprintPlanner}/89209d31-328a-4c18-9758-53eb3c38d4f0.json (87%) rename packages/experiments-realm/{WorkTask => SprintTask}/10402eaa-3826-4602-994b-60b7506fb98d.json (86%) rename packages/experiments-realm/{WorkTask => SprintTask}/186c797c-cee8-449c-a5a7-6624052deefc.json (81%) rename packages/experiments-realm/{WorkTask => SprintTask}/1b1fb4fd-d722-4cf9-a956-66fc64ccbc48.json (71%) rename packages/experiments-realm/{WorkTask => SprintTask}/20058a9d-3c2d-4b42-8430-a95b6183245c.json (78%) rename packages/experiments-realm/{WorkTask => SprintTask}/346cc7ac-eb65-41fd-a1d7-0400668da097.json (79%) rename packages/experiments-realm/{WorkTask => SprintTask}/3cd737c3-4157-46be-9880-6ead8ea60652.json (81%) rename packages/experiments-realm/{WorkTask => SprintTask}/48630c9d-2849-43d1-b356-890b016fffe9.json (81%) rename packages/experiments-realm/{WorkTask => SprintTask}/7d92636a-e306-4433-93c5-3b5d976986f3.json (82%) rename packages/experiments-realm/{WorkTask => SprintTask}/8ca45d40-adcb-437f-83ee-07ffd973cd17.json (81%) rename packages/experiments-realm/{WorkTask => SprintTask}/9b0425f9-ac54-44a4-8cfb-1774442490ea.json (81%) rename packages/experiments-realm/{WorkTask => SprintTask}/9e23b8b5-d541-48ef-a652-e7afefb29777.json (81%) rename packages/experiments-realm/{WorkTask => SprintTask}/bb4323d6-1ea4-40d0-a039-85d13e55d4a6.json (85%) rename packages/experiments-realm/{WorkTask => SprintTask}/c734e2c7-71d9-446e-a2c1-e6e930fcee55.json (77%) rename packages/experiments-realm/{WorkTask => SprintTask}/d21d407b-9c1c-4204-a3bb-7b91f9260017.json (82%) rename packages/experiments-realm/{WorkTask => SprintTask}/d8ce7466-3693-4d54-8931-8ccd25ca079f.json (82%) rename packages/experiments-realm/{WorkTask => SprintTask}/f81ea9a1-0b94-4e12-8e2e-c84fba78c551.json (76%) create mode 100644 packages/experiments-realm/Todo/959133bc-c472-4cf7-ba6f-1c5b03979eba.json delete mode 100644 packages/experiments-realm/WorkTask/b6263b50-18e7-4830-9049-44fb2a7b3e84.json rename packages/experiments-realm/{work-tracker.gts => sprint-planner.gts} (95%) create mode 100644 packages/experiments-realm/todo.gts diff --git a/packages/experiments-realm/CatalogEntry/work-tracker.json b/packages/experiments-realm/CatalogEntry/sprint-planner.json similarity index 60% rename from packages/experiments-realm/CatalogEntry/work-tracker.json rename to packages/experiments-realm/CatalogEntry/sprint-planner.json index 5b5dbf7261..79253670da 100644 --- a/packages/experiments-realm/CatalogEntry/work-tracker.json +++ b/packages/experiments-realm/CatalogEntry/sprint-planner.json @@ -2,12 +2,12 @@ "data": { "type": "card", "attributes": { - "title": "Work Tracker", - "description": "Catalog entry for Work Tracker App card", + "title": "Sprint Planner", + "description": "Catalog entry for Sprint Planner App card", "isField": false, "ref": { - "module": "../work-tracker", - "name": "WorkTracker" + "module": "../sprint-planner", + "name": "SprintPlanner" } }, "meta": { diff --git a/packages/experiments-realm/CatalogEntry/sprint-task.json b/packages/experiments-realm/CatalogEntry/sprint-task.json new file mode 100644 index 0000000000..1725e33d70 --- /dev/null +++ b/packages/experiments-realm/CatalogEntry/sprint-task.json @@ -0,0 +1,20 @@ +{ + "data": { + "type": "card", + "attributes": { + "title": "Sprint Task", + "description": "Catalog entry for Sprint Task", + "ref": { + "name": "SprintTask", + "module": "../sprint-task" + }, + "isField": false + }, + "meta": { + "adoptsFrom": { + "module": "https://cardstack.com/base/catalog-entry", + "name": "CatalogEntry" + } + } + } +} diff --git a/packages/experiments-realm/CatalogEntry/task.json b/packages/experiments-realm/CatalogEntry/task.json new file mode 100644 index 0000000000..be66653e3c --- /dev/null +++ b/packages/experiments-realm/CatalogEntry/task.json @@ -0,0 +1,20 @@ +{ + "data": { + "type": "card", + "attributes": { + "title": "Task", + "description": "Catalog entry for Task", + "ref": { + "name": "Task", + "module": "../task" + }, + "isField": false + }, + "meta": { + "adoptsFrom": { + "module": "https://cardstack.com/base/catalog-entry", + "name": "CatalogEntry" + } + } + } +} diff --git a/packages/experiments-realm/CatalogEntry/todo.json b/packages/experiments-realm/CatalogEntry/todo.json new file mode 100644 index 0000000000..a8e6108852 --- /dev/null +++ b/packages/experiments-realm/CatalogEntry/todo.json @@ -0,0 +1,20 @@ +{ + "data": { + "type": "card", + "attributes": { + "title": "Todo", + "description": "Catalog entry for Todo", + "ref": { + "name": "Todo", + "module": "../todo" + }, + "isField": false + }, + "meta": { + "adoptsFrom": { + "module": "https://cardstack.com/base/catalog-entry", + "name": "CatalogEntry" + } + } + } +} diff --git a/packages/experiments-realm/Project/51ca069b-1c55-4648-8654-bd82bf162f9d.json b/packages/experiments-realm/Project/51ca069b-1c55-4648-8654-bd82bf162f9d.json index 9bcefa92bf..d157f084e8 100644 --- a/packages/experiments-realm/Project/51ca069b-1c55-4648-8654-bd82bf162f9d.json +++ b/packages/experiments-realm/Project/51ca069b-1c55-4648-8654-bd82bf162f9d.json @@ -2,7 +2,7 @@ "data": { "type": "card", "attributes": { - "name": "Work Tracker", + "name": "Build Work Tracker", "description": null, "thumbnailURL": null }, @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/experiments-realm/WorkTracker/6bacffa6-952f-4c49-b0e3-ad0e5bf4f899.json b/packages/experiments-realm/SprintPlanner/6bacffa6-952f-4c49-b0e3-ad0e5bf4f899.json similarity index 87% rename from packages/experiments-realm/WorkTracker/6bacffa6-952f-4c49-b0e3-ad0e5bf4f899.json rename to packages/experiments-realm/SprintPlanner/6bacffa6-952f-4c49-b0e3-ad0e5bf4f899.json index d2fdf8c079..70c134e6fe 100644 --- a/packages/experiments-realm/WorkTracker/6bacffa6-952f-4c49-b0e3-ad0e5bf4f899.json +++ b/packages/experiments-realm/SprintPlanner/6bacffa6-952f-4c49-b0e3-ad0e5bf4f899.json @@ -23,9 +23,9 @@ }, "meta": { "adoptsFrom": { - "module": "../work-tracker", - "name": "WorkTracker" + "module": "../sprint-planner", + "name": "SprintPlanner" } } } -} \ No newline at end of file +} diff --git a/packages/experiments-realm/WorkTracker/89209d31-328a-4c18-9758-53eb3c38d4f0.json b/packages/experiments-realm/SprintPlanner/89209d31-328a-4c18-9758-53eb3c38d4f0.json similarity index 87% rename from packages/experiments-realm/WorkTracker/89209d31-328a-4c18-9758-53eb3c38d4f0.json rename to packages/experiments-realm/SprintPlanner/89209d31-328a-4c18-9758-53eb3c38d4f0.json index 2d0d701843..98ca79b863 100644 --- a/packages/experiments-realm/WorkTracker/89209d31-328a-4c18-9758-53eb3c38d4f0.json +++ b/packages/experiments-realm/SprintPlanner/89209d31-328a-4c18-9758-53eb3c38d4f0.json @@ -23,9 +23,9 @@ }, "meta": { "adoptsFrom": { - "module": "../work-tracker", - "name": "WorkTracker" + "module": "../sprint-planner", + "name": "SprintPlanner" } } } -} \ No newline at end of file +} diff --git a/packages/experiments-realm/WorkTask/10402eaa-3826-4602-994b-60b7506fb98d.json b/packages/experiments-realm/SprintTask/10402eaa-3826-4602-994b-60b7506fb98d.json similarity index 86% rename from packages/experiments-realm/WorkTask/10402eaa-3826-4602-994b-60b7506fb98d.json rename to packages/experiments-realm/SprintTask/10402eaa-3826-4602-994b-60b7506fb98d.json index 62f4111f4d..ef2612133e 100644 --- a/packages/experiments-realm/WorkTask/10402eaa-3826-4602-994b-60b7506fb98d.json +++ b/packages/experiments-realm/SprintTask/10402eaa-3826-4602-994b-60b7506fb98d.json @@ -2,21 +2,22 @@ "data": { "type": "card", "attributes": { - "priority": { - "index": 1, - "label": "Medium" - }, "status": { "completed": false, "index": 1, - "label": "Next Sprint" + "label": "Next Sprint", + "color": "#64B5F6" }, - "taskName": "Pill Picker Example", "dateRange": { "start": "2024-12-08", "end": "2024-12-10" }, - "taskDetail": "Use multi-select but for pills", + "priority": { + "index": 1, + "label": "Medium" + }, + "name": "Pill Picker Example", + "details": "Use multi-select but for pills", "description": null, "thumbnailURL": null }, @@ -31,7 +32,7 @@ "self": "../Team/cc574556-4253-44b8-ba80-0cfb844b4908" } }, - "children": { + "subtasks": { "links": { "self": null } @@ -60,7 +61,7 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } diff --git a/packages/experiments-realm/WorkTask/186c797c-cee8-449c-a5a7-6624052deefc.json b/packages/experiments-realm/SprintTask/186c797c-cee8-449c-a5a7-6624052deefc.json similarity index 81% rename from packages/experiments-realm/WorkTask/186c797c-cee8-449c-a5a7-6624052deefc.json rename to packages/experiments-realm/SprintTask/186c797c-cee8-449c-a5a7-6624052deefc.json index ac55ab1384..a807236011 100644 --- a/packages/experiments-realm/WorkTask/186c797c-cee8-449c-a5a7-6624052deefc.json +++ b/packages/experiments-realm/SprintTask/186c797c-cee8-449c-a5a7-6624052deefc.json @@ -2,29 +2,26 @@ "data": { "type": "card", "attributes": { - "taskName": "Pair with Lucas to complete demo", - "taskDetail": "By Tuesday, we should have a demo that completes everything", "status": { + "completed": false, "index": 2, - "label": "Current Sprint" - }, - "priority": { - "index": null, - "label": null + "label": "Current Sprint", + "color": "#00BCD4" }, "dateRange": { "start": "2024-10-09", "end": "2024-10-11" }, + "priority": { + "index": null, + "label": null + }, + "name": "Pair with Lucas to complete demo", + "details": "By Tuesday, we should have a demo that completes everything", "description": null, "thumbnailURL": null }, "relationships": { - "assignee": { - "links": { - "self": "../TeamMember/f832cfb6-959e-4d0d-bc83-8712a36a910a" - } - }, "project": { "links": { "self": "../Project/51ca069b-1c55-4648-8654-bd82bf162f9d" @@ -35,16 +32,21 @@ "self": "../Team/cc574556-4253-44b8-ba80-0cfb844b4908" } }, - "children.0": { + "subtasks.0": { "links": { "self": "./20058a9d-3c2d-4b42-8430-a95b6183245c" } }, - "children.1": { + "subtasks.1": { "links": { "self": "./9e23b8b5-d541-48ef-a652-e7afefb29777" } }, + "assignee": { + "links": { + "self": "../TeamMember/f832cfb6-959e-4d0d-bc83-8712a36a910a" + } + }, "tags.0": { "links": { "self": "../Tag/6b8446c8-b185-4de9-ba81-88f8b9eee7f5" @@ -59,7 +61,7 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } diff --git a/packages/experiments-realm/WorkTask/1b1fb4fd-d722-4cf9-a956-66fc64ccbc48.json b/packages/experiments-realm/SprintTask/1b1fb4fd-d722-4cf9-a956-66fc64ccbc48.json similarity index 71% rename from packages/experiments-realm/WorkTask/1b1fb4fd-d722-4cf9-a956-66fc64ccbc48.json rename to packages/experiments-realm/SprintTask/1b1fb4fd-d722-4cf9-a956-66fc64ccbc48.json index 600cfb6248..6f18fdfbf4 100644 --- a/packages/experiments-realm/WorkTask/1b1fb4fd-d722-4cf9-a956-66fc64ccbc48.json +++ b/packages/experiments-realm/SprintTask/1b1fb4fd-d722-4cf9-a956-66fc64ccbc48.json @@ -2,29 +2,31 @@ "data": { "type": "card", "attributes": { - "taskName": "Embedded Template for Status and Priority", - "taskDetail": null, "status": { + "completed": false, "index": 2, - "label": "Current Sprint" - }, - "priority": { - "index": null, - "label": null + "label": "Current Sprint", + "color": "#00BCD4" }, "dateRange": { "start": "2024-11-18", "end": "2024-11-19" }, + "priority": { + "index": null, + "label": null, + "color": null, + "colorScheme": { + "foregroundColor": null, + "backgroundColor": null + } + }, + "name": "Embedded Template for Status and Priority", + "details": null, "description": null, "thumbnailURL": null }, "relationships": { - "assignee": { - "links": { - "self": "../TeamMember/f832cfb6-959e-4d0d-bc83-8712a36a910a" - } - }, "project": { "links": { "self": "../Project/51ca069b-1c55-4648-8654-bd82bf162f9d" @@ -35,11 +37,16 @@ "self": "../Team/cc574556-4253-44b8-ba80-0cfb844b4908" } }, - "children": { + "subtasks": { "links": { "self": null } }, + "assignee": { + "links": { + "self": "../TeamMember/f832cfb6-959e-4d0d-bc83-8712a36a910a" + } + }, "tags": { "links": { "self": null @@ -49,7 +56,7 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } diff --git a/packages/experiments-realm/WorkTask/20058a9d-3c2d-4b42-8430-a95b6183245c.json b/packages/experiments-realm/SprintTask/20058a9d-3c2d-4b42-8430-a95b6183245c.json similarity index 78% rename from packages/experiments-realm/WorkTask/20058a9d-3c2d-4b42-8430-a95b6183245c.json rename to packages/experiments-realm/SprintTask/20058a9d-3c2d-4b42-8430-a95b6183245c.json index 46a2ea1e1c..3150d7ebd1 100644 --- a/packages/experiments-realm/WorkTask/20058a9d-3c2d-4b42-8430-a95b6183245c.json +++ b/packages/experiments-realm/SprintTask/20058a9d-3c2d-4b42-8430-a95b6183245c.json @@ -2,29 +2,26 @@ "data": { "type": "card", "attributes": { - "taskName": "Port the already done work for CRM from fork into boxel ui design system", - "taskDetail": "https://github.com/tintinthong/boxel/pull/1 CRM for reference. This is the PR that is constantly merged in", "status": { + "completed": false, "index": 2, - "label": "Current Sprint" - }, - "priority": { - "index": 1, - "label": "Medium" + "label": "Current Sprint", + "color": "#00BCD4" }, "dateRange": { "start": "2024-11-06", "end": "2024-11-15" }, + "priority": { + "index": 1, + "label": "Medium" + }, + "name": "Port the already done work for CRM from fork into boxel ui design system", + "details": "https://github.com/tintinthong/boxel/pull/1 CRM for reference. This is the PR that is constantly merged in", "description": null, "thumbnailURL": null }, "relationships": { - "assignee": { - "links": { - "self": "../TeamMember/847c1f4e-e0ae-43d3-a012-8ffaa66f5925" - } - }, "project": { "links": { "self": "../Project/51ca069b-1c55-4648-8654-bd82bf162f9d" @@ -35,16 +32,21 @@ "self": "../Team/cc574556-4253-44b8-ba80-0cfb844b4908" } }, - "children.0": { + "subtasks.0": { "links": { "self": "./20058a9d-3c2d-4b42-8430-a95b6183245c" } }, - "children.1": { + "subtasks.1": { "links": { "self": "./9e23b8b5-d541-48ef-a652-e7afefb29777" } }, + "assignee": { + "links": { + "self": "../TeamMember/847c1f4e-e0ae-43d3-a012-8ffaa66f5925" + } + }, "tags.0": { "links": { "self": "../Tag/ad921cba-ffc7-4fdb-af34-ab8b93eae228" @@ -64,7 +66,7 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } diff --git a/packages/experiments-realm/WorkTask/346cc7ac-eb65-41fd-a1d7-0400668da097.json b/packages/experiments-realm/SprintTask/346cc7ac-eb65-41fd-a1d7-0400668da097.json similarity index 79% rename from packages/experiments-realm/WorkTask/346cc7ac-eb65-41fd-a1d7-0400668da097.json rename to packages/experiments-realm/SprintTask/346cc7ac-eb65-41fd-a1d7-0400668da097.json index 93f9c71b89..bf019d15fb 100644 --- a/packages/experiments-realm/WorkTask/346cc7ac-eb65-41fd-a1d7-0400668da097.json +++ b/packages/experiments-realm/SprintTask/346cc7ac-eb65-41fd-a1d7-0400668da097.json @@ -2,29 +2,26 @@ "data": { "type": "card", "attributes": { - "taskName": "Make fitted / embeddedd view for task", - "taskDetail": null, "status": { - "index": 2, - "label": "In Progress" - }, - "priority": { - "index": 2, - "label": "High" + "completed": false, + "index": 3, + "label": "In Progress", + "color": "#FFB74D" }, "dateRange": { "start": "2024-11-19", "end": "2024-11-30" }, + "priority": { + "index": 2, + "label": "High" + }, + "name": "Make fitted / embeddedd view for task", + "details": null, "description": null, "thumbnailURL": null }, "relationships": { - "assignee": { - "links": { - "self": null - } - }, "project": { "links": { "self": "../Project/51ca069b-1c55-4648-8654-bd82bf162f9d" @@ -35,7 +32,12 @@ "self": "../Team/cc574556-4253-44b8-ba80-0cfb844b4908" } }, - "children": { + "subtasks": { + "links": { + "self": null + } + }, + "assignee": { "links": { "self": null } @@ -49,7 +51,7 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } diff --git a/packages/experiments-realm/WorkTask/3cd737c3-4157-46be-9880-6ead8ea60652.json b/packages/experiments-realm/SprintTask/3cd737c3-4157-46be-9880-6ead8ea60652.json similarity index 81% rename from packages/experiments-realm/WorkTask/3cd737c3-4157-46be-9880-6ead8ea60652.json rename to packages/experiments-realm/SprintTask/3cd737c3-4157-46be-9880-6ead8ea60652.json index 0dd878f949..dd7adb9eee 100644 --- a/packages/experiments-realm/WorkTask/3cd737c3-4157-46be-9880-6ead8ea60652.json +++ b/packages/experiments-realm/SprintTask/3cd737c3-4157-46be-9880-6ead8ea60652.json @@ -2,20 +2,22 @@ "data": { "type": "card", "attributes": { - "priority": { - "index": null, - "label": null - }, "status": { - "index": 2, - "label": "Current Sprint" + "completed": false, + "index": 0, + "label": "Not Started", + "color": "#B0BEC5" }, - "taskName": "Create kanban board", "dateRange": { "start": "2024-11-06", "end": "2025-02-04" }, - "taskDetail": null, + "priority": { + "index": null, + "label": null + }, + "name": "Create kanban board", + "details": null, "description": null, "thumbnailURL": null }, @@ -30,7 +32,7 @@ "self": "../Team/cc574556-4253-44b8-ba80-0cfb844b4908" } }, - "children": { + "subtasks": { "links": { "self": null } @@ -49,7 +51,7 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } diff --git a/packages/experiments-realm/WorkTask/48630c9d-2849-43d1-b356-890b016fffe9.json b/packages/experiments-realm/SprintTask/48630c9d-2849-43d1-b356-890b016fffe9.json similarity index 81% rename from packages/experiments-realm/WorkTask/48630c9d-2849-43d1-b356-890b016fffe9.json rename to packages/experiments-realm/SprintTask/48630c9d-2849-43d1-b356-890b016fffe9.json index 473f27367d..1b726fed81 100644 --- a/packages/experiments-realm/WorkTask/48630c9d-2849-43d1-b356-890b016fffe9.json +++ b/packages/experiments-realm/SprintTask/48630c9d-2849-43d1-b356-890b016fffe9.json @@ -2,29 +2,26 @@ "data": { "type": "card", "attributes": { - "taskName": "Fill up task board with realistic data", - "taskDetail": null, "status": { + "completed": false, "index": 3, - "label": "In Progress" - }, - "priority": { - "index": null, - "label": null + "label": "In Progress", + "color": "#FFB74D" }, "dateRange": { "start": null, "end": null }, + "priority": { + "index": null, + "label": null + }, + "name": "Fill up task board with realistic data", + "details": null, "description": null, "thumbnailURL": null }, "relationships": { - "assignee": { - "links": { - "self": "../TeamMember/03e293b9-e4c1-4592-b8d1-e6f963829086" - } - }, "project": { "links": { "self": "../Project/51ca069b-1c55-4648-8654-bd82bf162f9d" @@ -35,11 +32,16 @@ "self": "../Team/cc574556-4253-44b8-ba80-0cfb844b4908" } }, - "children": { + "subtasks": { "links": { "self": null } }, + "assignee": { + "links": { + "self": "../TeamMember/03e293b9-e4c1-4592-b8d1-e6f963829086" + } + }, "tags": { "links": { "self": null @@ -49,7 +51,7 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } diff --git a/packages/experiments-realm/WorkTask/7d92636a-e306-4433-93c5-3b5d976986f3.json b/packages/experiments-realm/SprintTask/7d92636a-e306-4433-93c5-3b5d976986f3.json similarity index 82% rename from packages/experiments-realm/WorkTask/7d92636a-e306-4433-93c5-3b5d976986f3.json rename to packages/experiments-realm/SprintTask/7d92636a-e306-4433-93c5-3b5d976986f3.json index eff8e2620d..11aced6955 100644 --- a/packages/experiments-realm/WorkTask/7d92636a-e306-4433-93c5-3b5d976986f3.json +++ b/packages/experiments-realm/SprintTask/7d92636a-e306-4433-93c5-3b5d976986f3.json @@ -2,29 +2,26 @@ "data": { "type": "card", "attributes": { - "taskName": "Drag and drop task", - "taskDetail": null, "status": { - "index": null, - "label": "Backlog" - }, - "priority": { - "index": null, - "label": null + "index": 0, + "label": "Not Started", + "color": "#B0BEC5", + "completed": false }, "dateRange": { "start": "2024-11-20", "end": "2024-11-21" }, + "priority": { + "index": null, + "label": null + }, + "name": "Drag and drop task", + "details": null, "description": null, "thumbnailURL": null }, "relationships": { - "assignee": { - "links": { - "self": "../TeamMember/5c42e6e9-59c8-4585-a721-e3414d7e7c9e" - } - }, "project": { "links": { "self": "../Project/51ca069b-1c55-4648-8654-bd82bf162f9d" @@ -35,11 +32,16 @@ "self": "../Team/cc574556-4253-44b8-ba80-0cfb844b4908" } }, - "children.0": { + "subtasks.0": { "links": { "self": "./3cd737c3-4157-46be-9880-6ead8ea60652" } }, + "assignee": { + "links": { + "self": "../TeamMember/5c42e6e9-59c8-4585-a721-e3414d7e7c9e" + } + }, "tags.0": { "links": { "self": "../Tag/6b8446c8-b185-4de9-ba81-88f8b9eee7f5" @@ -49,8 +51,8 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } -} +} \ No newline at end of file diff --git a/packages/experiments-realm/WorkTask/8ca45d40-adcb-437f-83ee-07ffd973cd17.json b/packages/experiments-realm/SprintTask/8ca45d40-adcb-437f-83ee-07ffd973cd17.json similarity index 81% rename from packages/experiments-realm/WorkTask/8ca45d40-adcb-437f-83ee-07ffd973cd17.json rename to packages/experiments-realm/SprintTask/8ca45d40-adcb-437f-83ee-07ffd973cd17.json index b1d9a6f316..9ea0c99eb9 100644 --- a/packages/experiments-realm/WorkTask/8ca45d40-adcb-437f-83ee-07ffd973cd17.json +++ b/packages/experiments-realm/SprintTask/8ca45d40-adcb-437f-83ee-07ffd973cd17.json @@ -2,21 +2,22 @@ "data": { "type": "card", "attributes": { - "priority": { - "index": null, - "label": null - }, "status": { "completed": false, "index": 3, - "label": "In Progress" + "label": "In Progress", + "color": "#FFB74D" }, - "taskName": "Resolve bug where overlay only appears on certain cards", "dateRange": { "start": null, "end": null }, - "taskDetail": null, + "priority": { + "index": null, + "label": null + }, + "name": "Resolve bug where overlay only appears on certain cards", + "details": null, "description": null, "thumbnailURL": null }, @@ -31,7 +32,7 @@ "self": "../Team/cc574556-4253-44b8-ba80-0cfb844b4908" } }, - "children": { + "subtasks": { "links": { "self": null } @@ -50,7 +51,7 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } diff --git a/packages/experiments-realm/WorkTask/9b0425f9-ac54-44a4-8cfb-1774442490ea.json b/packages/experiments-realm/SprintTask/9b0425f9-ac54-44a4-8cfb-1774442490ea.json similarity index 81% rename from packages/experiments-realm/WorkTask/9b0425f9-ac54-44a4-8cfb-1774442490ea.json rename to packages/experiments-realm/SprintTask/9b0425f9-ac54-44a4-8cfb-1774442490ea.json index 823671c2be..a180327692 100644 --- a/packages/experiments-realm/WorkTask/9b0425f9-ac54-44a4-8cfb-1774442490ea.json +++ b/packages/experiments-realm/SprintTask/9b0425f9-ac54-44a4-8cfb-1774442490ea.json @@ -2,21 +2,22 @@ "data": { "type": "card", "attributes": { - "priority": { - "index": 3, - "label": "High" - }, "status": { - "completed": false, "index": 0, - "label": "Not Started" + "label": "Not Started", + "color": "#B0BEC5", + "completed": false }, - "taskName": "Cleanup all the dbs", "dateRange": { "start": null, "end": null }, - "taskDetail": null, + "priority": { + "index": 3, + "label": "High" + }, + "name": "Cleanup all the dbs", + "details": null, "description": null, "thumbnailURL": null }, @@ -31,7 +32,7 @@ "self": null } }, - "children": { + "subtasks": { "links": { "self": null } @@ -50,8 +51,8 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } -} +} \ No newline at end of file diff --git a/packages/experiments-realm/WorkTask/9e23b8b5-d541-48ef-a652-e7afefb29777.json b/packages/experiments-realm/SprintTask/9e23b8b5-d541-48ef-a652-e7afefb29777.json similarity index 81% rename from packages/experiments-realm/WorkTask/9e23b8b5-d541-48ef-a652-e7afefb29777.json rename to packages/experiments-realm/SprintTask/9e23b8b5-d541-48ef-a652-e7afefb29777.json index 1bd646ed54..8c83e02911 100644 --- a/packages/experiments-realm/WorkTask/9e23b8b5-d541-48ef-a652-e7afefb29777.json +++ b/packages/experiments-realm/SprintTask/9e23b8b5-d541-48ef-a652-e7afefb29777.json @@ -2,29 +2,26 @@ "data": { "type": "card", "attributes": { - "taskName": "Incoporate Boxel Multi Select in Dropdown", - "taskDetail": null, "status": { "index": 6, - "label": "Shipped" - }, - "priority": { - "index": null, - "label": null + "label": "Shipped", + "color": "#66BB6A", + "completed": true }, "dateRange": { "start": "2024-11-07", "end": "2024-11-21" }, + "priority": { + "index": null, + "label": null + }, + "name": "Incoporate Boxel Multi Select in Dropdown", + "details": null, "description": null, "thumbnailURL": null }, "relationships": { - "assignee": { - "links": { - "self": "../TeamMember/5c42e6e9-59c8-4585-a721-e3414d7e7c9e" - } - }, "project": { "links": { "self": "../Project/51ca069b-1c55-4648-8654-bd82bf162f9d" @@ -35,11 +32,16 @@ "self": "../Team/cc574556-4253-44b8-ba80-0cfb844b4908" } }, - "children": { + "subtasks": { "links": { "self": null } }, + "assignee": { + "links": { + "self": "../TeamMember/5c42e6e9-59c8-4585-a721-e3414d7e7c9e" + } + }, "tags": { "links": { "self": null @@ -49,7 +51,7 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } diff --git a/packages/experiments-realm/WorkTask/bb4323d6-1ea4-40d0-a039-85d13e55d4a6.json b/packages/experiments-realm/SprintTask/bb4323d6-1ea4-40d0-a039-85d13e55d4a6.json similarity index 85% rename from packages/experiments-realm/WorkTask/bb4323d6-1ea4-40d0-a039-85d13e55d4a6.json rename to packages/experiments-realm/SprintTask/bb4323d6-1ea4-40d0-a039-85d13e55d4a6.json index 6ad7e6f336..aaaf0426a4 100644 --- a/packages/experiments-realm/WorkTask/bb4323d6-1ea4-40d0-a039-85d13e55d4a6.json +++ b/packages/experiments-realm/SprintTask/bb4323d6-1ea4-40d0-a039-85d13e55d4a6.json @@ -2,21 +2,22 @@ "data": { "type": "card", "attributes": { - "priority": { - "index": null, - "label": null - }, "status": { "completed": false, "index": 1, - "label": "Next Sprint" + "label": "Next Sprint", + "color": "#64B5F6" }, - "taskName": "Create Tag List", "dateRange": { "start": null, "end": null }, - "taskDetail": null, + "priority": { + "index": null, + "label": null + }, + "name": "Create Tag List", + "details": null, "description": null, "thumbnailURL": null }, @@ -31,7 +32,7 @@ "self": null } }, - "children": { + "subtasks": { "links": { "self": null } @@ -50,7 +51,7 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } diff --git a/packages/experiments-realm/WorkTask/c734e2c7-71d9-446e-a2c1-e6e930fcee55.json b/packages/experiments-realm/SprintTask/c734e2c7-71d9-446e-a2c1-e6e930fcee55.json similarity index 77% rename from packages/experiments-realm/WorkTask/c734e2c7-71d9-446e-a2c1-e6e930fcee55.json rename to packages/experiments-realm/SprintTask/c734e2c7-71d9-446e-a2c1-e6e930fcee55.json index 2f8a15ca1b..8ba75e2e92 100644 --- a/packages/experiments-realm/WorkTask/c734e2c7-71d9-446e-a2c1-e6e930fcee55.json +++ b/packages/experiments-realm/SprintTask/c734e2c7-71d9-446e-a2c1-e6e930fcee55.json @@ -2,21 +2,22 @@ "data": { "type": "card", "attributes": { - "priority": { - "index": 0, - "label": "Low" - }, "status": { - "completed": false, - "index": null, - "label": "In Progress" + "index": 3, + "label": "In Progress", + "color": "#FFB74D", + "completed": false }, - "taskName": "Add functionality where + opens create card modal with correct status", "dateRange": { "start": null, "end": null }, - "taskDetail": null, + "priority": { + "index": 0, + "label": "Low" + }, + "name": "Add functionality where + opens create card modal with correct status", + "details": null, "description": null, "thumbnailURL": null }, @@ -31,7 +32,7 @@ "self": "../Team/cc574556-4253-44b8-ba80-0cfb844b4908" } }, - "children": { + "subtasks": { "links": { "self": null } @@ -50,7 +51,7 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } diff --git a/packages/experiments-realm/WorkTask/d21d407b-9c1c-4204-a3bb-7b91f9260017.json b/packages/experiments-realm/SprintTask/d21d407b-9c1c-4204-a3bb-7b91f9260017.json similarity index 82% rename from packages/experiments-realm/WorkTask/d21d407b-9c1c-4204-a3bb-7b91f9260017.json rename to packages/experiments-realm/SprintTask/d21d407b-9c1c-4204-a3bb-7b91f9260017.json index 2116922dff..8af6ba7a4b 100644 --- a/packages/experiments-realm/WorkTask/d21d407b-9c1c-4204-a3bb-7b91f9260017.json +++ b/packages/experiments-realm/SprintTask/d21d407b-9c1c-4204-a3bb-7b91f9260017.json @@ -2,21 +2,22 @@ "data": { "type": "card", "attributes": { - "priority": { - "index": null, - "label": null - }, "status": { - "completed": false, "index": 0, - "label": "Backlog" + "label": "Not Started", + "color": "#B0BEC5", + "completed": false }, - "taskName": "Create RHS Sheet", "dateRange": { "start": "2024-12-01", "end": "2024-12-08" }, - "taskDetail": null, + "priority": { + "index": null, + "label": null + }, + "name": "Create RHS Sheet", + "details": null, "description": null, "thumbnailURL": null }, @@ -31,7 +32,7 @@ "self": "../Team/0a799af4-c49a-4d27-aabe-9ed54b9baf55" } }, - "children": { + "subtasks": { "links": { "self": null } @@ -50,8 +51,8 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } -} +} \ No newline at end of file diff --git a/packages/experiments-realm/WorkTask/d8ce7466-3693-4d54-8931-8ccd25ca079f.json b/packages/experiments-realm/SprintTask/d8ce7466-3693-4d54-8931-8ccd25ca079f.json similarity index 82% rename from packages/experiments-realm/WorkTask/d8ce7466-3693-4d54-8931-8ccd25ca079f.json rename to packages/experiments-realm/SprintTask/d8ce7466-3693-4d54-8931-8ccd25ca079f.json index 7192343442..7b0ec1cd57 100644 --- a/packages/experiments-realm/WorkTask/d8ce7466-3693-4d54-8931-8ccd25ca079f.json +++ b/packages/experiments-realm/SprintTask/d8ce7466-3693-4d54-8931-8ccd25ca079f.json @@ -2,29 +2,26 @@ "data": { "type": "card", "attributes": { - "taskName": "Date Range Card", - "taskDetail": null, "status": { "index": 0, - "label": "Backlog" - }, - "priority": { - "index": null, - "label": null + "label": "Not Started", + "color": "#B0BEC5", + "completed": false }, "dateRange": { "start": "2024-11-13", "end": "2024-12-17" }, + "priority": { + "index": null, + "label": null + }, + "name": "Build Date Range Card", + "details": null, "description": null, "thumbnailURL": null }, "relationships": { - "assignee": { - "links": { - "self": "../TeamMember/03e293b9-e4c1-4592-b8d1-e6f963829086" - } - }, "project": { "links": { "self": "../Project/51ca069b-1c55-4648-8654-bd82bf162f9d" @@ -35,11 +32,16 @@ "self": "../Team/0a799af4-c49a-4d27-aabe-9ed54b9baf55" } }, - "children": { + "subtasks": { "links": { "self": null } }, + "assignee": { + "links": { + "self": "../TeamMember/03e293b9-e4c1-4592-b8d1-e6f963829086" + } + }, "tags": { "links": { "self": null @@ -49,8 +51,8 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } -} +} \ No newline at end of file diff --git a/packages/experiments-realm/WorkTask/f81ea9a1-0b94-4e12-8e2e-c84fba78c551.json b/packages/experiments-realm/SprintTask/f81ea9a1-0b94-4e12-8e2e-c84fba78c551.json similarity index 76% rename from packages/experiments-realm/WorkTask/f81ea9a1-0b94-4e12-8e2e-c84fba78c551.json rename to packages/experiments-realm/SprintTask/f81ea9a1-0b94-4e12-8e2e-c84fba78c551.json index 05a36139d0..b5f6791058 100644 --- a/packages/experiments-realm/WorkTask/f81ea9a1-0b94-4e12-8e2e-c84fba78c551.json +++ b/packages/experiments-realm/SprintTask/f81ea9a1-0b94-4e12-8e2e-c84fba78c551.json @@ -2,40 +2,42 @@ "data": { "type": "card", "attributes": { - "taskName": "Move cards-grid fitted template into a component that can be re-used", - "taskDetail": null, "status": { + "completed": false, "index": 2, - "label": "Current Sprint" - }, - "priority": { - "index": null, - "label": null + "label": "Current Sprint", + "color": "#00BCD4" }, "dateRange": { "start": null, "end": null }, + "priority": { + "index": null, + "label": null + }, + "name": "Move cards-grid fitted template into a component that can be re-used", + "details": null, "description": null, "thumbnailURL": null }, "relationships": { - "assignee": { + "project": { "links": { "self": null } }, - "project": { + "team": { "links": { "self": null } }, - "team": { + "subtasks": { "links": { "self": null } }, - "children": { + "assignee": { "links": { "self": null } @@ -49,7 +51,7 @@ "meta": { "adoptsFrom": { "module": "../productivity/task", - "name": "WorkTask" + "name": "SprintTask" } } } diff --git a/packages/experiments-realm/Task/c0bf3231-435c-4363-ad92-a1d756aea8d9.json b/packages/experiments-realm/Task/c0bf3231-435c-4363-ad92-a1d756aea8d9.json index b784e01d0e..1bad35496c 100644 --- a/packages/experiments-realm/Task/c0bf3231-435c-4363-ad92-a1d756aea8d9.json +++ b/packages/experiments-realm/Task/c0bf3231-435c-4363-ad92-a1d756aea8d9.json @@ -2,20 +2,22 @@ "data": { "type": "card", "attributes": { - "taskName": null, "dateRange": { "start": null, "end": null }, "status": { - "index": 1, - "label": "In Progress" + "index": 0, + "label": "Not Started", + "color": "#B0BEC5", + "completed": false }, - "taskDetail": null, "priority": { "index": 1, "label": "Low" }, + "name": "Renew Google Play Data Agreement", + "details": null, "description": null, "thumbnailURL": null }, @@ -38,4 +40,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/experiments-realm/Todo/959133bc-c472-4cf7-ba6f-1c5b03979eba.json b/packages/experiments-realm/Todo/959133bc-c472-4cf7-ba6f-1c5b03979eba.json new file mode 100644 index 0000000000..eba687f4c4 --- /dev/null +++ b/packages/experiments-realm/Todo/959133bc-c472-4cf7-ba6f-1c5b03979eba.json @@ -0,0 +1,18 @@ +{ + "data": { + "type": "card", + "attributes": { + "name": "Buy pancake flour for dinner", + "details": "Make sure to get Krusteaz Buttermilk mix. Do not buy the cinnamon one!", + "title": null, + "description": null, + "thumbnailURL": null + }, + "meta": { + "adoptsFrom": { + "module": "../todo", + "name": "Todo" + } + } + } +} \ No newline at end of file diff --git a/packages/experiments-realm/WorkTask/b6263b50-18e7-4830-9049-44fb2a7b3e84.json b/packages/experiments-realm/WorkTask/b6263b50-18e7-4830-9049-44fb2a7b3e84.json deleted file mode 100644 index f5acd4cacd..0000000000 --- a/packages/experiments-realm/WorkTask/b6263b50-18e7-4830-9049-44fb2a7b3e84.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "data": { - "type": "card", - "attributes": { - "taskName": "Fill up task board with realistic data", - "taskDetail": null, - "status": { - "index": null, - "label": "Backlog" - }, - "priority": { - "index": null, - "label": null - }, - "dateRange": { - "start": "2024-11-19", - "end": "2024-11-20" - }, - "description": null, - "thumbnailURL": null - }, - "relationships": { - "assignee": { - "links": { - "self": "../TeamMember/5c42e6e9-59c8-4585-a721-e3414d7e7c9e" - } - }, - "project": { - "links": { - "self": "../Project/51ca069b-1c55-4648-8654-bd82bf162f9d" - } - }, - "team": { - "links": { - "self": "../Team/cc574556-4253-44b8-ba80-0cfb844b4908" - } - }, - "children": { - "links": { - "self": null - } - }, - "tags": { - "links": { - "self": null - } - } - }, - "meta": { - "adoptsFrom": { - "module": "../productivity/task", - "name": "WorkTask" - } - } - } -} diff --git a/packages/experiments-realm/crm/task.gts b/packages/experiments-realm/crm/task.gts index 3886099e10..4b429f4972 100644 --- a/packages/experiments-realm/crm/task.gts +++ b/packages/experiments-realm/crm/task.gts @@ -1,8 +1,10 @@ import { linksTo, field } from 'https://cardstack.com/base/card-api'; import { Task } from '../task'; import { Contact } from './contact'; +import { Account } from './account'; export class CrmTask extends Task { static displayName = 'CRM Task'; @field contact = linksTo(Contact); + @field account = linksTo(Account); } diff --git a/packages/experiments-realm/productivity/filter-dropdown.gts b/packages/experiments-realm/productivity/filter-dropdown.gts index a572a0fc48..fef84b598e 100644 --- a/packages/experiments-realm/productivity/filter-dropdown.gts +++ b/packages/experiments-realm/productivity/filter-dropdown.gts @@ -21,7 +21,7 @@ interface FilterDropdownSignature { export class FilterDropdown extends GlimmerComponent {