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

[CS2113-T13-1] MoneyMoover #26

Open
wants to merge 789 commits into
base: master
Choose a base branch
from

Conversation

woowenjun99
Copy link

MoneyMoover is a CLI application for managing and transferring international currencies, optimized for use via a Command Line Interface (CLI) while still having the features of other money management applications.

vishnuvk47 pushed a commit to vishnuvk47/tp that referenced this pull request Mar 13, 2023
kyrixn pushed a commit to kyrixn/tp that referenced this pull request Mar 13, 2023
Copy link

@ghzr0 ghzr0 left a comment

Choose a reason for hiding this comment

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

Week 11 Tutorial DG review


## Design & implementation
The following sequence diagram shows how the Exchange command works
![ExchangeSeqDiagram](images/ExchangeSeqDiagram.png)
Copy link

Choose a reason for hiding this comment

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

Very detailed sequence diagram, but one point: is the spelling wrong? (underlined in red : BigDecimal instead of BigDecinmal)
image

is then extracted using saveMap, which filters out the rates for our supported currencies and performs type conversion.
The savedMap attribute of ExchangeRates is set to this filtered map, which is then passed to Forex via getExchangeRates.

If onFalire() is called, it means an unexpected error was encountered, such as losing Internet connection.
Copy link

Choose a reason for hiding this comment

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

Is the spelling of the method wrong? (onFailure() instead of onFalire() )


## Non-Functional Requirements
### Non-Functional Requirements
Copy link

Choose a reason for hiding this comment

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

Please add more details in the next iteration of DG.


{Give non-functional requirements}

## Glossary
### Glossary
Copy link

Choose a reason for hiding this comment

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

Please add more details in the next iteration of DG.


## Instructions for manual testing
## Appendix: Instructions for manual testing
Copy link

Choose a reason for hiding this comment

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

Please add more details in the next iteration of DG.

functionality is to view the balance of a specific currency if the currency is specified, else view all the currencies
in the account.

![BalanceSequenceDiagram](images/BalanceSeqDiagram.png)
Copy link

Choose a reason for hiding this comment

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

Very detailed sequence diagram that showcases the balance feature


The API of this component is specified in the `Ui.java`.

![UI Class Diagram](images/UiClassDiagram.png)

Choose a reason for hiding this comment

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

Is the text on the enumeration part of the image too flushed to the left? Should there be some padding instead?

image

@@ -1,38 +1,335 @@
# Developer Guide

Choose a reason for hiding this comment

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

Very comprehensive sequence diagrams that show the flow of the application well.

Only currency account which 0 balance can be deleted.

Given below is an example of the usage of this feature and the mechanism at each step

Choose a reason for hiding this comment

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

Should there be a space between the end of the text and the image? For Step 2 the image is in between the text which might not be ideal.

image

rates from an online source. Future implementation will use an API to maintain up-to-date
exchange rates.

Exchange rate source: https://www.xe.com/currencyconverter/convert

Choose a reason for hiding this comment

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

Would it be better if this was in the form of a hyperlink instead? Such as:

Exchange Rate Link: [source](https://www.xe.com/currencyconverter/convert) which would give source.

Similar idea for the next subsection

## Acknowledgements

{list here sources of all reused/adapted ideas, code, documentation, and third-party libraries -- include links to the original source as well}

Choose a reason for hiding this comment

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

Could add more details in the next iteration of DG (also for the appendix sections).

Gan868611 and others added 26 commits March 29, 2023 19:25
* 'master' of https://github.com/AY2223S2-CS2113-T13-1/tp:
  Update the help documentation
  Update help message and error message for transaction command errors
  Update help message to include transaction command
  Update the help command
  Fix bug to only accept amount greater or equal to 0.01
  Fix minor errors in sequence diagram
  Fix small error in transaction instantiation
  Remove unused import in Duke
  Add documentation in DG and UG for transactions
# Conflicts:
#	docs/UserGuide.md
Add default rates in case of API failure
* 'master' of https://github.com/AY2223S2-CS2113-T13-1/tp:
  test
  Fix bugs
  Remove duplicated code
  Fix typo
  Fix bug
  Update UG
  Use default exchange rates if API fails for any reason
An interface is used to define the functions for the Store
so that a dummy store can be used in unit tests.
Add the ability to write to file.
* 'master' of https://github.com/AY2223S2-CS2113-T13-1/tp:
  Fix bug with LocalDateTimeAdapter
  Update API Key
  Fix logging message in TransactionManager
  Return early from save if there is an exception
  Add the ability to write to file. An interface is used to define the functions for the Store so that a dummy store can be used in unit tests.
Fix issue with balances being saved and loaded wrongly
Bawfen and others added 30 commits April 10, 2023 21:00
* 'master' of https://github.com/AY2223S2-CS2113-T13-1/tp:
  Update the account list dg
  Update the parser for the dg
  Update the UI aspect of the class diagram
  Update the PPP
  Update the Balance UG
  Fix spacing error in withdraw example command
  Fix to help command formatting missing spaces
  Fix formatting in help command again
  Fix formatting in example help command
  Remove unnecessary spaces in UG
  Add further conditions for description in add and withdraw command
  Fix more standardisation errors in UG
  Fix standardisation of UG
# Conflicts:
#	docs/DeveloperGuide.md
…nceCommand

Arif khalid dg show rate and balance command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.