Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DG changes and slight refactor for 2 class names #217

Merged
merged 4 commits into from
Apr 9, 2023

Conversation

gitsac
Copy link

@gitsac gitsac commented Apr 8, 2023

No description provided.

@gitsac gitsac added the type.documentation Documentation-based tasks label Apr 8, 2023
@gitsac gitsac added this to the v1.4 milestone Apr 8, 2023
@codecov
Copy link

codecov bot commented Apr 8, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (fe27366) 47.49% compared to head (eb582a3) 47.49%.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #217   +/-   ##
=========================================
  Coverage     47.49%   47.49%           
  Complexity      491      491           
=========================================
  Files           109      109           
  Lines          2472     2472           
  Branches        262      262           
=========================================
  Hits           1174     1174           
  Misses         1193     1193           
  Partials        105      105           
Impacted Files Coverage Δ
...a/fasttrack/logic/parser/ExpenseTrackerParser.java 48.14% <0.00%> (ø)
...c/parser/add/AddRecurringExpenseCommandParser.java 0.00% <0.00%> (ø)
...er/delete/DeleteRecurringExpenseCommandParser.java 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link

@nicleejy nicleejy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me overall, not sure if there was a typo in the Recurring expense implementation bit, but should be a minor fix!

2. The input is then [parsed](#logic-component) and a `ListRecurringExpensesCommand` object is created using the given fields.


3. The `LogicManager#execute()` function causes `ListRecurringExpensesCommand#execute()` to be called, which takes in the currently-running instance of `Model`, and calls `Model#updateFilteredExpenseList()` with `PREDICATE_SHOW_ALL_EXPENSES`.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this part be update recurring expenses list instead?


#### **Command Format**

`addrec n/EXPENSE_NAME c/CATEGORY_NAME p/PRICE sd/START_DATE t/FREQUENCY [ed/END_DATE]`, whereby only `END_DATE` is an optional field.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to include the command format

@shirsho-12 shirsho-12 merged commit b48731e into AY2223S2-CS2103T-W09-2:master Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type.documentation Documentation-based tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants