[CS2113-T17-4] parKING#11
Conversation
|
|
||
| ## Design & implementation | ||
| #### Model Component | ||
|  |
There was a problem hiding this comment.
I think the format for method's parameter-list in class diagram is name: type for carparkList
| @@ -1,12 +1,186 @@ | |||
| # Developer Guide | |||
|
|
|||
There was a problem hiding this comment.
Maybe could included an intro about ur project
|
|
||
| #### Common Files | ||
|
|
||
| ## Implementation |
There was a problem hiding this comment.
Implementation not done yet, do add it when you can!
| - Authenticate user API key. If no user key inputted, default key will be loaded. | ||
| - Get API authentication status. | ||
|
|
||
| #### Storage Component |
|
|
||
| ## Design | ||
|
|
||
| ### Architecture Level |
There was a problem hiding this comment.
Do add the architecture level section!
| See [`FileLoader`](#FileLoader) for more information. | ||
|
|
||
| #### API Component | ||
|  |
There was a problem hiding this comment.
Perhaps the uml visibility symbols such as + or - should be used instead
|
|
||
| The following sequence diagrams shows how a favourite / unfavourite command works: | ||
|
|
||
|  |
There was a problem hiding this comment.
inconsistent in labelling of return value. There is no label for return findcarpark() call.
|
|
||
| ### Favourite / Unfavourite feature | ||
|
|
||
|  |
There was a problem hiding this comment.
perhaps can add in the multiplicity of Favourite
| Note: The `Carpark` class contain many getters, setters and annotations to be used with the `jackson` module. | ||
| See [`FileLoader`](#FileLoader) for more information. | ||
|
|
||
| #### API Component |
There was a problem hiding this comment.
Would be good to add labels for the arrows in the uml to make it clear
|
|
||
|  | ||
|
|
||
| #### Implementation |
There was a problem hiding this comment.
The write up of the implementation is pretty clear, with good bullet points and segmentation. Good job!
nshian
left a comment
There was a problem hiding this comment.
Overall, an informative guide with some suggestions for your consideration
| ### Architecture Level | ||
|
|
||
| {list here sources of all reused/adapted ideas, code, documentation, and third-party libraries -- include links to the original source as well} | ||
| ### Component Level |
There was a problem hiding this comment.
Parameter-list for methods should be of the form [name of variable] : [type of variable] e.g. setNumber(n: Integer)
|
|
||
| ### Favourite / Unfavourite feature | ||
|
|
||
|  |
There was a problem hiding this comment.
Maybe you want to consider including the multiplicity of the Favourite class as well? Since the other associations you have included have multiplicities on both ends
|
|
||
| The following sequence diagrams shows how a favourite / unfavourite command works: | ||
|
|
||
|  |
There was a problem hiding this comment.
Perhaps you might want to write the [condition] in the alt block in normal prose? e.g. user favourites list, user favourites a specific carpark by ID
|
|
||
| The following sequence diagrams shows how a favourite / unfavourite command works: | ||
|
|
||
|  |
There was a problem hiding this comment.
Consider adding a label for the return value for the findCarpark() method?
| 1. Land Transport Authority DataMall API Service ([link](https://datamall.lta.gov.sg/content/datamall/en.html)). | ||
| 2. Jackson JSON Parser ([link](https://fasterxml.github.io/jackson-core/javadoc/2.8/com/fasterxml/jackson/core/JsonParser.html)) | ||
|
|
||
| ## Design |
There was a problem hiding this comment.
More sequence diagrams for some other commands would be nice
| ## Implementation | ||
|
|
||
|
|
||
| ## Product scope |
There was a problem hiding this comment.
referring to line 229, ## User Stories
please consider adding more user stories
|
|
||
|
|
||
|
|
||
| #### Design considerations |
There was a problem hiding this comment.
can consider resizing the image of the sequence diagram used for increased clarity
| {Describe the design and implementation of the product. Use UML diagrams and short code snippets where applicable.} | ||
| #### API Component | ||
|  | ||
|
|
There was a problem hiding this comment.
the chunk of text is hard to grasp/understand. perhaps, you can reduce the number of words/simplify the explanation
| - changeScanner() - Changes the scanner for the Ui object. To be used for JUnit testing. | ||
| - getSeparatorString() - Returns a separator string. | ||
|
|
||
| #### Logic Component |
| #### Storage Component | ||
|
|
||
| #### Implementation | ||
|  |
| ### Component Level | ||
|
|
||
| #### Model Component | ||
|  |
|
|
||
| The following sequence diagrams shows how a favourite / unfavourite command works: | ||
|
|
||
|  |
|
|
||
| The following sequence diagrams shows how a favourite / unfavourite command works: | ||
|
|
||
|  |
There was a problem hiding this comment.
Maybe you can make the diagram bigger for easier reading. The diagram is also not sharp.
|
|
||
| ### Favourite / Unfavourite feature | ||
|
|
||
|  |
| - Get API authentication status. | ||
|
|
||
| The following sequence diagram shows how the API key is loaded. | ||
|  |
exetr
left a comment
There was a problem hiding this comment.
Good use of the three types of diagrams to augment elaboration of your application. Most of the diagrams are fine, although do be careful of the small details such as the format of header for class diagrams and the visibilty specifer for objects to follow the format stated by the module specifications.
| ### Component Level | ||
|
|
||
| #### Model Component | ||
|  |
There was a problem hiding this comment.
Double check your attribute and operations visibility identifiers, they should align with the module's specifications
|
|
||
| ## Design & implementation | ||
| Note: The `Carpark` class contain many getters, setters and annotations to be used with the `jackson` module. | ||
| See [`FileLoader`](#FileLoader) for more information. |
There was a problem hiding this comment.
Minor issue, but currently the fileloader link is broken, do double check it.
| * Only reads from the secret.txt file once and stores the API as a variable (will only read from the file | ||
| if requested again). | ||
|
|
||
| How the API component of data fetching works |
There was a problem hiding this comment.
For specificity, you may want to consider what type of data you are pulling from the API.
| #### Storage Component | ||
|
|
||
| #### Implementation | ||
|  |
There was a problem hiding this comment.
This sequence diagram seems overly complicated, do try to re-visit whether it is necessary to depict every aspect of the sequence diagram. If it is requried, you can potentially consider splitting it up into multiple diagrams, or using ref frames.
| * All `ABCCommand` classes will have an override `execute` method, which will override the `execute` method in `Command` | ||
| and return the respective `CommandResult` result of the Command. | ||
|
|
||
|  |
There was a problem hiding this comment.
Is the XYZCommand class redundant? If so, do consider removing it
| * All `ABCCommand` classes will have an override `execute` method, which will override the `execute` method in `Command` | ||
| and return the respective `CommandResult` result of the Command. | ||
|
|
||
|  |
There was a problem hiding this comment.
Same case here, do double check that you use the correct visibilty indicators as specified by the module.
|
|
||
| The following sequence diagrams shows how a favourite / unfavourite command works: | ||
|
|
||
|  |
There was a problem hiding this comment.
Consider enlarging the size of this sequence diagram for greater clarity.
Updated user guide
Branch more ug fix
…e file is changed manually
Branch pe d fixes
Add enhancements and fix bugs
…into branch-Favourite-enhancement # Conflicts: # src/main/java/seedu/commands/FavouriteCommand.java
Change favourite list to throw the correct exception
Add examples for manual testing
Branch ppp
…into branch-UG-change
Add disclaimer about tampering with file permissions
…into branch-DG-acknowledgements
DG acknowledgements
Fix broken markdown
Branch dgug edits
Branch dgug edits
update PPP Malcolm Ang






A parking CLI that helps drivers choose the best place to park.