-
Notifications
You must be signed in to change notification settings - Fork 282
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-3] WhereGotTime #36
base: master
Are you sure you want to change the base?
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.
I like that a lot of effort was put into making several diagrams explaining various components of the program and the aesthetic of some of the digitally hand drawn diagrams, though further elaboration will help enhance the usefulness of your diagrams and help the user better understand your code and implementation rationale. Good work!
while the other two will result in the app giving an error message | ||
prompting the user to re-enter again.<br/> | ||
|
||
### Edit Function<br/> |
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 segment seems incomplete? Minimally some description of what these functions are instead of simply listing would be helpful to the reader.
docs/DeveloperGuide.md
Outdated
#### Design of the Add Function<br/> | ||
|
||
UML Class Diagram of the Add function: | ||
![](team/uml.PNG)<br/> |
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
#### Design of the Add Function<br/> | ||
|
||
UML Class Diagram of the Add function: | ||
![](team/uml.PNG)<br/> |
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
and location) to the timetable class into its arraylist divided by the day of the week<br/> | ||
|
||
#### Sequence Design of Add Function<br/> | ||
![](team/seqdiagram.jpg)<br/> |
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.
You could also perhaps use the same software to create your uml diagrams for the sake of consistency, as the diagrams vary in style along the document.
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
|
||
#### System Architecture of the Add Function<br/> | ||
|
||
![](team/Architect-digram.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
|
||
### Compare Function<br/> | ||
#### System Architecture of the Compare Function<br/> | ||
![](team/CompareCommand_ClassDiagram.jpg) <br/> |
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.
Same issue with the second "blue" user.
docs/DeveloperGuide.md
Outdated
|
||
### Compare Function<br/> | ||
#### System Architecture of the Compare Function<br/> | ||
![](team/CompareCommand_ClassDiagram.jpg) <br/> |
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
|
||
|
||
#### Sequence Design of Compare Function<br/> | ||
![](team/CompareCommand_SequenceDesign.jpg) <br/> |
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.
For this diagram it is a bit disorganized and confusing.
Firstly, it is a bit unclear whether the User class here refers to the User class in the compare function (in which case there shouldn't be a random method call coming from it) or if it refers to an actual user (in which case the notation should be the stick figure not the class header)
Secondly, from the CompareCommand activation bar has an unknown return coming from the middle of the activation bar, while the parsedInputs method call being made to the same activation bar is too low down. This is also the case with the activation bar for the self invoked method call execute and the common time array method call to the UI class.
It is also unclear where the method call to the UI intends to return to as it is chronologically further down than the end of the return from the parsedInputs method.
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.
ON the whole the diagrams are a little confusing. but well made and visually appealing.
docs/DeveloperGuide.md
Outdated
|v1.0|new user|compare my timetable with my friends|schedule a common time for revision together| | ||
|v2.0|user|have my password encrypted|only I can access my own timetables| | ||
|v2.0|user|be assured that my inputs are correctly added|my input are correctly convey into the timetable| | ||
|v2.0|user|access my saved timetables|I do not have to manually enter the timetables again| | ||
|
||
## Non-Functional Requirements |
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
|
||
|
||
#### Sequence Design of Compare Function<br/> | ||
![](team/CompareCommand_SequenceDesign.jpg) <br/> |
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
|
||
### Compare Function<br/> | ||
#### System Architecture of the Compare Function<br/> | ||
![](team/CompareCommand_ClassDiagram.jpg) <br/> |
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.
* To ensure that the users do not enter duplicate event that has the same timing or in between the time | ||
that is entered. | ||
* A verification check is added to the add command of the version 2.0 of WhereGotTime. | ||
|
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.
You could perhaps add a segment to explain the above sequence diagram?
|
||
#### Sequence Diagram | ||
![](team/LogInCommand_Sequence_v002.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.
Opt should be used instead of alt here as there are no alternatives provided.
* master: updated DG updated DG Bug Fix to Add command
Brach yeapcl documentation
@@ -31,4 +174,27 @@ | |||
|
|||
## Instructions for manual testing |
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.
Is it better to follow the format given in here?
# Conflicts: # docs/DeveloperGuide.md # docs/images/Overall Architecture.png # docs/team/Overall Architecture.png # docs/team/OverallArchi.png
Updated DG
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.
Very nice developers guide! It was hard to find things to comment about!
and location) to the timetable class into its arraylist divided by the day of the week<br/> | ||
|
||
#### Sequence Design of Add Function<br/> | ||
![](images/seqdiagram.jpg)<br/> |
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 this sequence diagram should be done using an online application instead of hand drawn?
* UserList: The Class that creates an ArrayList where the User objects will be stored | ||
|
||
#### Class Diagram | ||
![](images/LogInCommand_Class_Diagram_v002.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 some methods like getters should be omitted from the class diagram to simplify and increase readability of the class diagram? 😄
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, it looks good!
There might be some mistakes here and there.
docs/DeveloperGuide.md
Outdated
|
||
The following Sequence Diagram displays how components interact when the user inputs `clear /fri` | ||
|
||
![Architecture Sequence Diagram](images/ArchitectureSequenceDiagram.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.
This image is not loading for me. Perhaps the ".png" is supposed to be ".PNG" instead?
and location) to the timetable class into its arraylist divided by the day of the week<br/> | ||
|
||
#### Sequence Design of Add Function<br/> | ||
![](images/seqdiagram.jpg)<br/> |
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.
Would it be better to use a software to draw the sequence diagram instead of hand drawing it?
|
||
#### Design of the Delete Function<br/> | ||
|
||
![](images/DeleteCommand_umlDiagram.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.
Is there a better way to show 3 arrows pointing to Ui? Perhaps a slightly larger diagram would help?
|
||
### Clear Function | ||
|
||
#### System Architecture of the Clear Function<br/> |
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 system architecture of the delete and clear functions could be consolidated, since they are similar in nature?
* UserList: An arraylist of User<br/> | ||
|
||
#### Design of the Compare Function<br/> | ||
![](images/CompareCommand_UML_Diagram.jpg)<br/> |
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.
Is there a missing bracket in the getTimetable function?
#### Design of the Add Function<br/> | ||
|
||
UML Class Diagram of the Add function: | ||
![](images/uml.PNG)<br/> |
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.
Is the bracket of the execute function supposed to be beside "execute" instead of "void"?
![](images/ListCommand_ArchitectureDiagram.png) | ||
|
||
The Architecture Diagram given above explains the high-level design of the list command.<br/> | ||
* UI: The User Interface of the app<br/> | ||
* ListCommand: The main logic command of the list function<br/> | ||
* Timetable: The arraylist where events that are added are stored accordingly<br/> | ||
* WhereGotTime: The main logic component of the app<br/> | ||
|
||
#### Design of the List Function<br/> | ||
|
||
![](images/ListCommand_umlDiagram.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.
|
||
![](images/ListCommand_umlDiagram.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.
#### Sequence Design of List Function<br/> | ||
![](images/ListCommand_SequenceDiagram.png)<br/> |
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.
#### Sequence Design of Find Function<br/> | ||
![](images/FindCommand_SequenceDiagram.png)<br/> |
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.
|
||
#### Sequence Diagram | ||
![](team/LogInCommand_Sequence_v002.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.
Opt should be used instead of alt here as there are no alternatives provided.
#### Sequence Design of Compare Function<br/> | ||
![](images/CompareCommand_SequenceDesign.jpg) <br/> |
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.
You can improve this by maybe making the arrow that indicate returning from the Ui class from the end of the activation bar, it should reach the activation bar of the execute() in CompareCommand class. Also, try to use puml for diagrams as it would be neater compared to drawing it by hand.
#### Sequence Design of List Function<br/> | ||
![](images/ListCommand_SequenceDiagram.png)<br/> |
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.
Might be better to add an activation bar under the Ui class when printList is called. After calling the printList method, arrows can then be used to indicate returning from Ui to ListCommand and also from execute() to the ListCommand class itself
and location) to the timetable class into its arraylist divided by the day of the week<br/> | ||
|
||
#### Sequence Design of Add Function<br/> | ||
![](images/seqdiagram.jpg)<br/> |
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 should be a return arrow from the activation bar under the Timetable class to the activation bar of execute().
* 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp: updated UG Deleted unused line in ClearCommand Updated UG - renamed heading Updated DG - included sequence diagrams for delete, clear, list and find functions Updated UG - included design for delete, clear, list and find functions Updated UG - created UML Diagrams for clear, delete, find and list commands Update DG - included system architecture for delete, clear, list and find functions Updated DG 'Architecture' section Changed 'Duke' to 'WhereGotTime' Updated 'Setting Up' section in DG Created folder for DG images
…ws an exeption to remind users to follow proper format login username /password.
Updated UG, javadoc and logging
…into tammy-testing
Organised files
Added Logging
Updated About Us
further documentation update
Minor updates
updated JAR link to 2.1
Updated JAR link
…into branch-yeapcl-Documentation * 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp: Updated JAR link Deleted temporary storage folder Updated About Us Fixed checkstyle Organised files Merge branch 'master' of https://github.com/AY2021S1-CS2113-T13-3/tp into tammy-testing Added test for compare command Added logging for list, clear, find and delete functions Update UserGuide.md Update manuelmanuntag96.md
DG formatting fix
An app that detects time table clashes