From 52c006d170b8b3eaed7d2ad63981598a308bd8e0 Mon Sep 17 00:00:00 2001 From: jia xin Date: Sat, 14 Sep 2024 13:28:54 +0800 Subject: [PATCH] Tweak product website layout --- data/reo.txt | 1 + docs/README.md | 3 +-- src/main/java/reo/tasks/TaskParser.java | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/data/reo.txt b/data/reo.txt index 1ee3026df3..dae291adee 100644 --- a/data/reo.txt +++ b/data/reo.txt @@ -2,3 +2,4 @@ E | 0 | Training | 9pm | 11pm T | 0 | Lab 5 D | 1 | proposal | Sep 19 2024 D | 1 | proposal | Sep 29 2024 +T | 0 | class readings diff --git a/docs/README.md b/docs/README.md index a2e9d85c57..ebdf965b74 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,8 +1,7 @@ # Reo User Guide -// Product screenshot goes here +![Product Screenshot](./Ui.png) -// Product intro goes here Meet Reo, the smart and intuitive chatbot designed to help you stay organized and on top of your tasks. Whether you're managing your daily to-dos, tracking deadlines, managing your schedule or your contacts, Reo makes it effortless. With its user-friendly interface, diff --git a/src/main/java/reo/tasks/TaskParser.java b/src/main/java/reo/tasks/TaskParser.java index e7d7a3431f..76050ba17f 100644 --- a/src/main/java/reo/tasks/TaskParser.java +++ b/src/main/java/reo/tasks/TaskParser.java @@ -107,7 +107,9 @@ public String handleTodo() { Todo toPush = new Todo(parts[1], false); tasks.addTodo(toPush); storage.writeFile(toPush); - return TODO_CONFIRMATION + toPush.toString() + "\n"; + final String TASKS_LEFT_CONFIRMATION = "Now, you have " + tasks.getSize() + " task(s) in your list.\n"; + return TODO_CONFIRMATION + toPush.toString() + "\n" + + TASKS_LEFT_CONFIRMATION; } catch (ArrayIndexOutOfBoundsException e) { return TODO_ERROR; }