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

[Tan Hin Khai Stephen] iP #454

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

Conversation

blackonyyx
Copy link

  1. Duke Prototype Works
  2. Add Text UI Script Testing
  3. Add Proposed commands: todo, deadline, event
  4. Add saving and loading from text files
  5. Add DukeException Classes
  6. Enumerated Duke Exception Technical Messages
  7. Enumerated commands to duke
  8. Add main loop elements to UI class.
  9. Add jar file
  10. Add datetime parsing and autocorrection (Not fully functional)

damithc and others added 21 commits July 23, 2020 23:27
can now save the tasklist to a textfile.
Also added tag for packages that was already done in a previous
iteration of the project.
1. Added datetime functionalities to the timed task
2. Added datetime difference to response message by Duke
3. Added String cleaning strip() to Duke inputs.
4. Added new Help Messages
5. Added Autocorrect function using time of initial execution as default
datetime.
6. Added Deadlines and Event occurance countdowns from given datetime
parsed to the current date.
Merge Branch 7 and Branch 8 into master
1. Refactor Duke.java and ChatboxApplication.java with Mainloop in
ChatboxApplication
    This is in order to perform future UI implementations and allow
    interfacing between Chatbot back end and front end.
2. Add Text Parser class
    This is in order to perform text string parsing for user inputs.
    Tested for Expected Exceptions and Expected returns from methods
    called
    This is due to these classes being most essential for proper
    functioning of the main loop and to handle the user input.
1. Add find function
    Find function performs a search in the description of each task
    This is done using Regex to find matching patterns, rather than just
    using CharSequences.
To allow for better code review and understanding by other peer
reviewers
as well as javadocs for most methods inside the classes
Added Checkstyle and JavaDocs into IP
This allows for more automated integration of testing and compilation
for the production version.
Use gradle to refactor and update more documentation for javadocs
This allowed better updating of documentations
Copy link

@rtshkmr rtshkmr left a comment

Choose a reason for hiding this comment

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

Hi, your code is really nice to read, it's clean and naming is aptly done. Flows really well. Couldn't nitpick on any specific naming violations though. Good job man! 👍

src/main/java/Duke.java Outdated Show resolved Hide resolved
src/main/java/exceptions/DukeCommandException.java Outdated Show resolved Hide resolved
src/main/java/exceptions/DukeException.java Outdated Show resolved Hide resolved
src/main/java/exceptions/DukeException.java Outdated Show resolved Hide resolved
src/main/java/exceptions/DukeException.java Outdated Show resolved Hide resolved
src/main/java/exceptions/ErrorEncode.java Outdated Show resolved Hide resolved
src/main/java/tasks/TimedTask.java Outdated Show resolved Hide resolved
This will make code more readable and comply with the code standards
Copy link

@petrickjerico petrickjerico left a comment

Choose a reason for hiding this comment

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

Hi, blackonyyx! After reviewing your PR, I found that your code overall looks very neat and clean 👍🏼 I found some library usages that stood as insightful and worth trying out on my own too. The code could use some minor cosmetics, but otherwise, the refactoring is thorough and effective. Kudos!

src/main/java/exceptions/ErrorEncode.java Outdated Show resolved Hide resolved
src/main/java/tasks/Task.java Outdated Show resolved Hide resolved
src/main/java/tasks/Task.java Outdated Show resolved Hide resolved
src/main/java/tasks/TextParser.java Outdated Show resolved Hide resolved
src/main/java/tasks/TaskManager.java Outdated Show resolved Hide resolved
Add JavaFX for duke application todo: edit the linebreaks and wrappers
to get a better display.
TODO: Add initial message and username setting
style.

Refactor of Commands inside TaskList to the CommandList Library
This will prevent TaskManager Class from being overbulked with methods,
and modularises command tasks to a functional interface.

Refactor of User Interface into a Interface class that is to be used by both
GUI and CLI methods of execution.
Refactor of GUI to use GUIHelper class to handle the interface between
the backend and front end of script.

Proper indentation of most tasks have been performed.

Help Command can now support command based help searches.
Minor String Formatting modifications
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.

3 participants