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

Fix/frederick ppp #88

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
345 commits
Select commit Hold shift + click to select a range
3312b96
Update the UI with welcome message and available commands display
angelinawong1210 Oct 26, 2024
ba3fdc7
Merge pull request #48 from Paulifyer/ByTopics
angelinawong1210 Oct 26, 2024
448e5ec
Merge pull request #50 from angelinawong1210/master
Paulifyer Oct 26, 2024
42e2fad
Update the Javadoc
angelinawong1210 Oct 26, 2024
ae9823a
Merge branch 'master' into master
angelinawong1210 Oct 26, 2024
8b828f0
Merge pull request #51 from angelinawong1210/master
angelinawong1210 Oct 26, 2024
8c3a62b
Implemented FlashBang correct percentage feature and fixed logic erro…
raneeng Oct 29, 2024
5ced06f
Fixed logic errors for showing flashbang percentage
raneeng Oct 29, 2024
a3920a2
Merge branch 'master' into fix/merge-conflict
frederickemerson Oct 30, 2024
f1846f8
Merge https://github.com/AY2425S1-CS2113-T11-2/tp
frederickemerson Oct 30, 2024
3be19d5
Fixed index offset for delete command so that when user inputs '--i 1…
raneeng Oct 30, 2024
871372c
Add Style.puml
mikolajed Oct 30, 2024
b99166d
Merge pull request #55 from mikolajed/master
mikolajed Oct 30, 2024
bf4628d
Update Ui diagram
angelinawong1210 Oct 30, 2024
6230141
Add non design portions of the Developer guide
Paulifyer Oct 30, 2024
b1c1c96
Merge pull request #52 from raneeng/show-flashbang-percentage
Paulifyer Oct 30, 2024
65f4666
Merge pull request #56 from Paulifyer/ByTopics
raneeng Oct 30, 2024
6557ebf
Merge branch 'AY2425S1-CS2113-T11-2:master' into master
angelinawong1210 Oct 30, 2024
162dab4
Updated developer's guide Parser component section and Acknowledgemen…
raneeng Oct 30, 2024
11d8825
Update DG
mikolajed Oct 30, 2024
a40c619
Merge branch 'AY2425S1-CS2113-T11-2:master' into master
mikolajed Oct 30, 2024
ac7fbfe
Refactor Parser
mikolajed Oct 30, 2024
8f9e59d
Merge branch 'master' of https://github.com/mikolajed/tp
mikolajed Oct 30, 2024
e22c140
Added Class and Sequence Diagrams for Storage
frederickemerson Oct 31, 2024
2a9a2b2
Update DeveloperGuide.md
frederickemerson Oct 31, 2024
84ee0e2
Fix code to match checkstyle config
Paulifyer Oct 31, 2024
2bd73c2
Added more unit testing for AddCommand
raneeng Oct 31, 2024
00b3589
Added unit testing for DeleteComand
raneeng Oct 31, 2024
478468d
Delete data/FunModule.txt
raneeng Oct 31, 2024
17cdd25
Added unit testing for EditCommand
raneeng Oct 31, 2024
38e597f
Added unit testing for FlashbangCommand
raneeng Oct 31, 2024
145a91d
Implemented FlashBang correct percentage feature and fixed logic erro…
raneeng Oct 29, 2024
91afa30
Fixed logic errors for showing flashbang percentage
raneeng Oct 29, 2024
464e433
Add non design portions of the Developer guide
Paulifyer Oct 30, 2024
d04664a
Update DG
mikolajed Oct 31, 2024
98ce0d6
Merge branch 'master' of https://github.com/mikolajed/tp
mikolajed Oct 31, 2024
eef8e22
Revert to old Parser version
mikolajed Oct 31, 2024
d59b43c
Merge pull request #65 from raneeng/edit-command-tests
angelinawong1210 Oct 31, 2024
6ea3c17
Merge pull request #54 from raneeng/fix-delete-offset
angelinawong1210 Oct 31, 2024
60a287a
Merge pull request #58 from raneeng/developer-guide
angelinawong1210 Oct 31, 2024
23477bd
Merge branch 'AY2425S1-CS2113-T11-2:master' into master
angelinawong1210 Oct 31, 2024
86417a3
Merge pull request #57 from angelinawong1210/master
frederickemerson Oct 31, 2024
a07cb61
Merge pull request #63 from raneeng/add-command-tests
mikolajed Oct 31, 2024
73f17f2
Merge branch 'master' into master
mikolajed Oct 31, 2024
52db029
Update the Ui in DG
angelinawong1210 Nov 3, 2024
1199068
Merge branch 'master' into add-storage-dg-1
raneeng Nov 4, 2024
a731f9c
Merge pull request #62 from AY2425S1-CS2113-T11-2/add-storage-dg-1
raneeng Nov 4, 2024
3361c7e
Fixed relative links for Parser diagrams
raneeng Nov 4, 2024
aefac51
Fixed relative links for Parser diagrams
raneeng Nov 4, 2024
64c61b9
Merge pull request #66 from raneeng/command-tests
Paulifyer Nov 4, 2024
3c142b1
Merge pull request #70 from raneeng/developer-guide-fix-relative-links
Paulifyer Nov 4, 2024
27260f6
Merge pull request #61 from AY2425S1-CS2113-T11-2/add-storage-dg
Paulifyer Nov 4, 2024
78a67dd
Fix typo with Storage UML Diagram file path
Paulifyer Nov 4, 2024
4629bf0
Merge pull request #64 from raneeng/delete-command-tests
Paulifyer Nov 4, 2024
4fbc045
Update DeveloperGuide.md
frederickemerson Nov 4, 2024
9c0fdb1
Merge pull request #72 from AY2425S1-CS2113-T11-2/fix/image-issue
Paulifyer Nov 4, 2024
64e82c4
Merge branch 'master' into master
frederickemerson Nov 5, 2024
4731baa
Merge pull request #2 from AY2425S1-CS2113-T11-2/master
frederickemerson Nov 5, 2024
8d726f8
Update DeveloperGuide.md
frederickemerson Nov 5, 2024
71bc475
Merge pull request #73 from AY2425S1-CS2113-T11-2/fix/dg-pages-image-…
frederickemerson Nov 5, 2024
c4af933
Merge branch 'master' of https://github.com/Paulifyer/tp into ByTopics
Paulifyer Nov 5, 2024
e98de9e
Merge branch 'master' of https://github.com/AY2425S1-CS2113-T11-2/tp …
Paulifyer Nov 5, 2024
6761b0a
Fix FlashbangCommand.java to follow checkstyle config
Paulifyer Nov 5, 2024
3a8aa1d
Fix code to be in line with checkstyle config
Paulifyer Nov 5, 2024
c34f229
Merge pull request #74 from Paulifyer/ByTopics
frederickemerson Nov 5, 2024
b35b1d3
did parser delete sample sequence diagram in puml
raneeng Nov 5, 2024
2d3aaf0
edited developer guide to reference parser puml sequence diagram
raneeng Nov 5, 2024
dc1596e
edited developer guide to reference parser puml sequence diagram png
raneeng Nov 5, 2024
ab2a8a4
edited puml to remove strikeout effect -- --
raneeng Nov 5, 2024
d890cd9
edited puml to remove strikeout effect -- --
raneeng Nov 5, 2024
d6a643a
edited puml to remove strikeout effect -- --
raneeng Nov 5, 2024
aa51114
Merge branch 'master' into parser-delete-puml
raneeng Nov 5, 2024
bf9d1f9
Merge branch 'master' into master
mikolajed Nov 5, 2024
aea1c93
Merge pull request #75 from raneeng/parser-delete-puml
mikolajed Nov 5, 2024
095e988
Merge branch 'AY2425S1-CS2113-T11-2:master' into master
mikolajed Nov 5, 2024
805653e
Merge pull request #59 from mikolajed/master
mikolajed Nov 5, 2024
88b3398
Fixed mistakes in command testing
raneeng Nov 6, 2024
45748bd
Implemented viewing of mistakes after flashbang
raneeng Nov 6, 2024
4a5a177
Add ViewAllCommand
mikolajed Nov 6, 2024
5e2ae0b
Implement ViewAllCommand
mikolajed Nov 6, 2024
695f8ad
Update UG
mikolajed Nov 7, 2024
39e6bba
Merge branch 'master' into master
mikolajed Nov 7, 2024
f122082
Merge pull request #67 from angelinawong1210/master
mikolajed Nov 7, 2024
75bbf14
Merge pull request #77 from raneeng/view-wrong-questions
Paulifyer Nov 8, 2024
fe8a2dd
Update DeveloperGuide.md
Paulifyer Nov 8, 2024
fe397c4
Create UserGuide.pdf
angelinawong1210 Nov 8, 2024
f3dfef6
Merge pull request #79 from mikolajed/master
angelinawong1210 Nov 8, 2024
10942f5
Merge pull request #76 from raneeng/fix-command-testing
angelinawong1210 Nov 8, 2024
db77f9a
Add Developer Guide PDF
Paulifyer Nov 8, 2024
8ea603d
Merge pull request #81 from angelinawong1210/master
frederickemerson Nov 8, 2024
d8878eb
Merge pull request #82 from Paulifyer/master
frederickemerson Nov 8, 2024
04bc538
Merge branch 'master' into fix/merge-conflict
frederickemerson Nov 8, 2024
c291796
Merge pull request #53 from frederickemerson/fix/merge-conflict
angelinawong1210 Nov 8, 2024
57b0928
Update Parser.java
frederickemerson Nov 8, 2024
66093e0
Fix bug where there are 2 executes in Flashbang
Paulifyer Nov 8, 2024
01ed471
Change displayCommands to be called when users input an invalid command
Paulifyer Nov 8, 2024
798bad4
Minor fixes
mikolajed Nov 8, 2024
0aef72a
Update list of listed commands
mikolajed Nov 8, 2024
8d30e49
Merge pull request #83 from AY2425S1-CS2113-T11-2/fix/checkstyle-matc…
mikolajed Nov 8, 2024
ce8715e
Merge branch 'master' of https://github.com/mikolajed/tp
mikolajed Nov 8, 2024
3e3c563
Update ViewAllCommand functionality
mikolajed Nov 8, 2024
9141cd2
Merge branch 'mikolajed-master'
raneeng Nov 8, 2024
c8a25e1
Merge pull request #146 from mikolajed/master
raneeng Nov 8, 2024
6004eca
Merge branch 'master' of github.com:raneeng/tp
raneeng Nov 8, 2024
6b657d3
removed printing gof command list from Ui.printResponse()
raneeng Nov 8, 2024
534dfe0
Merge pull request #159 from raneeng/fix-issue-158
frederickemerson Nov 8, 2024
1f42835
Update UserGuide.md
angelinawong1210 Nov 10, 2024
f736ece
Merge branch 'master' of https://github.com/AY2425S1-CS2113-T11-2/tp …
Paulifyer Nov 10, 2024
54faff9
Merge pull request #84 from Paulifyer/BugFix
angelinawong1210 Nov 10, 2024
56cf1c2
Update the UI's class diagram
angelinawong1210 Nov 10, 2024
43dde6e
Fixed errors in AddCommandTest, DeleteCommandTest, EditCommandTest, Q…
raneeng Nov 10, 2024
808d5d4
Merge pull request #161 from raneeng/master
angelinawong1210 Nov 10, 2024
2481206
Merge branch 'AY2425S1-CS2113-T11-2:master' into master
angelinawong1210 Nov 10, 2024
3202cfe
Merge pull request #160 from angelinawong1210/master
raneeng Nov 10, 2024
e876d26
Created raneeng.md
raneeng Nov 10, 2024
e0daf70
Fixed links in raneeng.md
raneeng Nov 10, 2024
b67528a
Create PPP - angelinawong1210.md
angelinawong1210 Nov 10, 2024
9d86c91
Fixed links in raneeng.md
raneeng Nov 10, 2024
6ff5590
Fixed links in raneeng.md
raneeng Nov 10, 2024
ca7e9d4
Fixed links in raneeng.md
raneeng Nov 10, 2024
5824461
Merge pull request #164 from raneeng/ranee-PPP
raneeng Nov 10, 2024
77e420c
Fixed links in raneeng.md
raneeng Nov 10, 2024
2b7be70
Fixed formatting
raneeng Nov 10, 2024
952977c
Fixed formatting
raneeng Nov 10, 2024
1db766f
Merge pull request #165 from raneeng/ranee-PPP
raneeng Nov 10, 2024
7a1f07a
Added raneeng_PPP.pdf
raneeng Nov 10, 2024
22bebad
Fixed formatting
raneeng Nov 11, 2024
4c2cf90
Fixed formatting
raneeng Nov 11, 2024
f1792b2
Fixed formatting
raneeng Nov 11, 2024
fcd8345
Fixed formatting
raneeng Nov 11, 2024
e08369a
Merge branch 'master' into ranee-PPP
raneeng Nov 11, 2024
7ca8e4b
Fixed format for raneeng.md
raneeng Nov 11, 2024
3057d4b
Merge pull request #167 from raneeng/ranee-PPP
raneeng Nov 11, 2024
442dc50
Fixed format for raneeng.md
raneeng Nov 11, 2024
ce98c65
Fixed format for raneeng.md
raneeng Nov 11, 2024
6eeed85
Merge pull request #168 from raneeng/ranee-PPP
raneeng Nov 11, 2024
1250d92
Cleaned up raneeng.md
raneeng Nov 11, 2024
2b9ee60
Cleaned up raneeng.md
raneeng Nov 11, 2024
ac92ee7
Merge branch 'master' into ranee-PPP
raneeng Nov 11, 2024
21b3815
Merge pull request #169 from raneeng/ranee-PPP
raneeng Nov 11, 2024
50fdcda
Added raneeng.pdf
raneeng Nov 11, 2024
839bf67
Merge branch 'AY2425S1-CS2113-T11-2:master' into ranee-PPP
raneeng Nov 11, 2024
3981293
Fix command input bug where inputs similar to commands are accepted
Paulifyer Nov 11, 2024
25b8306
Add search command
Paulifyer Nov 11, 2024
56941ed
Fix bug with searching by topic
Paulifyer Nov 11, 2024
7253abb
Merge pull request #171 from Paulifyer/SearchCommand
frederickemerson Nov 11, 2024
9d5edc3
Merge pull request #3 from AY2425S1-CS2113-T11-2/master
frederickemerson Nov 11, 2024
4f05199
Merge remote-tracking branch 'origin/master'
frederickemerson Nov 11, 2024
173fb77
Merge pull request #163 from angelinawong1210/PPP
frederickemerson Nov 11, 2024
23ec0dd
Fixed failing QuitCommand JUnit tests
raneeng Nov 11, 2024
6747fba
Fixed failing Parser JUnit tests
raneeng Nov 11, 2024
645e811
Converted ParserPartialClassDiagram to PlantUML
raneeng Nov 11, 2024
50a2326
Merge branch 'master' into parser-class-puml
raneeng Nov 11, 2024
6dc55ad
updated DeveloperGuide with new png
raneeng Nov 11, 2024
f6f9cbf
Merge pull request #174 from raneeng/parser-class-puml
angelinawong1210 Nov 11, 2024
a6098a1
fixed index oob bug for delete
raneeng Nov 11, 2024
b5aab19
fixed index oob bug for edit
raneeng Nov 11, 2024
bf12525
Merge branch 'master' into debug-oob-index-crash
raneeng Nov 11, 2024
deaada9
Completed missing JavaDoc
raneeng Nov 11, 2024
e561c08
Merge pull request #170 from raneeng/ranee-PPP
raneeng Nov 11, 2024
f897980
Change code to fit checkstyle config
Paulifyer Nov 11, 2024
3f8018c
Cleaned up unused imports and variables
raneeng Nov 11, 2024
014f202
Merge branch 'master' into debug-quit-command
raneeng Nov 11, 2024
a94cf30
Merge pull request #175 from raneeng/debug-oob-index-crash
angelinawong1210 Nov 11, 2024
24c37e1
Merge pull request #177 from raneeng/debug-quit-command
angelinawong1210 Nov 11, 2024
7ac3457
Fix typo
Paulifyer Nov 11, 2024
1030564
Merge branch 'master' of https://github.com/AY2425S1-CS2113-T11-2/tp …
Paulifyer Nov 11, 2024
0a4b922
Merge branch 'master' of https://github.com/AY2425S1-CS2113-T11-2/tp …
Paulifyer Nov 11, 2024
d1160ad
Merge branch 'SearchCommand' of https://github.com/Paulifyer/tp into …
Paulifyer Nov 11, 2024
81c03ea
Added display of card index in view command
raneeng Nov 11, 2024
1362304
Added display of module name in add command success message
raneeng Nov 11, 2024
223795d
Invalid module input for the Add Command
angelinawong1210 Nov 11, 2024
7293bd9
Implemented DeleteALlCommand
raneeng Nov 11, 2024
db7acae
Updated UserGuide for deleteall
raneeng Nov 11, 2024
3d52112
Merge pull request #179 from angelinawong1210/master
raneeng Nov 11, 2024
67cd223
Merge branch 'master' into delete-all-command
raneeng Nov 11, 2024
6281e6a
Add PPP for mikolajed
mikolajed Nov 11, 2024
c7f3e6c
Merge branch 'AY2425S1-CS2113-T11-2:master' into master
mikolajed Nov 11, 2024
652ac89
Merge pull request #182 from mikolajed/master
mikolajed Nov 11, 2024
f4838e6
Fix portfolio links in AboutUs.md
mikolajed Nov 11, 2024
e35b280
Merge branch 'master' of https://github.com/mikolajed/tp
mikolajed Nov 11, 2024
579b8e9
Merge branch 'AY2425S1-CS2113-T11-2:master' into master
mikolajed Nov 11, 2024
09d2aed
Merge pull request #183 from mikolajed/master
mikolajed Nov 11, 2024
dda98ee
Add mikolajed.pdf
mikolajed Nov 11, 2024
ee74b7a
Use *.html links for portfolio
mikolajed Nov 11, 2024
2e9124b
Merge branch 'master' of https://github.com/mikolajed/tp
mikolajed Nov 11, 2024
4714e7f
Merge branch 'AY2425S1-CS2113-T11-2:master' into master
mikolajed Nov 11, 2024
0e9dc4c
Merge pull request #184 from mikolajed/master
mikolajed Nov 11, 2024
b62b0b7
Merge pull request #180 from raneeng/delete-all-command
angelinawong1210 Nov 11, 2024
ea872da
Merge pull request #176 from Paulifyer/SearchCommand
angelinawong1210 Nov 11, 2024
7e5a24d
Add JavaDoc comments to the Storage class
Paulifyer Nov 11, 2024
07f08fe
Fix typo in the display commands function
Paulifyer Nov 11, 2024
8a813dc
Add fix to issue where adding a whitespace in front of input resulted…
Paulifyer Nov 11, 2024
0b233b6
Merge pull request #185 from Paulifyer/BugFix
raneeng Nov 11, 2024
d414b9f
fixed typo in UG
raneeng Nov 11, 2024
f85d1c4
Merge https://github.com/AY2425S1-CS2113-T11-2/tp
frederickemerson Nov 11, 2024
b167e9e
Merge pull request #186 from raneeng/ug-typo
mikolajed Nov 11, 2024
b959ada
Change InvalidCommand to addtionally accept String inputs
Paulifyer Nov 11, 2024
d012d9b
Fix bug caused by users corrupting files causing crashes
Paulifyer Nov 11, 2024
46dbee8
Merge pull request #187 from Paulifyer/BugFix
angelinawong1210 Nov 11, 2024
3ebcf2d
added checking if module exists and returns appropriate error msg if not
raneeng Nov 11, 2024
5c7f36f
removed double error messages
raneeng Nov 11, 2024
4670515
fixed to show specific error message instead of generic one
raneeng Nov 11, 2024
57cdfcc
fixed the regex for flashbang command, updated the help command and m…
frederickemerson Nov 11, 2024
e9aec27
Merge pull request #189 from frederickemerson/fix/flashbang
angelinawong1210 Nov 11, 2024
1c53244
Merge pull request #188 from raneeng/fix-nonexistent-mod-name
angelinawong1210 Nov 11, 2024
3e4d958
fixed the implementation for flashbang command, updated the help comm…
frederickemerson Nov 11, 2024
333e1e4
Merge pull request #190 from frederickemerson/fix/flashbang-implement…
angelinawong1210 Nov 11, 2024
c35a5c7
Add FAQs to UG
mikolajed Nov 11, 2024
78a00b0
Merge pull request #192 from mikolajed/master
mikolajed Nov 11, 2024
b0935e7
Update UG
mikolajed Nov 11, 2024
f5b07c6
Merge branch 'AY2425S1-CS2113-T11-2:master' into master
mikolajed Nov 11, 2024
8cf587f
Merge pull request #193 from mikolajed/master
mikolajed Nov 11, 2024
ad73347
fixed the ui for view all command
frederickemerson Nov 11, 2024
87cffb4
fixed the issue for edit comnmand
frederickemerson Nov 11, 2024
3d65780
Merge pull request #194 from frederickemerson/fix/viewall
frederickemerson Nov 11, 2024
d603563
Merge pull request #195 from frederickemerson/fix/edit-index-issue
angelinawong1210 Nov 11, 2024
b5cf18a
fixed the issue for view comnmand
frederickemerson Nov 11, 2024
2dd550c
Update the Add Command
angelinawong1210 Nov 11, 2024
26760bd
Merge pull request #196 from frederickemerson/fix/view-index
angelinawong1210 Nov 11, 2024
28cf1cb
Merge pull request #197 from angelinawong1210/master
frederickemerson Nov 11, 2024
acc713b
added help command to prevent spamming of available command after eve…
frederickemerson Nov 11, 2024
2be6a30
Merge pull request #4 from frederickemerson/add/help-command
frederickemerson Nov 11, 2024
84d3828
added deletall to help command listing
frederickemerson Nov 11, 2024
370bd95
Merge pull request #198 from frederickemerson/add/help-command
frederickemerson Nov 11, 2024
d6ccd2c
added dg fixes and puml files
frederickemerson Nov 12, 2024
0854b48
Merge pull request #199 from frederickemerson/master
frederickemerson Nov 12, 2024
e90864c
Merge pull request #200 from frederickemerson/fix/fred-dg
angelinawong1210 Nov 12, 2024
fae2d6d
Update angelinawong1210.md
angelinawong1210 Nov 12, 2024
6cb304d
Merge pull request #201 from angelinawong1210/master
frederickemerson Nov 12, 2024
cdea06b
Add delete module command
Paulifyer Nov 12, 2024
4c0e83b
Merge branch 'master' of https://github.com/AY2425S1-CS2113-T11-2/tp …
Paulifyer Nov 12, 2024
ab67f79
Add assertion to the View Command
angelinawong1210 Nov 12, 2024
803f315
Add delete module command and module file deletion
Paulifyer Nov 12, 2024
51f7677
Merge branch 'master' into master
angelinawong1210 Nov 12, 2024
cc2755b
Merge pull request #203 from Paulifyer/BugFix
angelinawong1210 Nov 12, 2024
c97ff5e
Merge pull request #202 from angelinawong1210/master
Paulifyer Nov 12, 2024
930dc75
Update UserGuide.md
angelinawong1210 Nov 12, 2024
df2cdce
Merge branch 'master' of https://github.com/angelinawong1210/tp
angelinawong1210 Nov 12, 2024
f88f69d
testing
frederickemerson Nov 12, 2024
bcd7e57
Update the DG and UG
angelinawong1210 Nov 12, 2024
e63e696
Merge pull request #204 from angelinawong1210/master
frederickemerson Nov 12, 2024
4363278
Update AboutUs and Angelina's PPP
angelinawong1210 Nov 12, 2024
64af146
added testcases for view all command
frederickemerson Nov 12, 2024
77786c0
Merge pull request #206 from frederickemerson/add/viewall-testcases
angelinawong1210 Nov 12, 2024
5c30f49
Merge pull request #205 from angelinawong1210/master
frederickemerson Nov 12, 2024
063abc0
updated ppp
frederickemerson Nov 12, 2024
42ba02c
Merge pull request #207 from frederickemerson/update/fred-ppp
angelinawong1210 Nov 12, 2024
7fccc59
Update angelinawong1210.md
angelinawong1210 Nov 12, 2024
9c6b3ca
Update frederickemerson.md
frederickemerson Nov 12, 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
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
# FlashBang

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
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ test {
}

application {
mainClass.set("seedu.duke.Duke")
mainClass.set("seedu.duke.Flashbang")
}

shadowJar {
archiveBaseName.set("duke")
archiveBaseName.set("Flashbang")
archiveClassifier.set("")
}

Expand Down
15 changes: 8 additions & 7 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# 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) | Mikolaj Jedrzejewski | [Github](https://github.com/mikolajed) | [Portfolio](https://ay2425s1-cs2113-t11-2.github.io/tp/team/mikolajed.html) |
| ![](https://via.placeholder.com/100.png?text=Photo) | Ranee Ng | [Github](https://github.com/raneeng) | [Portfolio](https://ay2425s1-cs2113-t11-2.github.io/tp/team/raneeng.html) |
| ![](https://via.placeholder.com/100.png?text=Photo) | Frederick | [Github](https://github.com/frederickemerson) | [Portfolio](https://ay2425s1-cs2113-t11-2.github.io/tp/team/frederick.html) |
| ![](https://via.placeholder.com/100.png?text=Photo) | Nguyen Hoang Minh Ngoc (Angelina) | [Github](https://github.com/angelinawong1210) | [Portfolio](https://ay2425s1-cs2113-t11-2.github.io/tp/team/angelinawong1210.html) |
| ![](https://via.placeholder.com/100.png?text=Photo) | Ethan Soh | [Github](https://github.com/Paulifyer) | [Portfolio](https://ay2425s1-cs2113-t11-2.github.io/tp/team/ethansoh.html) |
Binary file added docs/Developer Guide _ tp.pdf
Binary file not shown.
134 changes: 124 additions & 10 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,150 @@
## Acknowledgements

{list here sources of all reused/adapted ideas, code, documentation, and third-party libraries -- include links to the original source as well}
Formatting of Developer's Guide was done with reference to [AddressBook-Level3 developer guide](https://se-education.org/addressbook-level3/DeveloperGuide.html#common-classes).

## Design & implementation

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

### Parser component
API: `Parser.java`

Parser's role is to given user input create a command which then can be executed. This particular implementation follows
**Factory design pattern**. It exposes a general purpose method for parsing command `parseCommand(String input)` and then it determines
command types and creates one of the type. Regular expressions are heavily used for extracting information from input.
More details are presented on a sequence diagram someName.

![Diagram Description](./diagrams/ParsingSequenceDiagram.png)

#### Alternative approaches/Possible improvements:
- Command factory could be moved to a separate class
- Creating a lexer object might be a desirable approach if the commands where much more complex

#### Structure
Below is a partial class diagram showing the interactions of the `Parser` class.
![Parser class diagram](./diagrams/ParserPartialClassDiagram.png)

The sequence diagram below illustrates the interactions taking `parseCommand(“delete --m cs2113 --i 1”)` as an example.
![Sample delete call sequence diagram](./diagrams/ParserDeleteSequenceDiagram.png)

#### Example
How the `Parser` component works:
The `Parser` receives the command input.
It identifies the command type using `parseCommandType`.
Depending on the command type, it creates the corresponding command object (e.g., `AddCommand`).
The created command is executed, producing a `CommandResult`.
The `CommandResult` is then used by `Ui` to provide feedback to the user.

### Ui component
API: `Ui.java`

Below is a partical class diagram showing the interactions of the `Ui` class.
![Ui class diagram](./diagrams/UIClassDiagram.png)

The sequence diagram below illustrates the interactions between the user and this class when the program is executed.
![Ui interactions sequence diagram](./diagrams/UISequenceDiagram.png)

How the `Ui` component works:
The `Ui` serves as a centralized utility that handles all outputs.
When a user execute the app, this class displays the welcome message and all available commands. After that, based on users' inputs, it handles the output that is processed by other classes.

### Storage component
API: `Storage.java`

Below is a class diagram showing the interactions of the `Storage` class.
![Storage class diagram](./diagrams/StorageClassDiagram.png)

The sequence diagram below illustrates the interactions taking `writeFlashBookToFile()` and `readFlashCardsFromFile()`.
![Sample delete call sequence diagram](./diagrams/StorageSequenceDiagram.png)

How the `Storage` component works:
The `Storage` component is initialized with a directory path where flashcard data will be stored.
To save data:
`writeFlashBookToFile()` is called, iterating through each `FlashCardSet` in `FlashBook`.
For each `FlashCardSet`, a corresponding file is created in the directory, and each Card in the set is written to this file.
To load data:
`readFlashCardsFromFile()` checks the directory for flashcard files.
For each file found, `readFlashCardSetFromFile()` is called to read the cards and create a `FlashCardSet`.
The `FlashCardSet` is then added back to the `FlashBook`, reconstructing the flashcard library in memory.

## Product scope
### Target user profile

{Describe the target user profile}
- Has a need to create flashcards for their studies
- Needs to be able to test themselves on flashcard content
- Needs to be able to track how well they understand the modules they take
- Can type fast
- Prefers typing to mouse interactions
- Is used to using CLI applications

### Value proposition

{Describe the value proposition: what problem does it solve?}
Give university students a simple and effective flashcard application which allows them to create flashcards for the
many modules and topics they have for schools. Flashcards are used to test the student's knowledge and also organise the
content of the module in a simple and clear way.

## User Stories

|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|

| 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 |
| v1.0 | student | view existing flashcards | I can test my knowledge to study efficiently |
| v1.0 | student | view existing flashcards | I can review and learn material |
| v1.0 | crammer | delete flashcards which im confident at | I can focus on my areas of weakness |
| v1.0 | student | review flashcards that I have answered incorrectly | I can identify my knowledge gaps |
| v2.0 | student | have a timer within the app | I am able to time myself taking the quizzes within the app itself for better learning |
| v2.0 | student | view all incorrect flashcards in previous quizzes | I can focus more on my weak areas |
| v2.0 | user | search for flashcards based on keyword and module | to test myself on specific topics |
| v2.0 | student | keep track of how many right and wrong answers in quizzes | so I can focus on how well versed I am in a topic |
| v2.0 | student | filter flashcards by difficulty | I can choose which ones to focus on based on my current level of understanding |
## Non-Functional Requirements

{Give non-functional requirements}
* Should work on any mainstream OS as long as it has Java `17` or above installed
* Should be able to handle any number of modules as long as there are no repeated module names
* A user with strong typing ability should be able to use the application faster than with a mouse

## Glossary

* *glossary item* - Definition
* **Flashcard** - a card containing a small amount of information as an aid to learning.
Contains a question and an answer related to a topic.

## 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}
### Launch and shutdown
#### Initial launch
1. Download the jar file and copy into an empty folder
2. Open the jar file using your command line with the command:
`java -jar {Path of File}`
#### Shutdown
1. Type `quit` to exit the application
2. Quitting the application also saves all changes made by the user during runtime <br>
Expected: Application exits and the text files in `./data` are updated accordingly
#### Adding Flashcards
1. Adding flashcards into the flash book
1. Test case: `add --m CS2113 --q What is OOP? --a Object-Oriented Programming` <br>
Expected: A Card with question "What is OOP" and answer "Object-Oriented Programming" in the module "CS2113"
2. Test case: `add` <br>
Expected: An error is thrown and caught printing out "uh oh bad command"
3. Other incorrect add commands to try: `add --q`, `add --a` (with missing fields or empty fields) <br>
Expected: Similar to previous
#### Deleting Flashcards
##### Prerequisites: There are a several flashcards in the flash book listed out using the view command
1. Deleting flashcards from the flash book
1. Test case: `delete --m CS2113 --i 1` <br>
Expected: the first flashcard in the CS2113 flash card set is deleted. Details of the deleted card should be shown
2. Test case: `delete` <br>
Expected: An error is thrown and caught printing out "uh oh bad command"
3. Other incorrect variations to try: `delete --m ModuleNotInList --i 0`, `delete --m`
(with missing fields or modules not in the flash book) <br>
Expected: Similar to previous
#### Flashbang
##### Prerequisites: There are a several flashcards and flashcard sets in the flash book
1. Quizzing users on the flashcards in a module
1. Test case: `flashbang --m CS2113` <br>
Expected: Each question within the module is displayed sequentially
where users are prompted to reveal the answer to the question with `y` or `n`
2. Incorrect variation to try: `flashbang`, `flashbang --m` <br>
Expected: An error is thrown and caught printing out "uh oh bad command"
3. Other incorrect variations to try: `flashbang --m ModuleNotInList` <br>
Expected: An error is thrown and caught printing out "uh oh bad command"
7 changes: 5 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Duke
# FlashBang

{Give product intro here}
FlashBang is a CLI app designed to provide students with a smart way of studying for their modules. The app will manage a limited number of flashcards for a small number of modules, optimized for users who prefer a CLI.

Useful links:
* [User Guide](UserGuide.md)
* [Developer Guide](DeveloperGuide.md)
* [About Us](AboutUs.md)

PPP
[Frederick](./team/frederickemerson.md)
Loading
Loading