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

[CS2113-T14-1] Fitness Checker #57

Open
wants to merge 238 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 126 commits
Commits
Show all changes
238 commits
Select commit Hold shift + click to select a range
73a46ab
Update README.md
Richardtok Mar 2, 2023
6ebc0ce
chang name
Richardtok Mar 2, 2023
e47cd8b
update about us
Richardtok Mar 7, 2023
5334b66
Changes User guide a little
Richardtok Mar 8, 2023
2570279
Trying to make a new pull request
Richardtok Mar 8, 2023
0d240ec
Duke : Add delete command
guillaume-grn Mar 9, 2023
8a1b0fe
Workout : add JUnitTest
guillaume-grn Mar 9, 2023
67206e2
Merge pull request #2 from guillaume-grn/master
guillaume-grn Mar 11, 2023
b1a756b
Add basic features and create new classes for exercise and workout
calebcjl Mar 12, 2023
a2fcad4
test
Richardtok Mar 14, 2023
0a06ce2
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
Richardtok Mar 14, 2023
21c0a29
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
calebcjl Mar 14, 2023
d0dc350
Merge pull request #3 from calebcjl/master
calebcjl Mar 14, 2023
c3142a9
Fix gradle errors
calebcjl Mar 15, 2023
c6c62d9
Add text ui test
calebcjl Mar 15, 2023
f7326ee
Add text ui test
calebcjl Mar 15, 2023
1955356
Merge branch 'master' of https://github.com/calebcjl/tp
calebcjl Mar 15, 2023
c646578
Fix text-ui-test
calebcjl Mar 15, 2023
48aab90
Merge pull request #5 from calebcjl/master
calebcjl Mar 15, 2023
95d9bc9
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
Richardtok Mar 15, 2023
c9bc716
Refactor code for more OOP
calebcjl Mar 15, 2023
11821ab
Merge pull request #7 from calebcjl/master
calebcjl Mar 15, 2023
8a2d56b
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
calebcjl Mar 16, 2023
9a790ce
Add in the feature "list"
ZIZI-czh Mar 16, 2023
3b3271f
Add in comments for listCommand file
ZIZI-czh Mar 16, 2023
7dd3c1b
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
calebcjl Mar 16, 2023
6d41b2f
Fix checkstyle errors
calebcjl Mar 16, 2023
908e43c
Clean the code
ZIZI-czh Mar 16, 2023
8a70b27
remove redundant definition
ZIZI-czh Mar 16, 2023
722d9aa
Solve pull request issue
ZIZI-czh Mar 16, 2023
2f9ab5f
added view function
Richardtok Mar 16, 2023
fdc7887
correct minor error
ZIZI-czh Mar 16, 2023
8a47385
add space end of code
ZIZI-czh Mar 16, 2023
0f4ba6e
Simply the date format
ZIZI-czh Mar 16, 2023
9b2c4e2
clean the code
ZIZI-czh Mar 16, 2023
65adeac
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
Richardtok Mar 16, 2023
fc7734f
change in gitirnore fileto disable textUItest file
ZIZI-czh Mar 18, 2023
577fa52
Merge pull request #1 from ZIZI-czh/modify-test-package-branch
ZIZI-czh Mar 18, 2023
636d435
change back to the original date format
ZIZI-czh Mar 18, 2023
aa02a41
solve conflict
ZIZI-czh Mar 18, 2023
9208070
Correct the gitignore
ZIZI-czh Mar 18, 2023
fdc3fd7
update gitignore file
ZIZI-czh Mar 18, 2023
408a27d
Edit file
ZIZI-czh Mar 18, 2023
8fff52b
delete the setting in gitignore
ZIZI-czh Mar 18, 2023
5d6fe16
update gradle.yml
ZIZI-czh Mar 18, 2023
f26b9a9
update
ZIZI-czh Mar 18, 2023
d30bcb5
Merge pull request #11 from ZIZI-czh/master
ZIZI-czh Mar 18, 2023
4937d4d
Add in assertion to test the function of list
ZIZI-czh Mar 18, 2023
158d29a
codeStyle
ZIZI-czh Mar 18, 2023
de978fc
codeStyle for test files
ZIZI-czh Mar 18, 2023
68737dc
Change date format
ZIZI-czh Mar 18, 2023
1245a18
uodate date format
ZIZI-czh Mar 18, 2023
bb92abe
change the input data
ZIZI-czh Mar 18, 2023
c6e68de
time zone
ZIZI-czh Mar 18, 2023
168e961
change the format for date to avoid time zone issue
ZIZI-czh Mar 18, 2023
e6bc56c
solve the bug
ZIZI-czh Mar 18, 2023
819ab26
debug
ZIZI-czh Mar 18, 2023
c3af244
remove space
ZIZI-czh Mar 18, 2023
de5c9cb
Add RemoveWorkout test
guillaume-grn Mar 19, 2023
8baaccf
Add AddCommandTest
calebcjl Mar 19, 2023
92e4ccb
Merge branch 'master' of https://github.com/calebcjl/tp
calebcjl Mar 19, 2023
8e44e5c
Merge pull request #14 from guillaume-grn/master
ZIZI-czh Mar 19, 2023
3e0b96c
Merge pull request #15 from calebcjl/master
ZIZI-czh Mar 19, 2023
5fec0d0
Update the test file
ZIZI-czh Mar 19, 2023
5751bf6
update listCommandTest
ZIZI-czh Mar 19, 2023
4b01c05
solve pull request problem
ZIZI-czh Mar 19, 2023
c2349bb
Add in comments for all the methods
ZIZI-czh Mar 19, 2023
f48c187
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
calebcjl Mar 20, 2023
5300eb9
Add user guide
calebcjl Mar 20, 2023
c8d547e
Merge pull request #18 from calebcjl/branch-UserGuide
calebcjl Mar 20, 2023
3bfa376
Edited the UserGuide
Richardtok Mar 21, 2023
ce8cc55
Upaate UI and view
Richardtok Mar 22, 2023
9f5eb25
Update UG,Added View, Update UI, Added Help function
Richardtok Mar 22, 2023
d7440cd
Merge branch 'master' of https://github.com/Richardtok/tp
Richardtok Mar 22, 2023
eb0e8e5
Update developerGuide.md
ZIZI-czh Mar 22, 2023
d34a6f2
Merge pull request #13 from ZIZI-czh/master
ZIZI-czh Mar 22, 2023
a032904
Solving conflicts
Richardtok Mar 23, 2023
4b34ff8
CheckStyle
Richardtok Mar 23, 2023
308a1db
Merge pull request #9 from Richardtok/master
Richardtok Mar 23, 2023
ac89531
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
calebcjl Mar 23, 2023
ad27b30
DG : Add deletion mechanism description
guillaume-grn Mar 23, 2023
63a64e9
Merge pull request #21 from guillaume-grn/master
guillaume-grn Mar 23, 2023
e4df581
Add add component to developer guide
calebcjl Mar 23, 2023
9ab8dc2
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp …
calebcjl Mar 23, 2023
631e226
Merge pull request #22 from calebcjl/branch-DevGuide-Add
calebcjl Mar 23, 2023
5357ed1
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
calebcjl Mar 27, 2023
e5b4149
Add add calorie feature and refactor commands into packages
calebcjl Mar 27, 2023
baf33db
Merge pull request #26 from calebcjl/branch-CalorieTracker-Add
calebcjl Mar 27, 2023
dc2b576
try to solve conflict
ZIZI-czh Mar 27, 2023
303f655
solve conflict
ZIZI-czh Mar 27, 2023
7431142
Solve the merge conflict
ZIZI-czh Mar 27, 2023
62a0cb2
solve the compile error
ZIZI-czh Mar 27, 2023
bad280a
Merge pull request #29 from ZIZI-czh/new-brach-after-conflict
calebcjl Mar 27, 2023
529ea22
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp …
calebcjl Mar 27, 2023
16eb23d
Add view calorie feature
calebcjl Mar 27, 2023
74d7b0b
Delete WorkoutList duplicate
guillaume-grn Mar 28, 2023
579a268
UG : Add CountSetsReps info
guillaume-grn Mar 28, 2023
63ca80c
Make test packages match main packages
guillaume-grn Mar 28, 2023
d4787d5
Rename Workout package
guillaume-grn Mar 28, 2023
cb0c961
Command : Fix an error
guillaume-grn Mar 28, 2023
7e0d7d3
Rename Workout package
guillaume-grn Mar 28, 2023
a195695
Add CountSetsReps feature
guillaume-grn Mar 28, 2023
ec0430b
Merge pull request #23 from guillaume-grn/master
guillaume-grn Mar 28, 2023
1dfba74
Add exceptions and classes for invalid user input
calebcjl Mar 28, 2023
0689b0c
commit
Richardtok Mar 28, 2023
ce43686
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
Richardtok Mar 28, 2023
0dc3377
Add exceptions and classes for invalid user input
calebcjl Mar 28, 2023
35012a0
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp …
calebcjl Mar 28, 2023
9363c03
Refactor to correct package
calebcjl Mar 28, 2023
5ba626f
Fix WorkoutListTest bugs
calebcjl Mar 28, 2023
6a279ed
Merge pull request #31 from calebcjl/branch-CalorieTracker-View
calebcjl Mar 28, 2023
407a0f4
temp
Richardtok Mar 29, 2023
f092986
WorkoutList : Fix delete and count bugs
guillaume-grn Mar 29, 2023
1ed3059
Merge pull request #32 from guillaume-grn/master
guillaume-grn Mar 29, 2023
a9bb5d1
update userguide and helpcommand
Richardtok Mar 29, 2023
606d276
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
Richardtok Mar 29, 2023
f46b143
Update VIew DG
Richardtok Mar 29, 2023
180a48d
DG : Add Delete sequence diagram
guillaume-grn Mar 29, 2023
8786782
Merge pull request #34 from guillaume-grn/master
guillaume-grn Mar 29, 2023
5894478
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp …
calebcjl Mar 29, 2023
16f0449
Update user guide for v2.0
calebcjl Mar 29, 2023
53564c9
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
Richardtok Mar 29, 2023
99c892e
checkstyle
Richardtok Mar 29, 2023
724de98
Merge pull request #33 from Richardtok/master
Richardtok Mar 29, 2023
5df3942
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp …
calebcjl Mar 29, 2023
ac7d265
Merge pull request #35 from calebcjl/branch-UserGuide-v2.0
calebcjl Mar 29, 2023
712adf3
solve conflict
ZIZI-czh Mar 29, 2023
1390bf8
edit code style
ZIZI-czh Mar 29, 2023
7ed51d0
update uml diagram for list feature
ZIZI-czh Mar 30, 2023
05e9051
edit the uml diagram
ZIZI-czh Mar 30, 2023
eb96951
debug the test
ZIZI-czh Mar 30, 2023
753a802
Add ListWorkoutDiagram
guillaume-grn Mar 30, 2023
550d4bc
Merge pull request #38 from guillaume-grn/master
guillaume-grn Mar 30, 2023
2473b8a
change the command and diagram
ZIZI-czh Mar 30, 2023
180efde
add in workout name for the days
ZIZI-czh Apr 2, 2023
0d26711
Modify the function which allow users to input workout name for the d…
ZIZI-czh Apr 2, 2023
b66b97b
Updated deleteTest
ZIZI-czh Apr 2, 2023
196ce73
Merge branch 'master' into updated-version-of-workout-merged
ZIZI-czh Apr 2, 2023
69d11c1
edit workoutlist
ZIZI-czh Apr 2, 2023
e2538a4
change file
ZIZI-czh Apr 3, 2023
4c9b16c
solve-conflict
ZIZI-czh Apr 3, 2023
179da28
change file
ZIZI-czh Apr 3, 2023
cb5ed09
update WorkoutList
ZIZI-czh Apr 3, 2023
28d434b
Formate workoutList and WorkoutList test
ZIZI-czh Apr 3, 2023
6c33cbf
Change ListWorkoutTest
ZIZI-czh Apr 3, 2023
0f45df0
update workoutList : show one date in list
ZIZI-czh Apr 3, 2023
2efe7ea
change codeStyle for workoutList
ZIZI-czh Apr 3, 2023
d5197d4
Update workout storage function
ZIZI-czh Apr 3, 2023
dcc976e
edit list comand
ZIZI-czh Apr 3, 2023
b3e4e94
format the workoulistcommandtest code
ZIZI-czh Apr 3, 2023
27fa094
Merge pull request #76 from ZIZI-czh/updated-version-of-workout-merged
ZIZI-czh Apr 3, 2023
3c57dd0
test
Richardtok Apr 4, 2023
c53a2e7
Add calories storage function
ZIZI-czh Apr 4, 2023
b73aec1
Merge pull request #78 from ZIZI-czh/new-workout-storage-branch
ZIZI-czh Apr 4, 2023
9b78a9a
Add in the feature in date and add, which allow the user to enter the…
ZIZI-czh Apr 5, 2023
105501d
change file in ParserTest
ZIZI-czh Apr 5, 2023
a902eca
Merge pull request #79 from ZIZI-czh/try-modify-calories-function
Richardtok Apr 5, 2023
1caddaa
pull request change
Richardtok Apr 5, 2023
1b2b58e
Add more checking for the input
ZIZI-czh Apr 5, 2023
0fb6b2a
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
calebcjl Apr 6, 2023
e71a539
Update the input checking
ZIZI-czh Apr 6, 2023
b0a1a20
Update Project Portfolio Page (PPP)
ZIZI-czh Apr 6, 2023
1766676
Solve Add calories bugs and delete caloriesCommand file
ZIZI-czh Apr 6, 2023
a705c6f
Solve calories add feature bugs and the coding style
ZIZI-czh Apr 6, 2023
112ad6a
Merge pull request #80 from ZIZI-czh/try-modify-calories-function
ZIZI-czh Apr 6, 2023
9dbfbda
Fix CountSetsReps feature
guillaume-grn Apr 7, 2023
233523d
Draft PPP
guillaume-grn Apr 7, 2023
d8d7fb3
Stop tracking data file
guillaume-grn Apr 7, 2023
c814dfc
Fix CheckStyle error
guillaume-grn Apr 7, 2023
f1a55ad
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
Richardtok Apr 7, 2023
39f25ad
Merge pull request #81 from guillaume-grn/master
guillaume-grn Apr 7, 2023
c6d4587
Clean up code, add storage classes and features
calebcjl Apr 8, 2023
aaac968
no message
calebcjl Apr 8, 2023
00cd9c7
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
calebcjl Apr 8, 2023
4202318
Fix Checkstyle Main errors
calebcjl Apr 8, 2023
acff6b7
Merge pull request #82 from calebcjl/master
calebcjl Apr 8, 2023
3e15b38
Change start workout command to start workout only on current date
calebcjl Apr 8, 2023
7f106c9
Add list feature for calorie tracker
calebcjl Apr 8, 2023
deb2276
Add delete feature for calorie tracker
calebcjl Apr 8, 2023
f773d33
Merge pull request #83 from calebcjl/branch-CalorieTracker-Delete
calebcjl Apr 8, 2023
62d5f0e
View calories fixing
Richardtok Apr 8, 2023
643d13f
Update architecturedisgram and sequence diagram puml file
ZIZI-czh Apr 8, 2023
7ff91e7
change back the getHelpMessage
ZIZI-czh Apr 8, 2023
1ab111f
Merge pull request #84 from ZIZI-czh/update-DG-branch
ZIZI-czh Apr 8, 2023
91cf627
bug testing
Richardtok Apr 8, 2023
4f4942e
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
Richardtok Apr 8, 2023
8e428a4
Update DG with Duke sequemce digram and update the user profile and a…
ZIZI-czh Apr 8, 2023
457fe5b
Merge pull request #85 from ZIZI-czh/update-DG-branch
ZIZI-czh Apr 8, 2023
2b86727
Updated the UG, the Help funciton in UI, and PPP
Richardtok Apr 9, 2023
c0c3498
Fixed Chechstyle
Richardtok Apr 9, 2023
2e3ab3d
Merge branch 'master' into master
Richardtok Apr 9, 2023
35dc342
Update DG with design part
ZIZI-czh Apr 9, 2023
b7e87bb
Merge pull request #87 from ZIZI-czh/update-DG-branch
ZIZI-czh Apr 9, 2023
82bda36
UI fixing
Richardtok Apr 9, 2023
5cc4f60
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
Richardtok Apr 9, 2023
eb66ca5
Merge branch 'master' of https://github.com/Richardtok/tp
Richardtok Apr 9, 2023
beb98db
Added diagrams for ListCalories,ViewCalories,DeleteCalories, and AddC…
Richardtok Apr 9, 2023
bf42d21
DG Diagrams update
Richardtok Apr 9, 2023
9ba9ee8
Finish UG in design part, refer to table of content
ZIZI-czh Apr 9, 2023
b97c565
Merge pull request #88 from ZIZI-czh/update-DG-branch
ZIZI-czh Apr 9, 2023
b869285
correct the multiple command component diagram and the workoutlist di…
ZIZI-czh Apr 9, 2023
95f6290
Update the Junit test for all the commands in workouts and duke class…
ZIZI-czh Apr 9, 2023
fd19274
Correct the mistake in WorkoutList class
ZIZI-czh Apr 9, 2023
547875f
Merge pull request #89 from ZIZI-czh/update-DG-branch
ZIZI-czh Apr 9, 2023
6898afa
wview and wdelete : Add checking rules for index
guillaume-grn Apr 10, 2023
0201c7b
Updated UserGuide based on comments
Richardtok Apr 10, 2023
5ffc3b1
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
Richardtok Apr 10, 2023
b8a134a
Update UG, DG, PPP, Coding standard
Richardtok Apr 10, 2023
618c778
Update UG
Richardtok Apr 10, 2023
018bae2
UG
Richardtok Apr 10, 2023
bf705b0
Merge pull request #86 from Richardtok/master
Richardtok Apr 10, 2023
583898c
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp
calebcjl Apr 10, 2023
cc6233a
DG : Update deleteworkout diagram and reorganize
guillaume-grn Apr 10, 2023
49fabdf
Merge remote-tracking branch 'upstream/master'
guillaume-grn Apr 10, 2023
d402de6
Change PPP
Richardtok Apr 10, 2023
c4f152d
DG : Add CountSetsRepsDiagram
guillaume-grn Apr 10, 2023
1253a68
Update checking rules for wdelete and wview
guillaume-grn Apr 10, 2023
2d5242d
Update PPP
Richardtok Apr 10, 2023
fd51ef6
Merge pull request #92 from Richardtok/master
Richardtok Apr 10, 2023
b04a462
Add jUnit tests for Calorie and Workout Parser
calebcjl Apr 10, 2023
28a1fa3
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp …
calebcjl Apr 10, 2023
6f00eb4
Fix checkstyle error
calebcjl Apr 10, 2023
a5c5aca
Fix user guide errors
calebcjl Apr 10, 2023
8ea4d37
Merge pull request #91 from guillaume-grn/master
guillaume-grn Apr 10, 2023
a30a7a2
Merge pull request #93 from calebcjl/branch-jUNit
calebcjl Apr 10, 2023
6877aca
PPP : Update
guillaume-grn Apr 10, 2023
e6d909e
Merge pull request #94 from guillaume-grn/master
guillaume-grn Apr 10, 2023
527d174
Add headers
guillaume-grn Apr 10, 2023
98c7783
Update dev guide for Start workout, add exercise and exit command
calebcjl Apr 10, 2023
7b1684f
fix checktyle error
guillaume-grn Apr 10, 2023
bb52264
Merge pull request #95 from guillaume-grn/master
guillaume-grn Apr 10, 2023
1b3e3de
Update UG
Richardtok Apr 10, 2023
a024f6a
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-1/tp …
calebcjl Apr 10, 2023
28a82e9
Merge pull request #97 from calebcjl/branch-DevGuide
calebcjl Apr 10, 2023
840ade6
Merge pull request #96 from Richardtok/master
Richardtok Apr 10, 2023
2562b05
Add PPP and update dev guide
calebcjl Apr 10, 2023
3bef996
Merge pull request #99 from calebcjl/branch-DevGuide
calebcjl Apr 10, 2023
6034e3b
Update zizi-czh.md
ZIZI-czh Apr 13, 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
16 changes: 1 addition & 15 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,4 @@ jobs:
- name: Build and check with Gradle
run: ./gradlew check

- name: Perform IO redirection test (*NIX)
if: runner.os == 'Linux'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (MacOS)
if: always() && runner.os == 'macOS'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (Windows)
if: always() && runner.os == 'Windows'
working-directory: ${{ github.workspace }}/text-ui-test
shell: cmd
run: runtest.bat

5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ bin/

/text-ui-test/ACTUAL.TXT
text-ui-test/EXPECTED-UNIX.TXT

text-ui-test/EXPECTED.TXT
text-ui-test/input.txt
text-ui-test/runtest.sh
text-ui-test/runtest.bat
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Duke project template
# Fitnees checker

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 Down
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ repositories {
}

dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0'
implementation 'junit:junit:4.13.1'
implementation 'junit:junit:4.13.1'
implementation 'org.testng:testng:7.1.0'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.9.2'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.9.2'
}

test {
Expand Down
19 changes: 12 additions & 7 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# About us

Display | Name | Github Profile | Portfolio
--------|:----:|:--------------:|:---------:
![](https://via.placeholder.com/100.png?text=Photo) | John Doe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Don Joe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Ron John | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | John Roe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Don Roe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md)
| Display | Name | Github Profile | Portfolio |
|-----------------------------------------------------|:-----------------:|:------------------------------------------------:|:---------------------------------:|

| ![](https://via.placeholder.com/100.png?text=Photo) | Richard Kurniawan | [Github](https://github.com/Richardtok) | [Portfolio](docs/team/johndoe.md) |

| ![](https://via.placeholder.com/100.png?text=Photo) | Don Joe | [Github](https://github.com/) | [Portfolio](docs/team/johndoe.md) |

| ![](https://via.placeholder.com/100.png?text=Photo) | Caleb Chan Jia Le | [Github](https://github.com/calebcjl) | [Portfolio](docs/team/johndoe.md) |

| ![](https://via.placeholder.com/100.png?text=Photo) | Guillaume Gerony | [Github](https://github.com/guillaume-grn) | [Portfolio](docs/team/johndoe.md) |


146 changes: 136 additions & 10 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,164 @@
# Developer Guide

## Table of Contents

<!-- TOC -->
* [Acknowledgements](#acknowledgements)
* [Product Scope](#product-scope)
* [Target User Profile](#target-user-profile)
* [Value Proposition](#value-proposition)
* [Design & Implementation](#design--implementation)
* [Architecture](#architecture)
* [UI component](#ui-component)
* [Start component](#start-component)
* [Add component](#add-component)
* [List component](#list-component)
* [View component](#view-component)
* [Delete component](#delete-component)
* [Exit component](#exit-component)
* [User Stories](#user-stories)
* [V1.0](#v10)
* [V2.0](#v20)
* [Non-Functional Requirements](#non-functional-requirements)
* [Glossary](#glossary)
* [Instruction for Manual Testing](#instructions-for-manual-testing)
<!-- TOC -->


## Acknowledgements

{list here sources of all reused/adapted ideas, code, documentation, and third-party libraries -- include links to the original source as well}
###### [Back to table of contents](#table-of-contents)

## Product Scope

### Target User Profile
* People who go to gym and do exercise
* People who want to lose weight or strength muscles

### Value Proposition

Choose a reason for hiding this comment

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

Perhaps you can further elaborate on how your program features add value to the target user

Help our target users to record down the exercise, and they can check the exercise whenever they want.
Besides, this fitness app also help them to calculate the calories consumption for each workout.


## Design & implementation
###### [Back to table of contents](#table-of-contents)

## Design & Implementation
{Describe the design and implementation of the product. Use UML diagrams and short code snippets where applicable.}

### Architecture

###### [Back to table of contents](#table-of-contents)

We aim to help fellow gym enthusiasts and new gym members to help keep
track of their future and present training.
=======

Choose a reason for hiding this comment

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

Perhaps this shouldn't be here. :)

Choose a reason for hiding this comment

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

The explanation of the architecture of the app is too brief.

### UI component

###### [Back to table of contents](#table-of-contents)

### Start component

###### [Back to table of contents](#table-of-contents)

### Add component

Choose a reason for hiding this comment

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

Maybe more examples such as a sample input and expected output could be provided for a clearer understanding of specific features/commands in the component. Similarly for other components.

The add mechanism is facilitated by `AddCommand`.
It extends `Command` and modifies the execute function to add an exercise.

<img src="images/AddExerciseDiagram.png" width="450" />

Choose a reason for hiding this comment

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

Perhaps it would be helpful to add activation bars in the diagram to show the timeline of the methods being called

Choose a reason for hiding this comment

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

Perhaps using some sort of color coding would be nice as well. I agree with adding activation bars too

Choose a reason for hiding this comment

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

Since the other 2 diagram uses activation bar, perhaps it will be better to be more consistent throughout and use activation bar here too.

Choose a reason for hiding this comment

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

Maybe you could add the activation bars in the UML diagram followed by the numbering of the workflow which is done for the other UML diagrams in the DG.


Given below is an example usage scenario and how the add mechanism behaves at each step.

Choose a reason for hiding this comment

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

Perhaps the order of the add component could be rearranged to help the DG look more consistent and easy to follow. The structure of the add component is different from the view and delete component where the workflow is before the UML diagram.


Step 1. The user enters the add command with the necessary arguments.

Step 2. The input is processed by the `Parser` to separate out the arguments and creates the exercise to be added,
`toAdd`.

Step 3. The `AddCommand` calls `execute()` which calls `WorkList#getCurrentWorkout()` to return `currentWorkout`.

Step 4. Finally, `addExercise()` is called and `toAdd` is added to `currentWorkout`.

###### [Back to table of contents](#table-of-contents)

### List component

## Product scope
### Target user profile
###### [Back to table of contents](#table-of-contents)

{Describe the target user profile}
### View component
The View component is facilitated by `Parser`,`Ui`,`WorkoutList`,`Command` and `ViewCommand`, where the user will

Choose a reason for hiding this comment

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

Perhaps adding more UML diagrams would be nice, so that I as a developer can view how the program interacts with each components more visually

enter a specific workout date and the number of exercises on that date will be displayed

### Value proposition
Below are the specific steps on how to use the view function and how the mechanism will flow:

* Step 1: We will assume that the user has started a workout on two specific dates, `11/02/22` which was added with the following command `/start 11/02/22`
and `12/02/22`, which was added with the following command `/start 12/02/22`.
* Step 2: The user will then use the following command `/view 11/02/22` will be taken into the parser
and will return a list of exercises done on that specified date.

<img src="images/ViewDiagram.png" width="450" />

Choose a reason for hiding this comment

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

Activation bar at the bottom not closed for both Duke and Parser entities.
Missing colons ( : ) for the entities Parser, CheckInputs, ViewWorkoutCommand. Require fix.


###### [Back to table of contents](#table-of-contents)

### Delete component
The deletion mechanism is facilitated by 'Parser', 'DeleteCommand', 'Workout', 'WorkoutList' and 'UI', where a Workout object will be deleted according to the command inputted by the user and removed from the workout list.

Choose a reason for hiding this comment

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

Perhaps you can use the Markdown format for the names of the classes, such as Parser, DeleteCommand etc.


<img src="images/DeleteWorkoutDiagram.png" width="450" />

Choose a reason for hiding this comment

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

Activation bar at the bottom not closed for both Duke entity.
Missing colons ( : ) for every entities in the diagram. Require immediate fix.


Below is an example usage scenario and how the deletion mechanism behaves at each step:

Step 1: Assume that the user has already added a workout on 21/03/23 into the WorkoutList using the following command, /start 21/03/23

Choose a reason for hiding this comment

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

Perhaps you can use the Markdown format for code snippets, such as for /start 21/03/23 so that the explanation can be differentiated from the code syntax


Step 2: The user input of /delete 21/03/23 will be taken in for the parser and an object of class DeleteCommand will be returned.

Choose a reason for hiding this comment

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

Perhaps you can use the Markdown format for code snippets, such as for /delete 21/03/23 so that the explanation can be differentiated from the code syntax


Step 3: The execute method in the DeleteCommand class that is overrides will be called with parameter date and will iterate through workoutList looking for a workout that matches. It will then remove the workout from the workoutList.

Choose a reason for hiding this comment

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

Perhaps it will be better for commands to be in markdown code snippets format. It may also be better to highlight class name so to make it more easily identified.

###### [Back to table of contents](#table-of-contents)

### Exit component

###### [Back to table of contents](#table-of-contents)

{Describe the value proposition: what problem does it solve?}

## User Stories
### V1.0

| As a | I want to ... | So that I can ... |
|----------|---------------------------------------------------------------------------|-----------------------------------|
| user | record down my exercise for each workout | check the workout whenever l want |
| new user | know how to use the app | |
| user | know which days l have done exercise | have clear insight of myself |
| user | know how many workouts l have done for a day | make exercise plan based on this |
| user | remove some workouts that have been incorrectly recorded | |



### V2.0

| As a | I want to ... | So that I can ... |
|------|-----------------------------------------------------------|--------------------------------------------|
| user | know the amount of calories I consume each day | control the calories intake |
| user | know the workout l have done in last month | make a exercise plan for next month |
| user | know the frequency l do exercise for one month | inspire myself |
| user | know the amount of calories I have consumed for one month | have better insights of my calories intake |


###### [Back to table of contents](#table-of-contents)

|Version| As a ... | I want to ... | So that I can ...|
|--------|----------|---------------|------------------|
|v1.0|new user|see usage instructions|refer to them when I forget how to use the application|
|v2.0|user|find a to-do item by name|locate a to-do without having to go through the entire list|

## Non-Functional Requirements

{Give non-functional requirements}
###### [Back to table of contents](#table-of-contents)

## Glossary

* *glossary item* - Definition

###### [Back to table of contents](#table-of-contents)


## Instructions for manual testing

{Give instructions on how to do a manual product testing e.g., how to load sample data to be used for testing}

###### [Back to table of contents](#table-of-contents)
5 changes: 3 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Duke
# Fitness Checker

{Give product intro here}
The product will be able to keep track of the user's daily exercise and workouts. This product
will also be able to keep track calories consumed to be mindful of the user's diet

Useful links:
* [User Guide](UserGuide.md)
Expand Down
Loading