Skip to content

Commit

Permalink
Merge pull request AY2324S1-CS2103-T16-3#219 from elhy1999/branch-dg
Browse files Browse the repository at this point in the history
Minor Touch-up to DG and SummaryWindow
  • Loading branch information
elhy1999 authored Nov 13, 2023
2 parents f93a87d + 44acede commit 23727ac
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,9 @@ The following sequence diagram shows how the different components of UniCa$h int
<img src="images/unicash/EditTransactionSequenceDiagram.png" width="1200" />
<div class="callout callout-important" markdown="span" style="margin-bottom: 20px;">
**Note:** The lifeline for `EditTransactionCommandParser` should end at the destroy marker (X) but due to a limitation of PlantUML, the lifeline reaches the end of diagram.
</div>
##### Details
Expand Down Expand Up @@ -1213,8 +1216,6 @@ This command will exit UniCa$h.
### User Interface
#### Summary Statistics
[//]: # (#### etc)
### Minor Features
Expand Down
1 change: 1 addition & 0 deletions docs/diagrams/unicash/EditTransactionSequenceDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ deactivate EditTransactionCommandParser

UniCashParser --> LogicManager : command
deactivate UniCashParser
destroy EditTransactionCommandParser

LogicManager -> EditTransactionCommand : execute(model)
activate EditTransactionCommand
Expand Down
Binary file modified docs/images/unicash/EditTransactionSequenceDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion docs/team/elhy1999.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ Given below are my contributions to the project.


* **Community**:
* PRs reviewed (with non-trivial review comments): [[PR #56](https://github.com/AY2324S1-CS2103-T16-3/tp/pull/56)], [[PR #87](https://github.com/AY2324S1-CS2103-T16-3/tp/pull/87)], [[PR #141](https://github.com/AY2324S1-CS2103-T16-3/tp/pull/141)]
* PRs reviewed (with non-trivial review comments): [[PR #56](https://github.com/AY2324S1-CS2103-T16-3/tp/pull/56)], [[PR #87](https://github.com/AY2324S1-CS2103-T16-3/tp/pull/87)], [[PR #141](https://github.com/AY2324S1-CS2103-T16-3/tp/pull/141)], [[PR #214](https://github.com/AY2324S1-CS2103-T16-3/tp/pull/214)]
* All PRs reviewed can be found [here](https://github.com/AY2324S1-CS2103-T16-3/tp/pulls?q=is%3Apr+reviewed-by%3Aelhy1999)
* Non-trivial bugs found in other team's projects: [[Issue #131](https://github.com/AY2324S1-CS2103T-W09-3/tp/issues/131)], [[Issue #142](https://github.com/AY2324S1-CS2103T-W09-3/tp/issues/142)], [[Issue #149](https://github.com/AY2324S1-CS2103T-W09-3/tp/issues/149)], [[Issue #163](https://github.com/AY2324S1-CS2103T-W09-3/tp/issues/163)], [[Issue #125](https://github.com/AY2324S1-CS2103T-W09-3/tp/issues/125)]

* **Tools**:
Expand Down
1 change: 1 addition & 0 deletions src/main/java/unicash/ui/SummaryWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public void setLineGraph(HashMap<YearMonth, Double> expenseSummary) {
* or EARLIEST_YEAR_MONTH
*/
private static boolean isValidYearMonth(YearMonth yearMonth) {
assert yearMonth != null : "yearMonth cannot be null";
boolean afterMostRecentYearMonth = yearMonth.compareTo(EARLIEST_YEAR_MONTH) >= 0;
boolean beforeCurrentYearMonth = yearMonth.compareTo(LATEST_YEAR_MONTH) <= 0;
return afterMostRecentYearMonth & beforeCurrentYearMonth;
Expand Down

0 comments on commit 23727ac

Please sign in to comment.