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

[SinhaVedant] iP #567

Open
wants to merge 69 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
28ad2b8
Add Gradle support
May 24, 2020
ed6d4d2
Bump gradle and lib version
Eclipse-Dominator Aug 5, 2023
376c1ce
Level-0
SinhaVedant Aug 24, 2023
0732b2b
Level-1
SinhaVedant Aug 24, 2023
f68b343
Level-2
SinhaVedant Aug 24, 2023
27b6769
Level-3
SinhaVedant Aug 24, 2023
5893c75
Level-4
SinhaVedant Aug 24, 2023
c36b93a
A-TextUiTesting
SinhaVedant Aug 24, 2023
a5b63ad
Level-5
SinhaVedant Aug 24, 2023
7574be3
Level-6
SinhaVedant Aug 24, 2023
a6c3d8e
Improve text UI
SinhaVedant Sep 7, 2023
fc4e137
Level-7
SinhaVedant Sep 7, 2023
6277d7a
Merge branch 'branch-Level-7'
SinhaVedant Sep 7, 2023
a942795
Level-8
SinhaVedant Sep 7, 2023
d9b68b9
Merge branch 'branch-Level-8'
SinhaVedant Sep 7, 2023
d4fd725
A-MoreOOP
SinhaVedant Sep 7, 2023
2c11281
A-Packages
SinhaVedant Sep 7, 2023
3ef321f
A-Gradle
SinhaVedant Sep 7, 2023
2570bf9
A-JUnit
SinhaVedant Sep 7, 2023
5794d91
A-Jar
SinhaVedant Sep 7, 2023
1cc9b66
A-JavaDoc
SinhaVedant Sep 7, 2023
296495b
A-CodingStandard
SinhaVedant Sep 7, 2023
d673212
Level-9
SinhaVedant Sep 7, 2023
cdb5f1a
Merge branch 'branch-A-JavaDoc'
SinhaVedant Sep 7, 2023
7d946a4
Resolve A-CodingStandard Conflict
SinhaVedant Sep 7, 2023
9d019e5
Resolve Level-9 Conflict
SinhaVedant Sep 7, 2023
ceecb31
Level-10
SinhaVedant Sep 8, 2023
ace54d8
Merge branch 'branch-Level-10'
SinhaVedant Sep 8, 2023
eb44458
Add full commit message
SinhaVedant Sep 15, 2023
e6cc044
Use assert feature
SinhaVedant Sep 15, 2023
33deb12
Improve code quality
SinhaVedant Sep 15, 2023
095f541
Merge pull request #1 from SinhaVedant/branch-A-Assertions
SinhaVedant Sep 15, 2023
0bd78ca
Resolve merge conflict
SinhaVedant Sep 15, 2023
7d9ea7a
Merge pull request #2 from SinhaVedant/branch-A-CodeQuality
SinhaVedant Sep 22, 2023
026c221
Commit changes in duke txt file
SinhaVedant Sep 22, 2023
37ad6dd
Merge branch 'master' into branch-A-CodeQuality
SinhaVedant Sep 22, 2023
32e34a6
Add a brief User Guide (UG)
SinhaVedant Sep 22, 2023
0865487
Merge branch 'master' into branch-Level-8
SinhaVedant Sep 24, 2023
9939560
Update deadline date format
SinhaVedant Sep 24, 2023
a8d5455
Merge branch 'branch-Level-8'
SinhaVedant Sep 24, 2023
756f992
Test the latest update in master branch
SinhaVedant Sep 24, 2023
e887e87
Update Ui.java file
SinhaVedant Sep 24, 2023
2776539
Update Storage.java file
SinhaVedant Sep 24, 2023
9f74420
Update parser class
SinhaVedant Sep 24, 2023
ef7f6fb
Implement better OOP
SinhaVedant Sep 24, 2023
e1a8c5d
Merge branch 'branch-A-MoreOOP'
SinhaVedant Sep 24, 2023
3045fb4
Merge branch 'add-gradle-support'
SinhaVedant Sep 24, 2023
dac21a2
Add test-cases for Storage and Parser classes
SinhaVedant Sep 25, 2023
b3a9246
Create a jar file
SinhaVedant Sep 25, 2023
ff5848c
Complete tutorial of GUI
SinhaVedant Sep 25, 2023
d648e07
Complete GUI for the project
SinhaVedant Sep 25, 2023
9d6be40
Merge branch 'GUI'
SinhaVedant Sep 25, 2023
a7ba89a
Add assertions to the code
SinhaVedant Sep 25, 2023
aee1430
Add JavaDoc to some classes and methods
SinhaVedant Sep 25, 2023
aaabd4b
Add screenshot of ip project
SinhaVedant Sep 25, 2023
a0078c7
Update the user guide
SinhaVedant Sep 25, 2023
5c9b926
Create final jar file
SinhaVedant Sep 25, 2023
2c0fc4c
Set mainClass to duke.Launcher
SinhaVedant Sep 28, 2023
69cedb8
Improve code quality
SinhaVedant Sep 28, 2023
9609ab4
Merge branch 'improve'
SinhaVedant Sep 28, 2023
fb64bd2
Improve Ui
SinhaVedant Sep 28, 2023
9803c2b
Update Storage class to create a new file
SinhaVedant Sep 28, 2023
1e3472f
Merge branch 'improve'
SinhaVedant Sep 28, 2023
f9eb6b9
Update JavaDocs
SinhaVedant Sep 28, 2023
87520d1
Improve GUI of Sivraj
SinhaVedant Sep 28, 2023
ed11395
Merge branch 'gui2'
SinhaVedant Sep 28, 2023
125f802
Resolve merge conflict
SinhaVedant Sep 28, 2023
ec30bc1
Merge pull request #4 from SinhaVedant/branch-A-CodeQuality
SinhaVedant Sep 28, 2023
7987ed9
Improve JavaDoc
SinhaVedant Sep 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Duke project template
# duke.Duke project template

This is a project template for a greenfield Java project. It's named after the Java mascot _Duke_. Given below are instructions on how to use it.

Expand All @@ -13,7 +13,7 @@ Prerequisites: JDK 11, update Intellij to the most recent version.
1. If there are any further prompts, accept the defaults.
1. Configure the project to use **JDK 11** (not other versions) as explained in [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk).<br>
In the same dialog, set the **Project language level** field to the `SDK default` option.
3. After that, locate the `src/main/java/Duke.java` file, right-click it, and choose `Run Duke.main()` (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output:
3. After that, locate the `src/main/java/duke.Duke.java` file, right-click it, and choose `Run duke.Duke.main()` (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output:
Copy link

Choose a reason for hiding this comment

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

I believe this is a typo that might've been introduced by IntelliJ's auto-refactoring process?

```
Hello from
____ _
Expand Down
57 changes: 57 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}

repositories {
mavenCentral()
}

dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0'
String javaFxVersion = '17.0.7'

implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'linux'
}

test {
useJUnitPlatform()

testLogging {
events "passed", "skipped", "failed"

showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams = false
}
}

application {
mainClass.set("duke.Launcher")
}

shadowJar {
archiveBaseName = "duke"
archiveFileName = 'Sivraj.jar'
archiveClassifier = null
dependsOn("distZip", "distTar")
}

run{
standardInput = System.in
}
2 changes: 2 additions & 0 deletions data/duke.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
T | 1 | walk

75 changes: 60 additions & 15 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,74 @@
# User Guide
# User Guide - Sivraj
Sivraj is a easy to use chatbot style application to schedule and manage tasks.

It can be distributed as a .jar file.

## Features

### Feature-ABC
### Feature- Add ToDo

Adds a task todo with only description and no deadline.

**Format** - `todo task`

**Example** - `todo walk`




### Feature- Add Deadline

Adds a deadline task with description and deadline date.

**Format** - `deadline task /by date`, (date should be in format yyyy-mm-dd)

**example** - `deadline return book /by 2017-08-07`



### Feature- Add Event
Adds an Event task with description, start date and end date.

**Format** - `event task /from start date & time /to end date & time`, (start/end date & time are in string format)

**example** - `event project meeting /from Mon 2pm /to 4pm`


### Feature- Delete task
Deletes a task based on its index number in the task list.

**Format** - `delete indexNumber`, (indexNumber is an integer)

**example** - `delete 3`



### Feature- Mark task
Marks a specific task as done/completed using index number.

**Format** - `mark indexNumber`, (indexNumber is an integer)

**example** - `mark 3`



Description of the feature.
### Feature- Unmark task
Marks a specific task as not done/completed using index number.

### Feature-XYZ
**Format** - `unmark indexNumber`, (indexNumber is an integer)

Description of the feature.
**example** - `unmark 3`

## Usage

### `Keyword` - Describe action

Describe the action and its outcome.
### Feature- List tasks
Lists all the current and previous tasks that are recorded in a text file.

Example of usage:
**Format** - `list`

`keyword (optional arguments)`

Expected outcome:
### Feature- Bye
Gives a goodbye message and saves the current state of task list into the text file.

Description of the outcome.
**Format** - `bye`

```
expected output
```
Binary file added docs/Ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 7 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading