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

[samriddh2145] iP #645

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
68c58c1
Add Gradle support
May 24, 2020
03523ec
Bump gradle and lib version
Eclipse-Dominator Aug 5, 2023
81a9c53
build.gradle: Prevent generating a second JAR file
aureliony Jul 16, 2024
962daa9
Level 0 - Rename main class and message.
samriddh2145 Aug 30, 2024
19b1f75
Level 0
samriddh2145 Aug 30, 2024
93e0062
Level 1
samriddh2145 Aug 30, 2024
15bb306
Level 2
samriddh2145 Aug 30, 2024
40808b5
Level 3
samriddh2145 Aug 30, 2024
3ca6677
level4
samriddh2145 Sep 4, 2024
0265f50
Automated_Testing
samriddh2145 Sep 4, 2024
756f9de
Level5
samriddh2145 Sep 6, 2024
cf46cc2
Level6
samriddh2145 Sep 6, 2024
1cecdae
Enums
samriddh2145 Sep 6, 2024
b645e1d
Implemented saving and loading file functionality
samriddh2145 Sep 9, 2024
1460fdd
Merge branch 'branch-level-7'
samriddh2145 Sep 9, 2024
682a2a7
Chatbot now saves date and time as LocalDateTime
samriddh2145 Sep 13, 2024
484c3fc
Merge branch 'branch-Level-8'
samriddh2145 Sep 13, 2024
d150412
Added more OOP properties
samriddh2145 Sep 16, 2024
e030379
Added package
samriddh2145 Sep 16, 2024
2012375
Merge remote-tracking branch 'origin/add-gradle-support'
samriddh2145 Sep 16, 2024
dd58a5c
Add JUnit Tests
samriddh2145 Sep 16, 2024
6d4d819
Add JavaDoc comments
samriddh2145 Sep 17, 2024
37768e9
Apply coding standards
samriddh2145 Sep 19, 2024
5ff2982
Implement Level-9
samriddh2145 Sep 19, 2024
5934709
Resolve conflicts and merge branch-A-CodingStandard
samriddh2145 Sep 19, 2024
3b1822e
Resolve conflicts and merge branch-Level-9
samriddh2145 Sep 19, 2024
5be2639
Add GUI and implement Level-10
samriddh2145 Sep 19, 2024
3b1e02f
Merge branch 'branch-Level-10'
samriddh2145 Sep 19, 2024
e9f77b6
Add assert feature
samriddh2145 Sep 20, 2024
68f3ec0
Improve code quality
samriddh2145 Sep 20, 2024
3463b57
Merge pull request #2 from samriddh2145/branch-A-Assertions
samriddh2145 Sep 20, 2024
a3de517
Merge pull request #3 from samriddh2145/branch-A-CodeQuality
samriddh2145 Sep 20, 2024
8acd894
Add stats command to display task statistics
samriddh2145 Sep 20, 2024
97e452a
Fix the issue of welcome message
samriddh2145 Sep 20, 2024
b758e84
Add User Guide and Product Image
samriddh2145 Sep 21, 2024
85cef01
Update README
samriddh2145 Sep 21, 2024
1256e3c
Add changes for jar release
samriddh2145 Sep 21, 2024
af9b906
Add Launcher class
samriddh2145 Sep 30, 2024
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
59 changes: 59 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'checkstyle'
}

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("bing.Launcher")
}

shadowJar {
archiveBaseName = 'bing'
archiveClassifier = null
archiveFileName = 'bing.jar'
}

run {
standardInput = System.in
}
4 changes: 4 additions & 0 deletions data/tasks.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
T | 0 | read book
D | 1 | return book | 2/12/2019 1800
T | 0 | assignment
E | 0 | function | 8/12/2024 1200 | 8/12/2024 1600
159 changes: 145 additions & 14 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,161 @@
# Duke User Guide
# Bing User Guide

// Update the title above to match the actual product name
![Product Screenshot](Ui.png)

// Product screenshot goes here
## Introduction

// Product intro goes here
Welcome to **Bing**, your personalised task management assistant. With Bing, you can effortlessly manage your tasks, deadlines, and events. Bing's intuitive commands help you stay organized and on top of your schedule, offering a clean interface for both storing, marking and finding tasks.

## Adding deadlines

// Describe the action and its outcome.
## Features

// Give examples of usage
### Viewing Tasks
Users can view the stored tasks using the command list
Example -
```
list
```
Expected output -
```
______________________________
All tasks in your list:
1. [T][] read book
______________________________
```

### Adding ToDos
Users can add a ToDo task to the list using the commmand - todo [task name]
Example -
```
todo assignment
```
Expected output -
```
______________________________
All tasks in your list:
1. [T][] read book
2. [T][] assignment
______________________________
```

### Adding Deadlines
Users can add a Deadline task to the list using the commmand - deadline [task name] /by [DD/MM/YYYY HHMM]
Example -
```
deadline return book /by 08/12/2024 1600
```
Expected output -
```
______________________________
All tasks in your list:
1. [T][] read book
2. [T][] assignment
3. [D][] return book (by: Dec 2 2019 1800)
______________________________
```

Example: `keyword (optional arguments)`
### Adding Events
Users can add an Event to the list using the commmand - event [event name] /from [DD/MM/YYYY HHMM] /to [DD/MM/YYYY HHMM]
Example -
```
event function /from 08/12/2024 1200 /to 08/12/2024 1600
```
Expected output -
```
______________________________
All tasks in your list:
1. [T][] read book
2. [T][] assignment
3. [D][] return book (by: Dec 2 2019 1800)
4. [E][] function (from: Dec 8 2024 1200 to: Dec 8 2024 1600)
______________________________
```

// A description of the expected outcome goes here
### Finding Tasks
Users can find a task in the list using the commmand - find [keyword]
Example -
```
find book
```
Expected output -
```
______________________________
All tasks in your list:
1. [T][] read book
2. [D][] return book (by: Dec 2 2019 1800)
______________________________
```

### Deleting Tasks
Users can delete a task in the list using the commmand - delete [task number]
Example -
```
delete 1
```
expected output
Expected output -
```
______________________________
All tasks in your list:
1. [T][] assignment
2. [D][] return book (by: Dec 2 2019 1800)
3. [E][] function (from: Dec 8 2024 1200 to: Dec 8 2024 1600)
______________________________
```

## Feature ABC
### Marking Tasks
Users can mark a task as done in the list using the commmand - mark [task number]
Example -
```
mark 1
```
Expected output -
```
______________________________
All tasks in your list:
1. [T][X] assignment
2. [D][] return book (by: Dec 2 2019 1800)
3. [E][] function (from: Dec 8 2024 1200 to: Dec 8 2024 1600)
______________________________
```

// Feature details
### Unmarking Tasks
Users can unmark a task in the list using the commmand - unmark [task number]
Example -
```
unmark 1
```
Expected output -
```
______________________________
All tasks in your list:
1. [T][] assignment
2. [D][] return book (by: Dec 2 2019 1800)
3. [E][] function (from: Dec 8 2024 1200 to: Dec 8 2024 1600)
______________________________
```

### View statistics
Users can see statistics such as total tasks in the list, number of marked tasks in the list and number of unmarked tasks in the list using the command - stats
Example -
```
stats
```
Expected output -
```
Total tasks : 3
Marked tasks : 0
Unmarked tasks : 0
```

## Feature XYZ
### Exiting application
Users can exit the application using the command - bye
Example -
```
bye
```
Expected output -
```
Bye!
Have a good day !
```

// Feature details
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