Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
393 commits
Select commit Hold shift + click to select a range
3d51ea7
Merge pull request #88 from Ben926/branch-Edit-filter
pastchum Mar 25, 2025
a81ed49
Fix styling
Ben926 Mar 25, 2025
95855b5
Fix styling
Ben926 Mar 25, 2025
e0f9164
Merge pull request #89 from Ben926/branch-Edit-booking-command
Ben926 Mar 25, 2025
4224eb2
Remove tags from Booking model to reduce redundancy with remarks field
yxnxiangg Mar 26, 2025
84fb320
Remove tags from Booking model to reduce redundancy with remarks field
yxnxiangg Mar 26, 2025
bfb095d
Update Delete Person to delete bookings
pastchum Mar 26, 2025
4deda2e
Merge pull request #92 from pastchum/branch-Update-Delete-Person
Ben926 Mar 26, 2025
6b1b520
Update booking card ui
yxnxiangg Mar 26, 2025
d77c7d7
Merge pull request #93 from isawangyx/branch-remove-bookingtags
pastchum Mar 26, 2025
ded36b8
Merge pull request #94 from isawangyx/branch-bookinglist-ui
pastchum Mar 26, 2025
2e60966
Add function to filter bookings by status
yxnxiangg Mar 27, 2025
32ba63f
Fix checkstyle
yxnxiangg Mar 27, 2025
b39264e
Merge pull request #96 from isawangyx/branch-filter-booking-status
pastchum Mar 27, 2025
c2e954b
Add /today command to show today's bookings and persons
LuBolin Mar 27, 2025
bfd5ac5
Fix booking panel not syncing when mark command executes
LuBolin Mar 27, 2025
d1f1bdd
Merge pull request #98 from LuBolin/branch-Add-Today-Command
pastchum Mar 27, 2025
dc48bf0
Merge pull request #97 from LuBolin/branch-Fix-Mark-BookingPanel-Sync
pastchum Mar 27, 2025
664b426
Add AddBookingCommandTest.java
jaylontan Mar 27, 2025
cfdfb9c
Update AddCommandParserTest.java
jaylontan Mar 27, 2025
9c5d3ed
Add AddBookingCommandParserTest.java
jaylontan Mar 27, 2025
5a53fbe
Update Checkstyle
jaylontan Mar 27, 2025
bc34873
Fix AddBookingCommandTest.java
jaylontan Mar 27, 2025
fcfaea2
Merge branch 'master' of https://github.com/AY2425S2-CS2103T-T08-2/tp…
jaylontan Mar 27, 2025
498859b
Fix AddBookingCommandTest.java
jaylontan Mar 27, 2025
55c1121
Merge pull request #102 from jaylontan/branch-add-testing
pastchum Mar 27, 2025
d293ccc
Remove AddBookingCommand unused ObservableList import
pastchum Mar 27, 2025
782ffba
Merge branch 'AY2425S2-CS2103T-T08-2:master' into branch-Update-Add-B…
pastchum Mar 27, 2025
91f5dc3
Update AddBookingCommandTest
pastchum Mar 27, 2025
66843e2
Merge pull request #105 from pastchum/branch-Update-Add-Booking-Command
jaylontan Mar 27, 2025
808d8f5
Update Model UML with bookings
Ben926 Mar 27, 2025
baad7b6
Merge pull request #106 from Ben926/branch-Update-UML
pastchum Mar 28, 2025
4470d73
Update StorageClassDiagram UML
pastchum Mar 28, 2025
0603b73
Add MarkCommandTest.java
jaylontan Mar 28, 2025
5ca71ba
Add MarkCommandParserTest.java
jaylontan Mar 28, 2025
dfcc70e
Update Checkstyle
jaylontan Mar 28, 2025
83ca39c
Add FilterCommandTest.java
jaylontan Mar 28, 2025
32a6ebc
Add FilterCommandParserTest.java
jaylontan Mar 28, 2025
c24a895
Update Checkstyle
jaylontan Mar 28, 2025
5cc6e67
Add note about phone being unique per person
LuBolin Mar 28, 2025
bba9dbf
Update UiClassDiagram UML
yxnxiangg Mar 28, 2025
7d633b1
Merge pull request #111 from isawangyx/branch-ui-class-diagram
LuBolin Mar 29, 2025
e159f56
Merge pull request #109 from jaylontan/branch-add-testing-mark-command
LuBolin Mar 29, 2025
e1e4dc1
Merge pull request #108 from jaylontan/branch-add-testing-filter-command
LuBolin Mar 29, 2025
12b8c59
Merge pull request #110 from LuBolin/branch-Puml-ModelClassDiagram-Pe…
isawangyx Mar 29, 2025
c1b3089
Add filtered label ui when filter command is executed
yxnxiangg Mar 30, 2025
cf283a4
Clean up code
yxnxiangg Mar 30, 2025
3c6c6da
Edit unit test
yxnxiangg Mar 30, 2025
2afedc5
Merge branch 'master' of https://github.com/isawangyx/tp into branch-…
yxnxiangg Mar 30, 2025
02d0753
Edit unit test
yxnxiangg Mar 30, 2025
df8ba9c
Merge pull request #107 from pastchum/branch-Update-UML
Ben926 Mar 30, 2025
757849e
Merge pull request #112 from isawangyx/branch-filtered-label-ui
Ben926 Mar 30, 2025
9dcc305
Update ParserUtil.java
jaylontan Mar 30, 2025
9421fdb
Update edit person command
Ben926 Mar 30, 2025
a65d95f
Fix styles
Ben926 Mar 30, 2025
ebb8cc8
Update ParserUtilTest.java
jaylontan Mar 30, 2025
40d83ea
Merge pull request #114 from Ben926/branch-Update-edit-command
jaylontan Mar 30, 2025
ca998c0
Merge pull request #116 from jaylontan/branch-add-booking-fix-date-input
Ben926 Mar 30, 2025
c45606f
Add BookingBuilder class
pastchum Mar 30, 2025
4fccf96
Update TypicalBookings class
pastchum Mar 30, 2025
96b612c
Fix bugs for duplicate fields
Ben926 Mar 31, 2025
14cb092
Fix styles
Ben926 Mar 31, 2025
172d57c
Fix for add command duplicate member field
Ben926 Mar 31, 2025
a0cbde4
Merge pull request #143 from Ben926/branch-Bug-fix-duplicate-fields
Ben926 Mar 31, 2025
35dc29a
Add JsonAdaptedBookingTest cases
pastchum Mar 31, 2025
ed37933
Fix CheckStyle
pastchum Mar 31, 2025
e1594d7
Remove tags field for add and edit booking classes
Ben926 Mar 31, 2025
b0116ce
Merge pull request #145 from Ben926/branch-Remove-tags-field-bug
pastchum Mar 31, 2025
f00f7a5
Add JsonSerialisableAddressBookTest Booking test cases
pastchum Mar 31, 2025
99b5b33
Fix CheckStyle Main
pastchum Mar 31, 2025
2ee3c31
Merge pull request #146 from pastchum/branch-Update-Storage-Tests
Ben926 Mar 31, 2025
6372ef9
Fix Edit Booking Frozen Ui
pastchum Mar 31, 2025
a148ffe
Fix ClearBookings Frozen Ui Bug
pastchum Mar 31, 2025
ea291d4
Merge pull request #147 from pastchum/branch-Fix-Edit-Booking-Ui
isawangyx Mar 31, 2025
2b78087
Update BookingCard Status colour
pastchum Mar 31, 2025
1ce6f8f
Add BookingCount
pastchum Mar 31, 2025
4ade5c9
Update PersonCard Ui
pastchum Mar 31, 2025
ef8642c
Fix Checkstyle
pastchum Mar 31, 2025
a8bed7c
Merge pull request #148 from pastchum/branch-Fix-Clear-Bookings-Froze…
LuBolin Mar 31, 2025
bc743d2
Make person card's booking bubbles show only upcoming orders
LuBolin Mar 31, 2025
cc29271
Add checking of person's existence by phone number duplicates
LuBolin Mar 31, 2025
d4f6a07
Merge pull request #149 from LuBolin/branch-Person-Card-Show-Only-Upc…
isawangyx Apr 1, 2025
5a5446f
Merge pull request #150 from LuBolin/branch-Check-Person-Existance-By…
isawangyx Apr 1, 2025
2e99376
Add warning message when adding past bookings
yxnxiangg Apr 1, 2025
dc27ef3
Edit unit test
yxnxiangg Apr 1, 2025
d6d899d
Add warning message if edited date is in the past
yxnxiangg Apr 1, 2025
40e23c7
Add unit test for edit booking command
yxnxiangg Apr 1, 2025
c9afa70
Fix checkstyle
yxnxiangg Apr 1, 2025
7454f1d
Set booking pax between 1 and 20
yxnxiangg Apr 1, 2025
201a2fb
Edit unit test
yxnxiangg Apr 1, 2025
33cf754
Merge pull request #151 from isawangyx/branch-add-past-bookings-warning
pastchum Apr 1, 2025
92aacc2
Merge pull request #153 from isawangyx/branch-bookingpax-limit
pastchum Apr 1, 2025
50a85b7
Merge branch 'AY2425S2-CS2103T-T08-2:master' into branch-Update-Ui
pastchum Apr 1, 2025
9ddb559
Disallow edit person's phone for our use case
yxnxiangg Apr 1, 2025
cf84676
Edit user prompt message for clarity
yxnxiangg Apr 1, 2025
64af6f4
PersonCard: Sort Bookings by date
pastchum Apr 1, 2025
a40be3f
Fix CheckStyle
pastchum Apr 1, 2025
7195e69
Merge pull request #155 from isawangyx/branch-disallow-edit-phone
pastchum Apr 1, 2025
1c6b251
Merge pull request #156 from pastchum/branch-Update-Booking-Ui
isawangyx Apr 1, 2025
eb9e313
EditCommand: Fix remove bookings from person bug
pastchum Apr 1, 2025
70eef5a
Update AddCommandParser.java and Phone.java
jaylontan Apr 1, 2025
9f2ac76
Update ArchitectureSequenceDiagram.puml
jaylontan Apr 1, 2025
d37ce3d
Fix CheckStyle
pastchum Apr 1, 2025
d29f581
Merge pull request #158 from pastchum/branch-Fix-Edit-Command-Removes…
jaylontan Apr 1, 2025
cdd553a
Update Person identity to be based on phone number only
jaylontan Apr 1, 2025
6d29a6c
Merge pull request #159 from jaylontan/branch-fix-issues
LuBolin Apr 1, 2025
233ee98
Update Filter Command
pastchum Apr 1, 2025
ed3d874
Merge pull request #160 from pastchum/branch-Filter-Booking-Command-F…
jaylontan Apr 1, 2025
05683ec
Display upcoming bookings when booking is edited
yxnxiangg Apr 1, 2025
76df5b1
Refactor: use reusable predicate for filtering upcoming bookings
yxnxiangg Apr 1, 2025
d05afe3
Fix checkstyle
yxnxiangg Apr 1, 2025
f003ba3
Edit clear command word
Ben926 Apr 1, 2025
5abfa1b
Merge pull request #162 from isawangyx/branch-fix-edit-booking
jaylontan Apr 1, 2025
41b6d93
EditCommand: Update Bookings under Person object
pastchum Apr 1, 2025
0dafba9
Add delete booking command
Ben926 Apr 1, 2025
be1264e
Fix styles
Ben926 Apr 1, 2025
b404b18
Fix test cases
pastchum Apr 1, 2025
ca0191b
Fix CheckStyle
pastchum Apr 1, 2025
c4d23f3
Filter filters persons
pastchum Apr 1, 2025
40cbdde
Reset Filter
pastchum Apr 1, 2025
a0d320a
Fix CheckStyle
pastchum Apr 1, 2025
aa1e06f
Merge pull request #164 from Ben926/branch-Fix-clear-commands
isawangyx Apr 1, 2025
e0444e6
Merge pull request #165 from pastchum/branch-Reset-Filter-Function
isawangyx Apr 1, 2025
4e54a67
Improve error handling for our use case
yxnxiangg Apr 2, 2025
409b2ad
Improve error handling for filter command
yxnxiangg Apr 2, 2025
0791908
Merge pull request #169 from isawangyx/branch-improve-error-handling
pastchum Apr 2, 2025
a40151b
Fix Ui Freeze
pastchum Apr 2, 2025
3e91b83
PersonCard: Update BookingCount Label
pastchum Apr 2, 2025
8a8f1bb
Fix DeleteBooking Ui Freeze Bug
pastchum Apr 2, 2025
8744ed5
Merge pull request #170 from pastchum/branch-Fix-Ui-Freeze
isawangyx Apr 2, 2025
e42eff9
Update output text to wrap
jaylontan Apr 2, 2025
ce19262
Merge pull request #171 from jaylontan/branch-update-cli-text
pastchum Apr 2, 2025
005392d
Update Phone.java
jaylontan Apr 3, 2025
a305224
Update AddCommand.java
jaylontan Apr 3, 2025
77d9cfa
Merge pull request #172 from jaylontan/branch-fix-phone
pastchum Apr 3, 2025
89a172b
Update UserGuide.md and DeveloperGuide.md
jaylontan Apr 3, 2025
9a7ef43
Update DeveloperGuide.md
jaylontan Apr 3, 2025
fb4e8d2
Merge pull request #173 from jaylontan/branch-update-UG-DG
Ben926 Apr 3, 2025
7648873
Refactor command class names to be more intuitive
Ben926 Apr 3, 2025
5f75ea1
Update UG
Ben926 Apr 3, 2025
a056606
Fix styles
Ben926 Apr 3, 2025
7420656
Merge pull request #174 from Ben926/branch-Code-refactoring-and-docs
LuBolin Apr 3, 2025
186c7ee
Modify UG slightly
LuBolin Apr 3, 2025
7399e32
Rename commands
pastchum Apr 3, 2025
c2d0784
Merge pull request #176 from pastchum/branch-Rename-Commands
isawangyx Apr 3, 2025
23579d6
Merge pull request #175 from LuBolin/master
isawangyx Apr 3, 2025
da39535
Update UI screenshot
yxnxiangg Apr 3, 2025
e5322ab
Update ReadME
yxnxiangg Apr 3, 2025
5474126
Update User Guide
yxnxiangg Apr 3, 2025
2b2d1c3
Merge pull request #178 from isawangyx/branch-update-ug
pastchum Apr 3, 2025
8b8faee
Fix UG bg
Ben926 Apr 3, 2025
1cee703
Merge pull request #179 from Ben926/branch-Update-UG
isawangyx Apr 3, 2025
66d93d4
Update site map
Ben926 Apr 3, 2025
a4e552e
Merge pull request #180 from Ben926/branch-Update-UG
LuBolin Apr 3, 2025
74d4254
Remove site map tutorial
LuBolin Apr 3, 2025
22b0f47
Update DG's manual testing:
LuBolin Apr 3, 2025
c5d9a59
Merge pull request #181 from LuBolin/master
pastchum Apr 3, 2025
706ddef
Add line breaks to commands for better viewing
LuBolin Apr 3, 2025
55833ce
Merge pull request #182 from LuBolin/master
pastchum Apr 3, 2025
f7553d8
Change UG to patrons
pastchum Apr 3, 2025
7082a72
Update Implementation of Data Archiving
pastchum Apr 3, 2025
bf19022
Developer Guide: Add Implementation of Bookings
pastchum Apr 3, 2025
1de278d
Developer Guide: Add Implementation of Storage Feature
pastchum Apr 3, 2025
193afe8
Merge pull request #184 from pastchum/branch-Update-DG
pastchum Apr 3, 2025
7159792
Update Developer Guide
yxnxiangg Apr 3, 2025
012af6f
Update Developer Guide
yxnxiangg Apr 3, 2025
9271a10
Merge pull request #185 from isawangyx/branch-update-DG
pastchum Apr 3, 2025
8746d53
Wrap name, email and address field of PersonCard
LuBolin Apr 6, 2025
0b8147e
Merge pull request #242 from LuBolin/master
pastchum Apr 6, 2025
bb3313d
Show person's membership status in CLi output
LuBolin Apr 6, 2025
d2e5028
Move max_pax to be a constant
LuBolin Apr 6, 2025
fd50c73
Update tests to fit the new max value
LuBolin Apr 6, 2025
583aac8
Change membership from Member / Public to Yes / No
LuBolin Apr 6, 2025
f65ae12
Ensure date and pax label have full size, the rest for remarks
LuBolin Apr 6, 2025
89f991c
Merge pull request #243 from LuBolin/branch-Show-Tag-When-Describing-…
isawangyx Apr 7, 2025
08ded74
Merge pull request #245 from LuBolin/branch-Wrap-Overly-Long-Remarks
isawangyx Apr 7, 2025
478965e
Update exception to be < 501 instead of 500
LuBolin Apr 7, 2025
e18ae85
Update test to match < 501
LuBolin Apr 7, 2025
372e477
Allow person card to overflow to show full remarks
yxnxiangg Apr 7, 2025
c98c344
Enhance UI by shifting booking id to new line
yxnxiangg Apr 7, 2025
8aca7ae
Merge pull request #244 from LuBolin/branch-Increase-Booking-Pax-Limi…
isawangyx Apr 7, 2025
040dc90
Add member status to command result for edit person
yxnxiangg Apr 7, 2025
448fc81
Update unit test
yxnxiangg Apr 7, 2025
d0c0770
Add note that booking status is case-insensitive
yxnxiangg Apr 7, 2025
1bca14c
Remove repetitive examples
yxnxiangg Apr 7, 2025
35b7097
Add pax limit
yxnxiangg Apr 7, 2025
3a3896c
Change warning color to red
yxnxiangg Apr 7, 2025
ef25734
Merge pull request #248 from isawangyx/branch-edit-ug
LuBolin Apr 7, 2025
1cc4436
Merge pull request #246 from isawangyx/branch-fix-ui
Ben926 Apr 7, 2025
04e60a1
Update ParserUtil.java
jaylontan Apr 7, 2025
22901be
Merge pull request #250 from jaylontan/branch-fix-issue-209
jaylontan Apr 7, 2025
65252ac
Fix bug 241 and 240
Ben926 Apr 7, 2025
da2667f
Merge pull request #249 from isawangyx/branch-improve-error-message
Ben926 Apr 7, 2025
a0489f8
Fix issue #215
jaylontan Apr 7, 2025
5d83dd5
Change patrons title to persons
yxnxiangg Apr 7, 2025
725454b
Merge pull request #252 from jaylontan/branch-fix-issue-215
Ben926 Apr 7, 2025
fc7b16b
Merge pull request #251 from Ben926/branch-fix-bugs
jaylontan Apr 7, 2025
eb03029
Update "patron" to "person" in UserGuide.md
jaylontan Apr 7, 2025
e78a65f
Update UG and DG
Ben926 Apr 7, 2025
87c30d9
Merge pull request #253 from isawangyx/branch-change-patrons-to-persons
Ben926 Apr 7, 2025
fc37229
Update UserGuide.md
jaylontan Apr 7, 2025
242de0d
Merge pull request #255 from Ben926/branch-Update-guides
jaylontan Apr 7, 2025
3fbf2b2
Merge branch 'master' into branch-update-ug
Ben926 Apr 7, 2025
2f3f94b
Merge pull request #256 from jaylontan/branch-update-ug
Ben926 Apr 7, 2025
9e410fb
Update starting UI screenshot
yxnxiangg Apr 7, 2025
6565d47
Update UG spaces
yxnxiangg Apr 7, 2025
580ea6b
Fix grammar
yxnxiangg Apr 7, 2025
09f3b94
Add appendix effort to DG
yxnxiangg Apr 7, 2025
86992b0
Add use case for today command
yxnxiangg Apr 7, 2025
039b232
Add extensions for use cases
yxnxiangg Apr 7, 2025
3654790
Merge pull request #257 from isawangyx/branch-add-starting-ui-pic
Ben926 Apr 7, 2025
1a78201
Merge pull request #258 from isawangyx/branch-update-dg-persons
Ben926 Apr 7, 2025
dd861a3
Fix EditBookingCommand filtered booking list
pastchum Apr 7, 2025
7ddc7a4
Update docs to use pdelete instead of delete
LuBolin Apr 7, 2025
9089ac4
Update error messages indentation
jaylontan Apr 7, 2025
8431ce3
Merge pull request #260 from LuBolin/branch-DG-Architecture-Delete-to…
jaylontan Apr 7, 2025
3df3837
Merge pull request #261 from jaylontan/branch-update-bdelete-error-me…
LuBolin Apr 7, 2025
51225ca
Update UG formatting
Ben926 Apr 7, 2025
51c5334
Merge branch 'master' into branch-Update-guides
Ben926 Apr 7, 2025
55ad052
Merge pull request #262 from Ben926/branch-Update-guides
LuBolin Apr 7, 2025
a78e54c
Fix CheckStyle
pastchum Apr 7, 2025
074e931
Update message for invalid person index
LuBolin Apr 7, 2025
e05021f
Merge pull request #259 from pastchum/branch-Fix-Filtered-Lists
Ben926 Apr 7, 2025
a2c836b
Merge pull request #263 from LuBolin/branch-Change-Invalid-Person-Ind…
Ben926 Apr 7, 2025
0ffafa2
Add line break between alternative 1's con, and alternative 2
LuBolin Apr 7, 2025
36707ac
Update UserGuide.md
jaylontan Apr 7, 2025
164b9b8
Update checkstyle
jaylontan Apr 7, 2025
a4475ae
Merge pull request #266 from jaylontan/branch-improve-ug
Ben926 Apr 7, 2025
2f7cbe4
Merge pull request #264 from LuBolin/branch-DG-UndoRedo-Alternative-L…
Ben926 Apr 7, 2025
449f90f
Add line break between parameter and the line before
LuBolin Apr 7, 2025
db3f2e1
Merge pull request #267 from LuBolin/branch-Add-Command-Parameter-New…
jaylontan Apr 7, 2025
266bc96
Update line breaks in UserGuide.md
jaylontan Apr 7, 2025
f351ec1
Merge pull request #268 from jaylontan/branch-fix-errors-in-ug
Ben926 Apr 7, 2025
9f211e5
Update mark command style in UserGuide.md
jaylontan Apr 7, 2025
0d187b0
Update links for different sections in UserGuide.md
jaylontan Apr 7, 2025
b78eed0
Merge pull request #269 from jaylontan/branch-update-mark-ug
pastchum Apr 7, 2025
bffb346
Add Caution box styling
pastchum Apr 7, 2025
42286f3
Fix UserGuide incorrect phrasing
pastchum Apr 7, 2025
8673abb
Update wording
pastchum Apr 7, 2025
25b527b
Merge pull request #270 from pastchum/branch-Update-UG-Styling
isawangyx Apr 7, 2025
e422b0a
Fix Styling
pastchum Apr 7, 2025
9a62bd1
Merge pull request #271 from pastchum/branch-Update-DG-Content
pastchum Apr 8, 2025
d73fcc0
Fix minor UI bugs
Ben926 Apr 8, 2025
a0c3a6b
Fix diagrams text
Ben926 Apr 8, 2025
80484b5
Fix diagram text
Ben926 Apr 8, 2025
bff6e6c
Merge pull request #272 from Ben926/branch-Fix-nav
isawangyx Apr 8, 2025
393cac8
Fix add command notation
Ben926 Apr 8, 2025
3c1ddc8
Merge pull request #273 from Ben926/branch-Fix-nav
isawangyx Apr 8, 2025
e15b6af
Add citation for documentation reuse
yxnxiangg May 2, 2025
d28c656
Merge pull request #274 from isawangyx/master
pastchum May 2, 2025
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
25 changes: 25 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: MarkBind Action

on:
push:
branches:
- master

jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Install Graphviz
run: sudo apt-get install graphviz
- name: Install Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
- name: Build & Deploy MarkBind site
uses: MarkBind/markbind-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
rootDirectory: './docs'
baseUrl: '/tp' # assuming your repo name is tp
version: '^5.5.2'
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ src/test/data/sandbox/
# MacOS custom attributes files created by Finder
.DS_Store
docs/_site/
docs/_markbind/logs/

bin
139 changes: 128 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,131 @@
[![CI Status](https://github.com/se-edu/addressbook-level3/workflows/Java%20CI/badge.svg)](https://github.com/se-edu/addressbook-level3/actions)
[![CI Status](https://github.com/AY2425S2-CS2103T-T08-2/tp/workflows/Java%20CI/badge.svg)](https://github.com/AY2425S2-CS2103T-T08-2/tp/actions)

![Ui](docs/images/Ui.png)

* This is **a sample project for Software Engineering (SE) students**.<br>
Example usages:
* as a starting point of a course project (as opposed to writing everything from scratch)
* as a case study
* The project simulates an ongoing software project for a desktop application (called _AddressBook_) used for managing contact details.
* It is **written in OOP fashion**. It provides a **reasonably well-written** code base **bigger** (around 6 KLoC) than what students usually write in beginner-level SE modules, without being overwhelmingly big.
* It comes with a **reasonable level of user and developer documentation**.
* It is named `AddressBook Level 3` (`AB3` for short) because it was initially created as a part of a series of `AddressBook` projects (`Level 1`, `Level 2`, `Level 3` ...).
* For the detailed documentation of this project, see the **[Address Book Product Website](https://se-education.org/addressbook-level3)**.
* This project is a **part of the se-education.org** initiative. If you would like to contribute code to this project, see [se-education.org](https://se-education.org/#contributing-to-se-edu) for more info.
## Welcome to the KrustyKrab

_For all restaurant staff folks who struggle with keeping track of who's coming to eat._

This is a **CLI-based bookings tracker** which helps in keeping track of booking details and customer information in a simple, efficient, and centralized system for quick and easy management.

This project is based on the AddressBook-Level3 project created by the [SE-EDU initiative](https://se-education.org).

## How does it help?

> If you're wasting time, you're wasting money... and that's just sick.
>
> ~ Mr Krabs

KrustyKrab provides restaurant staff with a centralised platform that allows them to keep track of both customers and their bookings, with an easy command-based interface to allow staff to:

Customer Commands
- Add customers
- Edit customers
- Delete customers
- Find customers by keyword
- List all customers
- Clear all customers

Booking Commands
- Add bookings
- Edit bookings
- Delete bookings
- Clear all completed/cancelled bookings
- Filter bookings by phone number/date/booking status
- Mark bookings as completed/cancelled/upcoming
- Display all bookings
- Display all upcoming bookings
- Summarise bookings of the day

## Getting started

### Download our Jar file

You can find our Jar file under [Releases](https://github.com/AY2425S2-CS2103T-T08-2/tp/releases). Download the latest one and test it out!

### Forking the Repo

1. Navigate to the repository on GitHub: [AY2425S2-CS2103T-T08-2/tp](https://github.com/AY2425S2-CS2103T-T08-2/tp).
2. Click on the "Fork" button at the top right corner of the page to create a copy of the repository under your own GitHub account.
3. Clone the forked repository to your local machine using the following command:

```sh
git clone https://github.com/YOUR_USERNAME/tp.git
```

4. Navigate into the project directory:

```sh
cd tp
```

5. Set up the upstream remote to keep your fork in sync with the original repository:

```sh
git remote add upstream https://github.com/AY2425S2-CS2103T-T08-2/tp.git
```

### Building the Project

1. Ensure you have Java 17 or above installed on your machine.
2. Open a terminal and navigate to the project directory.
3. Build the project using Gradle:

```sh
./gradlew build
```

4. Run the application:

```sh
./gradlew run
```

### Running Tests

1. To run all tests, use the following command:

```sh
./gradlew test
```

### Additional Setup

For more detailed setup instructions, refer to the [Developer Guide](https://ay2425s2-cs2103t-t08-2.github.io/tp/DeveloperGuide.html).

## Getting help with KrustyKrab

> W-well, I uh... oh barnacles...
>
> ~ Mr Krabs

Feel free to check out our [website](https://ay2425s2-cs2103t-t08-2.github.io/tp/) to clarify any issues you may have.

In the event that that's not enough, feel free to reach out to our development team!

## The Dev Team

### [Jaylon Tan](https://github.com/jaylontan)

**Data Developer**
Avid Spongebob lover

### [Benjamin Koh](https://github.com/ben926)

**Team Lead**
Would like everyone to know he created [Gyatword.com](https://gyatword.com)

### [Lu "Bloin" Bolin](https://github.com/LuBolin)

**Team Lead**
Has been coding since 2 years old

### [Wang Yanxiang](https://github.com/isawangyx)

**Code Quality Connoisseur**
Here for diversity

### [Patrick Thomas](https://github.com/pastchum)

**UI/UX Undertaker**
Does not live under a rock in bikini bottom
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"keep": {
"days": false,
"amount": 5
},
"auditLog": "_markbind/logs/.4a27e4dd4d52b0b210ca13b42ac22c488093fce8-audit.json",
"files": [
{
"date": 1740280041553,
"name": "_markbind/logs/markbind-2025-02-23.log",
"hash": "3cf652ee06f16027bf4d8da1cd521409"
}
]
}
19 changes: 19 additions & 0 deletions _markbind/logs/markbind-2025-02-23.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
2025-02-23T03:07:21.547Z - error: No config file found in parent directories of /Users/ben/Documents/IdeaProjects/tp
2025-02-23T03:07:21.552Z - error: uncaughtException: The "path" argument must be of type string. Received undefined date=Sun Feb 23 2025 11:07:21 GMT+0800 (Singapore Standard Time), pid=59235, uid=501, gid=20, cwd=/Users/ben/Documents/IdeaProjects/tp, execPath=/opt/homebrew/Cellar/node/23.6.0/bin/node, version=v23.6.0, argv=[/opt/homebrew/Cellar/node/23.6.0/bin/node, /opt/homebrew/bin/markbind, serve], rss=212172800, heapTotal=103251968, heapUsed=35438360, external=2322305, arrayBuffers=16875, loadavg=[4.53271484375, 4.5048828125, 4.4638671875], uptime=9197823
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at Object.join (node:path:1245:7)
at serve (/opt/homebrew/lib/node_modules/markbind-cli/src/cmd/serve.js:57:27)
at Command.<anonymous> (/opt/homebrew/lib/node_modules/markbind-cli/index.js:62:5)
at Command.listener [as _actionHandler] (/opt/homebrew/lib/node_modules/markbind-cli/node_modules/commander/lib/command.js:488:17)
at /opt/homebrew/lib/node_modules/markbind-cli/node_modules/commander/lib/command.js:1227:65
at Command._chainOrCall (/opt/homebrew/lib/node_modules/markbind-cli/node_modules/commander/lib/command.js:1144:12)
at Command._parseCommand (/opt/homebrew/lib/node_modules/markbind-cli/node_modules/commander/lib/command.js:1227:27)
at Command._dispatchSubcommand (/opt/homebrew/lib/node_modules/markbind-cli/node_modules/commander/lib/command.js:1050:25)
at Command._parseCommand (/opt/homebrew/lib/node_modules/markbind-cli/node_modules/commander/lib/command.js:1193:19)
at Command.parse (/opt/homebrew/lib/node_modules/markbind-cli/node_modules/commander/lib/command.js:897:10)
at Object.<anonymous> (/opt/homebrew/lib/node_modules/markbind-cli/index.js:87:9)
at Module._compile (node:internal/modules/cjs/loader:1739:14)
at Object..js (node:internal/modules/cjs/loader:1904:10)
at Module.load (node:internal/modules/cjs/loader:1473:32)
at Function._load (node:internal/modules/cjs/loader:1285:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ dependencies {
}

shadowJar {
archiveFileName = 'addressbook.jar'
archiveFileName = 'krustykrab.jar'
}

defaultTasks 'clean', 'test'

run {
enableAssertions = true
}
23 changes: 23 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
_markbind/logs/

# Dependency directories
node_modules/

# Production build files (change if you output the build to a different directory)
_site/

# Env
.env
.env.local

# IDE configs
.vscode/
.idea/*
*.iml
67 changes: 35 additions & 32 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,62 @@
---
layout: page
title: About Us
layout: default.md
title: "About Us"
---

We are a team based in the [School of Computing, National University of Singapore](https://www.comp.nus.edu.sg).
# About Us

We are a team based in the [School of Computing, National University of Singapore](http://www.comp.nus.edu.sg).

You can reach us at the email `seer[at]comp.nus.edu.sg`

## Project team

### John Doe
### Jaylon Tan

<img src="images/johndoe.png" width="200px">
<img src="images/jaylontan.png" width="200px">

[[homepage](http://www.comp.nus.edu.sg/~damithch)]
[[github](https://github.com/johndoe)]
[[portfolio](team/johndoe.md)]
[[github](https://github.com/jaylontan)]
[[portfolio](team/jaylontan.md)]

* Role: Project Advisor
* Role: Developer
* Responsibilities: Data

### Jane Doe
### Lu Bolin

<img src="images/johndoe.png" width="200px">
<img src="images/lubolin.png" width="200px">

[[github](http://github.com/johndoe)]
[[portfolio](team/johndoe.md)]
[[github](http://github.com/lubolin)]
[[portfolio](team/lubolin.md)]

* Role: Team Lead
* Responsibilities: UI
- Role: Team Lead
- Responsibilities: UI

### Johnny Doe
### Patrick Thomas

<img src="images/johndoe.png" width="200px">
<img src="images/pastchum.png" width="200px">

[[github](http://github.com/johndoe)] [[portfolio](team/johndoe.md)]
[[github](http://github.com/pastchum)]
[[portfolio](team/patrickthomas.md)]

* Role: Developer
* Responsibilities: Data
- Role: Developer
- Responsibilities: UI/UX

### Jean Doe
### Benjamin Koh

<img src="images/johndoe.png" width="200px">
<img src="images/ben926.png" width="200px">

[[github](http://github.com/johndoe)]
[[portfolio](team/johndoe.md)]
[[github](http://github.com/ben926)]
[[portfolio](team/benjaminkoh.md)]

* Role: Developer
* Responsibilities: Dev Ops + Threading
* Role: Team Lead
* Responsibilities: Overall project coordination

### James Doe
### Wang Yanxiang

<img src="images/johndoe.png" width="200px">
<img src="images/isawangyx.png" width="200px">

[[github](http://github.com/johndoe)]
[[portfolio](team/johndoe.md)]
[[github](https://github.com/isawangyx)]
[[portfolio](team/wangyanxiang.md)]

* Role: Developer
* Responsibilities: UI
* Role: Code Quality
* Responsibilities: Looks after code quality, ensures adherence to coding standards
6 changes: 4 additions & 2 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
layout: page
title: Configuration guide
layout: default.md
title: "Configuration guide"
---

# Configuration guide

Certain properties of the application can be controlled (e.g user preferences file location, logging level) through the configuration file (default: `config.json`).
15 changes: 9 additions & 6 deletions docs/DevOps.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
layout: page
title: DevOps guide
layout: default.md
title: "DevOps guide"
pageNav: 3
---

* Table of Contents
{:toc}
# DevOps guide

--------------------------------------------------------------------------------------------------------------------
<!-- * Table of Contents -->
<page-nav-print />

<!-- -------------------------------------------------------------------------------------------------------------------- -->

## Build automation

Expand Down Expand Up @@ -75,5 +78,5 @@ Here are the steps to create a new release.

1. Update the version number in [`MainApp.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/address/MainApp.java).
1. Generate a fat JAR file using Gradle (i.e., `gradlew shadowJar`).
1. Tag the repo with the version number. e.g. `v0.1`
1. Tag the repo with the version number. e.g. `v1.5`
1. [Create a new release using GitHub](https://help.github.com/articles/creating-releases/). Upload the JAR file you created.
Loading