Skip to content

Commit

Permalink
Merge pull request #362 from yutingzou/final-update
Browse files Browse the repository at this point in the history
Update list grades
  • Loading branch information
kingsleykuan committed Apr 12, 2021
2 parents 3fcd789 + 7a0e94d commit 7cf28c7
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ Steps for the execution of the `AddGradeCommand` (assuming that no errors are en
5. Assuming that the above steps are all successful, the `LogicManager` will call the `ModelManager`'s `addGrade()`,
then create a `CommandResult` object and return the result.
6. The `Ui` component will detect this change and update the GUI.
![Sequence Diagram of Add Grade](images/grade/GradeSequenceDiagram.png)
![Sequence Diagram of Add Grade](images/grade/GradeSequenceDiagram_updated.png)

#### Design Consideration

Expand Down
22 changes: 15 additions & 7 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ Viewing events on Jun 02 2021 (0 appointment(s) and 1 schedule(s) displayed)
### Budget Tracker
This feature allows tutees to track and manage his/her budget allocated to tuitions.

![Budget Ui](images/ug-images/Budget_2.PNG)
![Budget Ui](images/ug-images/Budget_updated.PNG)

**Attributes / Parameters**:
* Budget Amount
Expand Down Expand Up @@ -839,13 +839,21 @@ Example: `list_grades`

Result Display Example Output:
```
Listed all grades
1. Mathematics
Final Exam
A1
2. English
Midterm
B3
3. Science
Lab 1
A2
```

### Reminder Tracker
This feature allows tutees to track and manage reminders daily. This is exceptionally helpful if the reminders are related to the tuition or the tutor itself, i.e. setting a reminder to pay a particular tutor's tuition fee.

![Reminder Ui](images/ug-images/Reminder.png)
![Reminder Ui](images/ug-images/Reminder_updated.png)

* Red reminder card sidebar represent past reminders.
* Yellow reminder card sidebar represent ongoing reminders.
Expand Down Expand Up @@ -968,7 +976,7 @@ Date: Jun 21 2021
### Tutor and Appointment Filters
This feature enhances the tutee's viewing experiences by allowing the tutees to filter tutors or appointments based on attributes.

![Filters Ui](images/ug-images/Filters.png)
![Filters Ui](images/ug-images/Filters_updated.png)

#### Add a Tutor Filter: `add_tutor_filter`

Expand Down Expand Up @@ -1103,9 +1111,9 @@ Action | Format | Examples
**Edit a budget** | `edit_budget b/BUDGET` | `edit_budget b/600`
**Delete a budget** | `delete_budget` | `delete_budget`
**View a budget** | `view_budget` | `view_budget`
**Add a grade** | `add_grade s/SUBJECT_NAME gi/GRADED_ITEM gr/GRADE_LETTER`, | `add_grade s/English gi/Final gr/A`
**Edit a grade** | `edit_grade INDEX [s/SUBJECT_NAME] [gi/GRADED_ITEM] [gr/GRADE_LETTER]`, | `edit_grade 1 gr/B`
**Delete a grade** | `delete_grade INDEX`, | `delete_grade 1`
**Add a grade** | `add_grade s/SUBJECT_NAME gi/GRADED_ITEM gr/GRADE_LETTER` | `add_grade s/English gi/Final gr/A1`
**Edit a grade** | `edit_grade INDEX [s/SUBJECT_NAME] [gi/GRADED_ITEM] [gr/GRADE_LETTER]` | `edit_grade 1 gr/B3`
**Delete a grade** | `delete_grade INDEX` | `delete_grade 1`
**List grades** | `list_grades` | `list_grades`
**Add a new reminder** | `add_reminder ds/DESCRIPTION d/REMINDER_DATE` | `add_reminder ds/Science Tuition Payment Due d/2021-5-2`
**List reminders** | `list_reminders` | `list_reminders`
Expand Down
4 changes: 2 additions & 2 deletions docs/diagrams/grade/GradeSequenceDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ box Model MODEL_COLOR_T1
participant ":Model" as Model MODEL_COLOR
end box

[-> LogicManager : execute("add_Grade s/Mathematics \ngi/Final Exam \ngr/A1")
[-> LogicManager : execute("add_grade s/Mathematics \ngi/Final Exam \ngr/A1")
activate LogicManager

LogicManager -> TutorTrackerParser : parseCommand("add_Grade s/Mathematics \ngi/Final Exam gr/A1")
LogicManager -> TutorTrackerParser : parseCommand("add_grade s/Mathematics \ngi/Final Exam gr/A1")
activate TutorTrackerParser

create AddGradeCommandParser
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ug-images/Budget_updated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ug-images/Filters_updated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/ug-images/Grades_updated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ug-images/Reminder_updated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7cf28c7

Please sign in to comment.