[CS2113-W11-2] WildWatch#5
Conversation
…lashcard-support Add flashcard support
Musfirahe0556596
left a comment
There was a problem hiding this comment.
Good but there are a few violation in code quality to consider!
| } else if (inputBuffer.equals("help")) { //User request "help" | ||
| Ui.printHorizontalLines(); | ||
| Ui.helpRequestMessagePrinter(); | ||
| Ui.printHorizontalLines(); | ||
| HelpCommand.printHelpMessage(); | ||
| } else { | ||
| Ui.printHorizontalLines(); | ||
| ErrorHandler.handleError(inputBuffer); | ||
| Ui.printHorizontalLines(); |
There was a problem hiding this comment.
Could be further abstracted to improve code quality.
| * Returns input of the user from the console. | ||
| * @return The user's input as a trimmed string. |
There was a problem hiding this comment.
Empty line between description and parameter section.
| System.out.println("Creating new file...\nFile created successfully."); | ||
| } | ||
|
|
||
| public static void printEntry(int nthEntry) { |
There was a problem hiding this comment.
Do remember to include JavaDoc comments, along with other methods too!
| */ | ||
| public static void findEntry(String inputBuffer) { | ||
| boolean hasMatch = false; | ||
| String matchingWord = inputBuffer.substring(inputBuffer.indexOf("find") + 5).trim(); |
There was a problem hiding this comment.
'Magic number' 5 - Could be placed as a named constant.
| * @param entry | ||
| * @return String | ||
| * @throws IOException when there is problem with formatting the task |
There was a problem hiding this comment.
Punctuation behind each parameter description.
| /** | ||
| * Checks if file exists. Opens file if the file exists. | ||
| * | ||
| * @return true if file exists; false if not |
There was a problem hiding this comment.
Punctuation behind each parameter description.
| For the diagram below, the command `add D/02-03-23 S/Annam Leaf Turtle N/Ariel R/Injured left flipper` has been substituted by `input`. | ||
|
|
||
|  | ||
|
|
There was a problem hiding this comment.
AddCommand should be destroyed after being executed and returns a command result.
| @@ -1,38 +1,212 @@ | |||
| # Developer Guide | |||
| # WildWatch Developer Guide 🦏 | |||
|
|
|||
There was a problem hiding this comment.
Overall good job. The DG has more to be completed so I don't have much comments to make. No issues with structure and flow. Nice that you have a table of contents and an option to take reader back to top. Cute emojis as well :). Don't forget to include class diagrams as well. I am sure you guys have plans to add in individual commands, explaining the design considerations and implementations.
spaceman03
left a comment
There was a problem hiding this comment.
Great job! I believe that you all will add more UML diagrams into the DG such as class diagrams and not just sequence diagrams.
|
|
||
| ### System Architecture | ||
|
|
||
|  |
| ### Legend | ||
|
|
||
| | Symbol | Meaning | | ||
| | -------------- |------------------------------------------------------------ | | ||
| | ❗ IMPORTANT | These are important instructions that you should follow. | | ||
| | ✏ Note | These are important details that you should take note of. | | ||
| | ⬆ Back to top | Click to scroll back up to the `Table of Contents`. | | ||
| | 🐵 🦊 🦁 | Animals indicate you have reached a new section. | | ||
|
|
||
| [⬆ Back to top](https://ay2324s1-cs2113t-w11-2.github.io/tp/DeveloperGuide.html#table-of-contents) | ||
|
|
||
| -------------------------------------------------------------------------------------------------------------------------------------- |
There was a problem hiding this comment.
I like this session that shows the different legends used in the DG.
|
|
||
| [⬆ Back to top](https://ay2324s1-cs2113t-w11-2.github.io/tp/DeveloperGuide.html#table-of-contents) | ||
|
|
docs/DeveloperGuide.md
Outdated
| ### How to use the Developer Guide | ||
| - Are you new here? | ||
| No worries, head to the [Quick Start](https://ay2324s1-cs2113t-w11-2.github.io/tp/DeveloperGuide.html#quick-start-) page. | ||
| - Lost among the pages? | ||
| Head to the [Table of Contents](https://ay2324s1-cs2113t-w11-2.github.io/tp/DeveloperGuide.html#table-of-contents) to look for the right pages. | ||
| - Need help with the functionalities? | ||
| Head to the [Features](https://ay2324s1-cs2113t-w11-2.github.io/tp/DeveloperGuide.html#features-) page for detailed guidance. | ||
| - Do you have a question for us? | ||
| Head to the [FAQ](https://ay2324s1-cs2113t-w11-2.github.io/tp/DeveloperGuide.html#faq-) page. | ||
| - Do you want a concise summary of all functionalities? | ||
| Head to the [Command Summary](https://ay2324s1-cs2113t-w11-2.github.io/tp/DeveloperGuide.html#command-summary-) page for a summary of all commands. | ||
| - Not sure what that word meant? | ||
| Head to the [Glossary](https://ay2324s1-cs2113t-w11-2.github.io/tp/DeveloperGuide.html#glossary-) page for its meaning. |
There was a problem hiding this comment.
This section is great! It navigates the user to the respective section of the DG.
docs/DeveloperGuide.md
Outdated
| - `FileHandler`: A class that saves and retrieves all the wildlife data from the local storage | ||
|
|
||
| {list here sources of all reused/adapted ideas, code, documentation, and third-party libraries -- include links to the original source as well} | ||
|  |
There was a problem hiding this comment.
Is there an additional return from command to execute or is command returning twice to execute?
|
|
||
| ### Command component | ||
|  | ||
|
|
There was a problem hiding this comment.
yepp^ and what do the 'a's above return arrows represent?
docs/DeveloperGuide.md
Outdated
| {Describe the design and implementation of the product. Use UML diagrams and short code snippets where applicable.} | ||
|
|
||
|
|
||
| ### Parser component |
There was a problem hiding this comment.
Would be good to provide a sequence diagram for Parser too
docs/DeveloperGuide.md
Outdated
| |v1.0|zoo clerk|add an animal entry|record the animals in the zoo, and refer to them afterwards| | ||
| |v1.0|zoo clerk|delete an animal entry|remove redundant or invalid animal entry| | ||
| |v1.0|zoo clerk|list all the entries|see what entries I have entered previously, and refer to them| | ||
| |v2.0|user|find a to-do item by name|locate a to-do without having to go through the entire list| |
There was a problem hiding this comment.
How about other things like saving, editing, and summarising?
|
|
||
| [⬆ Back to top](https://ay2324s1-cs2113t-w11-2.github.io/tp/DeveloperGuide.html#table-of-contents) | ||
|
|
||
| -------------------------------------------------------------------------------------------------------------------------------------- |
There was a problem hiding this comment.
Overall DG is incomplete, well formatted and easy to understand but insufficient details and diagrams
kaijie0102
left a comment
There was a problem hiding this comment.
Overall, UI is really neat and clear.
However, general sequence diagram has some common notation errors, but could be fix really easily
| # Developer Guide | ||
| # WildWatch Developer Guide 🦣 | ||
|
|
||
| ## Table of Contents |
There was a problem hiding this comment.
I really like your table of content, it is something that I would like to have in my own DG
|
|
||
| ### System Architecture | ||
|
|
||
|  |
There was a problem hiding this comment.
I like that how clean and clear your architecture diagram is. Not only are the fonts just right, the choice of colours of arrows make the interaction really obvious
docs/DeveloperGuide.md
Outdated
|  | ||
|
|
||
| ## Design & implementation | ||
| The **_Generic Sequence Diagram_** above shows a shows how the components in the architecture interact with each other for a generic command input in WildWatch. |
There was a problem hiding this comment.
See Common Notation Error in week 10 Sequence Diagram

docs/DeveloperGuide.md
Outdated
|  | ||
|
|
||
| ## Design & implementation | ||
| The **_Generic Sequence Diagram_** above shows a shows how the components in the architecture interact with each other for a generic command input in WildWatch. |
docs/DeveloperGuide.md
Outdated
|  | ||
|
|
||
| ## Design & implementation | ||
| The **_Generic Sequence Diagram_** above shows a shows how the components in the architecture interact with each other for a generic command input in WildWatch. |
docs/DeveloperGuide.md
Outdated
|  | ||
|
|
||
| ## Design & implementation | ||
| The **_Generic Sequence Diagram_** above shows a shows how the components in the architecture interact with each other for a generic command input in WildWatch. |
There was a problem hiding this comment.

See Common Notation Error in week 10 Sequence Diagram
docs/DeveloperGuide.md
Outdated
| {Describe the design and implementation of the product. Use UML diagrams and short code snippets where applicable.} | ||
|
|
||
|
|
||
| ### Parser component |
docs/DeveloperGuide.md
Outdated
| | ⬆ Back to top | Click to scroll back up to the `Table of Contents`. | | ||
| | 🐵 🦊 🦁 | Animals indicate you have reached a new section. | | ||
|
|
||
| [⬆ Back to top](https://ay2324s1-cs2113t-w11-2.github.io/tp/DeveloperGuide.html#table-of-contents) |
There was a problem hiding this comment.
I really like your back to top buttons! Will incorporate this
checked through checkstyleMain
Fix indentation error in HelpCommand.java
Made a draft for Manual Testing section in DG
…r delete function #151








Created Team Repo for tp.
Wildwatch is a program for recording down individual wildlife in a wildlife reserve via the Command Line Interface (CLI).