[CS2113-W12-1] Upcycle#3
Conversation
|
|
||
| ## 5. Product scope | ||
|
|
||
| ### 5.1. Target user profile |
There was a problem hiding this comment.
The target user profile is specified clearly. Great!
| # Upcycle - Developer Guide | ||
|
|
||
| ## Table of contents | ||
| [Acknowledgements](#acknowledgements) |
There was a problem hiding this comment.
I like the use of hyperlinks in the table of contents!
|
|
||
| Given below is an example usage scenario and how the command mechanism behaves at each step. | ||
|
|
||
| Step 1: The user types in the command in the command line. The CommandParser class checks if the command is valid through the createCommand() method, and either sends an exception, or send the input to the AddUserCommand class to be processed. |
There was a problem hiding this comment.
I think using steps to explain all the commands is good
| ## 8. Instructions for manual testing | ||
|
|
||
| ## Instructions for manual testing | ||
| ...To be updated |
There was a problem hiding this comment.
Great work! Can't wait to see the final DG.
|
|
||
| ...To be updated | ||
|
|
||
| ## 2. Setup the environment |
|
|
||
| Step 6: Lastly, information about the updated transaction is printed to the user | ||
|
|
||
| The following sequence diagram models the operation: |
There was a problem hiding this comment.
Would it be better to leave out the exception call details as they are repeated multiple times throughout the docs
| Upcycle is a Database Management System that aims to promote frugality and sustainability by providing service for students | ||
| staying in a particular community/hall to loan or borrow items they wish to share with their community. | ||
|
|
||
| ## 6. User Stories |
|
|
||
| Given below is an example usage scenario and how the command mechanism behaves at each step. | ||
|
|
||
| Step 1: The user types in the command in the command line. The CommandParser class checks if the command is valid through the createCommand() method, and either throws an exception, or forwards the input to `UpdateTransactionCommand` class to be processed. |
There was a problem hiding this comment.
Would it be better to separate out a sample usage scenario and the explanation on how the code works. It might be clearer to split the sample usage into 1 part and explanation together with a sequence diagram in another
Handle exception when files are edited
Edit Class Diagrams (remove notations)
Added find-item to UG
Enhance Storage
…into branch-bug-price-overflows
Limit price range
…h, category index,
Branch limit arg range
Zhai-Yuxin
left a comment
There was a problem hiding this comment.
Really good and detailed. May consider not including in the exception part in your diagrams
| Step 4: Lastly, `executeCommand` returns false to indicate that this is a non-terminating command | ||
|
|
||
| The following sequence diagram shows how the view user operation works: | ||
|  |
There was a problem hiding this comment.
consider adding in an activation bar for UI
Added new methods for ViewUserDebt and to FindTransactionsByUser
Clean code
|
|
||
| {list here sources of all reused/adapted ideas, code, documentation, and third-party libraries -- include links to the original source as well} | ||
| This project is based on the skeleton code and documents of [SE-EDU AddressBook Level-3](https://se-education.org/addressbook-level3/) | ||
|
|
There was a problem hiding this comment.
Like that you specify who wrote what under each section!
|
|
||
| **Step 4**: Go to File > Open, locate and open the cloned repository. | ||
|
|
||
| **Step 5**: Verify the setup: |
There was a problem hiding this comment.
It might be better to name the running class differently than the iP? (change Duke to Upcycle)!
| ## 3. Design | ||
|
|
||
| This sector describes the architecture design of Upcycle with its components, and UML diagrams are used to support. | ||
|
|
There was a problem hiding this comment.
This isn't updated here, but is visible on the developer guide page: https://ay2223s1-cs2113-w12-2.github.io/tp/DeveloperGuide.html
For "The section below gives more detailed description of each component," I believe you forgot to move it to a new line underneath the image!
| Upcycle stores the user's data, including the user list, item list, transaction list in three files ```user.txt```, ```item.txt```, ```transaction.txt```, respectively. | ||
| The data will be loaded when running the program, and ONLY be written to the files when exiting the program correctly, otherwise, the data during the execution will be gone. | ||
| These find can be found in ```data``` folder in the same directory with the folder containing project root. | ||
|
|
There was a problem hiding this comment.
On the website: https://ay2223s1-cs2113-w12-2.github.io/tp/DeveloperGuide.html
there is an empty subsection!
| and transactions via Command Line Interface with a single line of command. | ||
|
|
||
| Useful links: | ||
| * [User Guide](UserGuide.md) |
| and transactions via Command Line Interface with a single line of command. | ||
|
|
||
| Useful links: | ||
| * [User Guide](UserGuide.md) |
| and transactions via Command Line Interface with a single line of command. | ||
|
|
||
| Useful links: | ||
| * [User Guide](UserGuide.md) |
| and transactions via Command Line Interface with a single line of command. | ||
|
|
||
| Useful links: | ||
| * [User Guide](UserGuide.md) |
| and transactions via Command Line Interface with a single line of command. | ||
|
|
||
| Useful links: | ||
| * [User Guide](UserGuide.md) |
| and transactions via Command Line Interface with a single line of command. | ||
|
|
||
| Useful links: | ||
| * [User Guide](UserGuide.md) |
| and transactions via Command Line Interface with a single line of command. | ||
|
|
||
| Useful links: | ||
| * [User Guide](UserGuide.md) |
| and transactions via Command Line Interface with a single line of command. | ||
|
|
||
| Useful links: | ||
| * [User Guide](UserGuide.md) |
Final commit








Value proposition
Upcycle is a service for students staying in a particular community(hall) to view, lease or borrow items that they wish to share to their community to promote frugality and sustainability.
Target users
Singaporeans -> Students -> University -> Staying in Campus -> Have items to lease or want to loan