-
Notifications
You must be signed in to change notification settings - Fork 236
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
[CS2113T-T12-3] Stonks XD #33
base: master
Are you sure you want to change the base?
[CS2113T-T12-3] Stonks XD #33
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty nice project. But you could also focus more on the overall aesthetic of the DG.
docs/DeveloperGuide.md
Outdated
The image below illustrates the sequence diagram in the context of listing methods | ||
which includes listExpense, listIncome and listFind. | ||
|
||
|
||
![Untitled Diagram drawio (2)](https://user-images.githubusercontent.com/69465661/138629733-63b2a115-5405-4af5-8a74-4d18f51c8f96.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/DeveloperGuide.md
Outdated
![](Architecture.drawio.png) | ||
|
||
The __Architecture Diagram__ above explains the high-level design of the StonksXD app. | ||
Given below is a quick overview of the main components of the application and how they interact with each other: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could look like a class diagram with the arrows and the box contains multiple sections. Maybe you should change it to another representation method to avoid confusion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/DeveloperGuide.md
Outdated
The image below shows the sequence diagram of how the `AddExpenseCommand` class is used and the other classes involved with it as well. | ||
|
||
![img_2.png](AddExpenseCommandSD.drawio.PNG) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/DeveloperGuide.md
Outdated
- ####_Adding Income/ Expense entries_ | ||
1. Test Case: `add_ex d/DESCRIPTION a/AMOUNT c/CATEGORY`. </p> | ||
Expected : Adds an expense item to the list. Displays confirmation message with timestamp. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/DeveloperGuide.md
Outdated
`StonksXD` is the main class of the app. It has 2 main functions: | ||
1. Upon opening the app, it loads saved data by calling `DataManager`. Before closing the app, it calls `DataManager` again to save data. | ||
2. Runs a loop receiving new user input from `Ui` and passing it to `Parser`. | ||
|
||
`StonksXD` → `DataManager` | ||
|
||
`Ui` → `StonksXD` → `Parser` | ||
|
||
<br> | ||
|
||
`Parser` is the class responsible for interpreting the user input. | ||
It ensures the appropriate input format, and passes the input data to the appropriate command. | ||
|
||
`StonksXD` → `Parser` → `Command` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you could provide a class diagram to show how those components interact with each other
Similar comments for other components description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The developer guide has been well written and clear for the most part. Some sections require more explanation or updated diagrams to reduce reader confusion.
{Describe the design and implementation of the product. Use UML diagrams and short code snippets where applicable.} | ||
### Architecture | ||
|
||
![](Architecture.drawio.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 3-way arrow between Command
, Financial Tracker
and Budget Manager
gave me the first impression that all 3 can interaction with one another. But the explanation below says
Parser
→ Command
↔ FinancialTracker
Parser
→ Command
↔ BudgetManager
Maybe two separate arrows can be used to display that Financial Tracker
and BudgetManager
are does not interact with one another directly.
<br> | ||
|
||
Below is a sequence diagram of the Budget component when `handleBudget` is executed: | ||
![](BudgetComponent.drawio.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/DeveloperGuide.md
Outdated
|
||
The image below illustrates the sequence diagram in the context of saving data into `StonksXD_Entries.csv`. | ||
|
||
![img_4.png](SavingFeatureSD.drawio.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/DeveloperGuide.md
Outdated
which includes listExpense, listIncome and listFind. | ||
|
||
|
||
![Untitled Diagram drawio (2)](https://user-images.githubusercontent.com/69465661/138629733-63b2a115-5405-4af5-8a74-4d18f51c8f96.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
<br> | ||
|
||
Below is a sequence diagram of the Budget component when `handleBudget` is executed: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the budget component diagram, no return signs for all methods. It is better to add them to show that the method is done and it is returned to the previous layer?
|
||
<br> | ||
|
||
Below is a sequence diagram of the Budget component when `handleBudget` is executed: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the budget component diagram, no return signs for all methods. It is better to add them to show that the method is done and it is returned to the previous layer?
|
||
<br> | ||
|
||
Below is a sequence diagram of the Budget component when `handleBudget` is executed: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps the Xbudget class lifeline should not extend the opt frame? Since it is created only in opt and should be executed after it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall a very good effort so far. Needs some standardisation and correcting for sequence diagrams. Use of sequence and class diagrams are quite relevant. Explainations are generally not too long and thus not very difficult to understand.
docs/DeveloperGuide.md
Outdated
|
||
{list here sources of all reused/adapted ideas, code, documentation, and third-party libraries -- include links to the original source as well} | ||
Source: https://www.baeldung.com/java-testing-system-out-println |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps the links could be hyperlinks instead for users to access them more easily?
docs/DeveloperGuide.md
Outdated
which includes listExpense, listIncome and listFind. | ||
|
||
|
||
![Untitled Diagram drawio (2)](https://user-images.githubusercontent.com/69465661/138629733-63b2a115-5405-4af5-8a74-4d18f51c8f96.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment on isExpense() could be clearer. maybe resize it box to become bigger?
|
||
Below is a sequence diagram of the Budget component when `handleBudget` is executed: | ||
![](BudgetComponent.drawio.png) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<br> | ||
|
||
Below is a sequence diagram of the Budget component when `handleBudget` is executed: | ||
![](BudgetComponent.drawio.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
<br> | ||
|
||
Below is a sequence diagram of the Budget component when `handleBudget` is executed: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/DeveloperGuide.md
Outdated
|
||
The image below illustrates the class diagram in the context of data saving and loading. | ||
|
||
![img_3.png](DataManagerCD.drawio.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps it would be better to add in the most used variables in the Class Diagram rather than leaving it empty? So that the user has a better idea on what kind of variables are in the class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some pictures for reference
Update developer guide for data saving and parser
…ouches Final branch cleanup finishing touches
Update DG with sequence diagram
Checkstyle edits
…to BudgetFunction
User guide
…into branch-CurrencyTest * 'master' of https://github.com/AY2122S1-CS2113T-T12-3/tp: Update Update user guide Update guides Update user guide User guide update Final commit Update code
added profile pic
Update data saving class
Final Commit
Update PPP
Update PPP
Developer guide
Make UG changes for CS2101
Stonks XD is an expense tracker that help computing students manage their finances and provide reminders and advice regarding their spending. It is optimized for CLI users so that frequent tasks can be done faster by typing in commands.