Skip to content

Commit

Permalink
Merge pull request nus-cs2103-AY2021S1#108 from yyutong/branch-edit-u…
Browse files Browse the repository at this point in the history
…i-package

Fix ui package, update UG
  • Loading branch information
yuanxing-z authored Oct 22, 2020
2 parents 16f770e + 20085e4 commit d0afdcc
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 129 deletions.
2 changes: 2 additions & 0 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ Format: `listbycategory CATEGORY`

Examples:
* `listbycategory entertainment`: list all the expenses in entertainment.

![list](images/listCommand.png)

#### Deleting an expense: `delete`
Expand All @@ -111,6 +112,7 @@ Format: `delete INDEX`

Examples:
* `list` followed by `delete 2` deletes the 2nd expense in the expense list.

![delete](images/deleteExpenseCommand.png)

#### View an expense : `view`
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/AddRemark.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@ Let’s change `RemarkCommand` and `RemarkCommandParser` to use the new `Remark`

Without getting too deep into `fxml`, let’s go on a 5 minute adventure to get some placeholder text to show up for each person.

Simply add the following to [`seedu.address.ui.PersonCard`](https://github.com/se-edu/addressbook-level3/commit/850b78879582f38accb05dd20c245963c65ea599#diff-0c6b6abcfac8c205e075294f25e851fe).
Simply add the following to [`seedu.address.ui.ExpenseCard`](https://github.com/se-edu/addressbook-level3/commit/850b78879582f38accb05dd20c245963c65ea599#diff-0c6b6abcfac8c205e075294f25e851fe).

**`PersonCard.java`:**
**`ExpenseCard.java`:**

``` java
@FXML
Expand Down
77 changes: 0 additions & 77 deletions src/main/java/seedu/address/ui/PersonCard.java

This file was deleted.

49 changes: 0 additions & 49 deletions src/main/java/seedu/address/ui/PersonListPanel.java

This file was deleted.

5 changes: 5 additions & 0 deletions src/main/java/seedu/address/ui/PieChartDiagram.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package seedu.address.ui;

public class PieChartDiagram {

}
1 change: 1 addition & 0 deletions src/test/java/seedu/address/model/person/ExpenseTest.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

package seedu.address.model.person;

import static org.junit.jupiter.api.Assertions.assertFalse;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/seedu/address/testutil/ExpenseBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class ExpenseBuilder {
public static final Double DEFAULT_AMOUNT = 10.0;
public static final String DEFAULT_DATE = "2020-10-07";
public static final String DEFAULT_CATEGORY = "FOOD";
public static final String DEFAULT_DESCRIPTION = "123, Jurong West Ave 6, #08-111";
public static final String DEFAULT_DESCRIPTION = "Bought sushi for dinner";
private Amount amount;
private Date date;
private Category category;
Expand Down

0 comments on commit d0afdcc

Please sign in to comment.