From 87f5623bf79743398c9f8affea54a3634ce38261 Mon Sep 17 00:00:00 2001 From: Floyd Haremsa Date: Thu, 20 Jun 2024 16:36:05 +0200 Subject: [PATCH] fix: fix minor issues in landing page and search --- .../pages/home/search/search.component.html | 2 +- .../demos/task-priority-demo.component.ts | 16 +++++++++++++++- .../demos/task-status-demo.component.ts | 18 ++++++++++++++++-- .../landing-page/landing-page.component.html | 4 ++-- 4 files changed, 34 insertions(+), 6 deletions(-) diff --git a/apps/rockket-web/src/app/pages/home/search/search.component.html b/apps/rockket-web/src/app/pages/home/search/search.component.html index 4b1d45ee..480d1479 100644 --- a/apps/rockket-web/src/app/pages/home/search/search.component.html +++ b/apps/rockket-web/src/app/pages/home/search/search.component.html @@ -57,7 +57,7 @@

diff --git a/apps/rockket-web/src/app/pages/landing-page/demos/task-priority-demo.component.ts b/apps/rockket-web/src/app/pages/landing-page/demos/task-priority-demo.component.ts index a5039424..5b920203 100644 --- a/apps/rockket-web/src/app/pages/landing-page/demos/task-priority-demo.component.ts +++ b/apps/rockket-web/src/app/pages/landing-page/demos/task-priority-demo.component.ts @@ -5,7 +5,7 @@ const listId = 'priority-demo' const demoTasks: TaskRecursive[] = [ { id: listId + 'task-one', - title: 'Do that extremely urgent thing', + title: 'This needs to be done yesterday', description: '', listId, status: TaskStatus.OPEN, @@ -61,6 +61,20 @@ const demoTasks: TaskRecursive[] = [ }, { id: listId + 'task-five', + title: 'This thing got deprioritized', + description: '', + listId, + status: TaskStatus.OPEN, + priority: TaskPriority.LOW, + parentTaskId: '', + children: [], + createdAt: new Date(), + statusUpdatedAt: new Date(), + ownerId: '5', + deadline: null, + }, + { + id: listId + 'task-six', title: 'This thing can wait until everything is else is done', description: '', listId, diff --git a/apps/rockket-web/src/app/pages/landing-page/demos/task-status-demo.component.ts b/apps/rockket-web/src/app/pages/landing-page/demos/task-status-demo.component.ts index 9af2ffbc..56e58eea 100644 --- a/apps/rockket-web/src/app/pages/landing-page/demos/task-status-demo.component.ts +++ b/apps/rockket-web/src/app/pages/landing-page/demos/task-status-demo.component.ts @@ -18,9 +18,23 @@ const demoTasks: TaskRecursive[] = [ ownerId: '5', deadline: null, }, + { + id: listId + 'task-six', + title: 'This thing is being reviewed', + description: '', + listId, + status: TaskStatus.IN_REVIEW, + priority: TaskPriority.NONE, + parentTaskId: '', + children: [], + statusUpdatedAt: new Date(), + createdAt: new Date(), + ownerId: '5', + deadline: null, + }, { id: listId + 'task-two', - title: 'A thing that can be worked on at any time', + title: "A thing that's ready to be worked on", description: '', listId, status: TaskStatus.OPEN, @@ -62,7 +76,7 @@ const demoTasks: TaskRecursive[] = [ }, { id: listId + 'task-five', - title: 'A thing that turned out to be unnecessary', + title: 'A thing that turned out to be unwanted', description: '', listId, status: TaskStatus.NOT_PLANNED, diff --git a/apps/rockket-web/src/app/pages/landing-page/landing-page.component.html b/apps/rockket-web/src/app/pages/landing-page/landing-page.component.html index dab23d7d..3d1307e2 100644 --- a/apps/rockket-web/src/app/pages/landing-page/landing-page.component.html +++ b/apps/rockket-web/src/app/pages/landing-page/landing-page.component.html @@ -166,7 +166,7 @@

Stay motivated with every - task! + task!

Say goodbye to procrastination, Rockket is the task manager that keeps you on track @@ -389,7 +389,7 @@

Roadmap

  • Collaboration features like -
      +
      • Realtime Sync
      • Profile pictures
      • Commenting