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

PR for Week 4 peer review #543

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

Commits on Aug 8, 2023

  1. Add Gradle support

    damithc authored and damithc committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    28ad2b8 View commit details
    Browse the repository at this point in the history
  2. Bump gradle and lib version

    Eclipse-Dominator authored and damithc committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    ed6d4d2 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Level 0. Rename, Greet, Exit.

    Deleted Duke.java, replaced with Jarvis.java and edited Jarvis.java
    amosting committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    26b9e67 View commit details
    Browse the repository at this point in the history
  2. Level 1. Echo

    Added logic to echo user commands.
    If user enters anything other than bye, echo. If user enters bye, reply with goodbye message.
    amosting committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    07ec1b4 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Level 2. Add, List.

    Added logic to store tasks and print out a list of tasks when the request "list" is given.
    amosting committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    92d1e60 View commit details
    Browse the repository at this point in the history
  2. Level 3. Mark as Done.

    Added Task.java.
    Added logic for "mark" and "unmark"
    amosting committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    16ff2bc View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Level 4. ToDos, Events, Deadlines

    Added Todo.java, Event.java and Dealine.java which inherit from Task.java
    Added logic in Jarvis.java to handle "todo", "event" and "deadline" commands
    amosting committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    9352ee1 View commit details
    Browse the repository at this point in the history
  2. A-TextUiTesting: Automated Text UI Testing

    Added command line inputs into input.txt and expected outputs into expected.txt.
    Added simple logic to handle erroneous inputs, this is not completed.
    Removed ASCII art because it was causing too many issues with the input output comparison.
    amosting committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    2cf0402 View commit details
    Browse the repository at this point in the history
  3. Level 5. Handle Errors.

    Added JarvisException.java which is the parent of IncorrectJarvisCommandException.java, InvalidTaskNumberException.java and WrongJarvisCommandFormatException.java
    Added logic to handle errors in Jarvis.java
    amosting committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    c59aaf2 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Level 6. Delete.

    Added logic to handle delete command.
    Added error handling for delete command.
    Organised error handling to become more modular and added regex matching.
    amosting committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    51a3755 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Add Level 7. Save.

    Added save logic to allow for task list to be saved to local drive.
    Used gitignore on data.txt so that git will not track changes to data.txt as it is the file that stores the task list data.
    Further modularised and cleaned up code in main.
    amosting committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    4aea4a8 View commit details
    Browse the repository at this point in the history
  2. Revert "Add Level 7. Save."

    This reverts commit 4aea4a8.
    amosting committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    8cfc1a6 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Revert "Revert "Add Level 7. Save.""

    This reverts commit 8cfc1a6.
    amosting committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    9eadc16 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. Add Level 8. Dates and Times.

    Added logic in Deadline class to handle date recognition.
    Added empty function in Task class for inheritance in Deadline class.
    amosting committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    dc10fae View commit details
    Browse the repository at this point in the history
  2. Add TaskList.java

    TaskList.java added to extract out tasklist related code from main to keep code modular.
    appendTask, addTask, deleteTask, getTask, countTask, isValidTaskNumber, printTask, printDelete, printTaskList all added into TaskList.java
    amosting committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    d8cb2c5 View commit details
    Browse the repository at this point in the history
  3. Add Storage.java

    Storage.java added to extract out loading and saving file related code from main to keep code modular.
    load, deleteContents, save methods added
    Logic for instantiating TaskList object from a saved file also added
    amosting committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    27a6152 View commit details
    Browse the repository at this point in the history
  4. Add Parser and Ui class and changed Jarvis.java

    Parser.java added to process user commands and execute the proper actions needed, this logic was shifted from Jarvis.java for OOP
    Ui.java added to handle UI interfacing with users, printing the proper information needed for a pleasant user experience, this logic was shifted form Jarvis.java for OOP
    Jarvis.java edited to handle the increase in OOP
    amosting committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    d3119d0 View commit details
    Browse the repository at this point in the history
  5. A-Packages. Organize into Packages.

    Organised all .java files into the Jarvis Package
    amosting committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    48cf1ab View commit details
    Browse the repository at this point in the history
  6. Revert "A-Packages. Organize into Packages."

    This reverts commit 48cf1ab.
    amosting committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    04a8164 View commit details
    Browse the repository at this point in the history
  7. A-Packages. Organise into packages.

    Organised classes into Jarvis package for better organisation
    amosting committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    6958f1b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ef14643 View commit details
    Browse the repository at this point in the history
  9. Add A-Gradle. Use Gradle.

    Changed the file name in the Gradle build file so that gradle can run the program.
    amosting committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    5cf8a7f View commit details
    Browse the repository at this point in the history
  10. A-JUnit. Add JUnit Tests.

    Added ToDoTest and DeadlineTest classes and used JUnit to test the toString() methods ToDo and Deadline classes respectively.
    amosting committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    f27d99a View commit details
    Browse the repository at this point in the history
  11. A-Jar. Create a JAR File.

    Added archiveFileName in order for .jar file to be named correctly
    amosting committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    b02aef4 View commit details
    Browse the repository at this point in the history
  12. Add Level-9. Find.

    Added findTask to TaskList class to identify matching tasks and return them in a Task ArrayList.
    Added printFoundTask to Ui.java to show the user the found files.
    amosting committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    29329cd View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Add. A-JavaDoc. JavaDoc.

    Added JavaDoc descriptions to the Deadline, Event, Jarvis, Parser, Task, TaskList and ToDo classes.
    amosting committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    c429a82 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'Level-9'

    amosting committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    2f4acb9 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Add A-CheckStyle. Use CheckStyle.

    Added CheckStyle to detect coding style violations, added logic in build.gradle to support checkstyle.
    Edited existing code after adding CheckStyle make sure coding style is not violated.
    amosting committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    2c7c4ca View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Add Level-10. GUI.

    Added DialogBox, Launcher, Main and MainWindow classes to support javaFx.
    Edited Jarvis, Parser, TaskList and Ui classes to support javaFx.
    amosting committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    3e4610c View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Add A-Assertions. Use Assertions.

    Added assertions to Jarvis, Parser, Storage, TaskList, Ui classes.
    amosting committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    fb007b2 View commit details
    Browse the repository at this point in the history
  2. Removal of dead code and static keywords for Jarvis, Parser and Ui cl…

    …asses.
    
    Dead code and unused variables are redundant and confuses other developers.
    Wrong use of static keyword confuses others developers as class level methods and attributes are not actually meant to be as such.
    
    Delete dead code and remove unnecessary static keywords.
    
    So as to declutter code and fix wrong class level methods.
    amosting committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    95f9ed0 View commit details
    Browse the repository at this point in the history
  3. A-CI. Set up CI.

    Added gradle.yml file to set up CI for iP.
    amosting committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    460f202 View commit details
    Browse the repository at this point in the history
  4. Add priority attribute, methods and priority level enum to Task class…

    … and its children.
    
    To support adding priority levels to tasks.
    amosting committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    d77a671 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Edit pattern recognition logic and existing functions to support addi…

    …tional priority value in Tasks.
    
    The current pattern recognition logic does not support the additional priority string.
    And the current constructors used to construct Task objects does not support Task classes.
    
    New pattern recognition logic recognises when the user adds low/medium/high after typing the previous format of tasks.
    amosting committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    dab3185 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Add logic to handle new priority feature, for checking of correct use…

    …r input.
    
    Edited regex expression in TaskList to handle priority field.
    Edited return statements in Ui.java to return correct task format for new priority feature.
    amosting committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    6ecc802 View commit details
    Browse the repository at this point in the history
  2. Add Ui screenshot of product

    amosting committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    80f3eb2 View commit details
    Browse the repository at this point in the history
  3. Add User Guide.

    Edited README.md to have a proper user guide for Jarvis chatbot.
    Edited some small Ui class return strings to ensure proper and consistent formatting.
    amosting committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    6f2d229 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. Renamed to Ui.png

    amosting committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    4b00c23 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. Bug fixes

    amosting committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    159f381 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71c19f3 View commit details
    Browse the repository at this point in the history