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-T15-3] Moneymind #42

Open
wants to merge 311 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
311 commits
Select commit Hold shift + click to select a range
51baf31
Actual commit
mingyuannus Mar 14, 2023
6abf3dd
Fix imports
mingyuannus Mar 14, 2023
c5c4994
Fix imports for CommandTest
mingyuannus Mar 14, 2023
1cdd0c7
add save and load features to main run class
Toh-HongFeng Mar 14, 2023
c333801
add EventList.txt to .gitignore
Toh-HongFeng Mar 14, 2023
a62c290
Merge pull request #22 from Mnsd05/branch-assertions
Toh-HongFeng Mar 14, 2023
696ecfa
resolve merge conflicts
Toh-HongFeng Mar 14, 2023
2921a4c
resolve merge conflicts
Toh-HongFeng Mar 14, 2023
594bb2d
improve code quality for stylesCheck
Toh-HongFeng Mar 14, 2023
f6e6431
Merge pull request #1 from Toh-HongFeng/mingyuannus-master
mingyuannus Mar 14, 2023
16c9ed4
Merge pull request #23 from mingyuannus/master
Toh-HongFeng Mar 14, 2023
22d501e
resolve merge conflict
Toh-HongFeng Mar 14, 2023
e6f2a78
add classes to update CategoryCommand.categoryMap
Toh-HongFeng Mar 14, 2023
675dffa
fix minor bugs
Toh-HongFeng Mar 14, 2023
b9807fa
Merge pull request #21 from Toh-HongFeng/storage
Toh-HongFeng Mar 14, 2023
8e5a110
fix package name
Toh-HongFeng Mar 14, 2023
b37565d
fix package name
Toh-HongFeng Mar 14, 2023
0fa5c2a
Merge pull request #25 from Toh-HongFeng/master
Toh-HongFeng Mar 14, 2023
79e0765
Fix bugs and improve different commands
Mnsd05 Mar 15, 2023
b2300a3
Add help command
Mnsd05 Mar 15, 2023
ef00a53
Divide packages and refactor code
Mnsd05 Mar 15, 2023
5cb8ed2
Merge branch 'master' into branch-fix-bugs
Toh-HongFeng Mar 15, 2023
1f1246b
Update Parser.java
Toh-HongFeng Mar 15, 2023
90cbf14
Update regression test
Mnsd05 Mar 16, 2023
d7de1d8
update EXPECTED.txt and debug 2nd test of CommandTest.java
Toh-HongFeng Mar 16, 2023
f8ba774
fix save function for empty category map
Toh-HongFeng Mar 16, 2023
7fc47ca
Merge pull request #3 from Toh-HongFeng/branch-debug
Mnsd05 Mar 16, 2023
d91084b
Merge pull request #27 from Mnsd05/branch-fix-bugs
Toh-HongFeng Mar 16, 2023
9611736
add logger to Storage.java
Toh-HongFeng Mar 16, 2023
865217e
Merge branch 'storage'
Toh-HongFeng Mar 16, 2023
3735d9a
Merge branch 'master' into storage
Toh-HongFeng Mar 16, 2023
6df3c34
Merge branch 'tracking_team'
Toh-HongFeng Mar 16, 2023
c6eb85f
Merge branch 'master' into storage
Toh-HongFeng Mar 16, 2023
bfceefb
Merge pull request #28 from Toh-HongFeng/storage
Toh-HongFeng Mar 16, 2023
284b95a
Remove extra InvalidCommandException
mingyuannus Mar 17, 2023
dcf3fdf
Merge branch 'master' of https://github.com/mingyuannus/tp
mingyuannus Mar 17, 2023
16172c9
Update assertion message
mingyuannus Mar 17, 2023
9108f1f
Merge pull request #29 from mingyuannus/master
mingyuannus Mar 17, 2023
f75f9bb
Enable the assertion in build.gradle
alexgoexercise Mar 18, 2023
1c37bfc
Merge pull request #30 from alexgoexercise/EnableAssertion
alexgoexercise Mar 18, 2023
5f7b7be
Add the user guide to moneymind
alexgoexercise Mar 20, 2023
b4ac16c
Merge pull request #31 from alexgoexercise/Add_UserGuide
alexgoexercise Mar 20, 2023
ee81016
Update the DeveloperGuide and test the plantUML
alexgoexercise Mar 20, 2023
079d5cb
Update the DG
alexgoexercise Mar 21, 2023
dee2f1d
Ammend the Architecture diagram and update the README.md
alexgoexercise Mar 21, 2023
7c449b3
Update the Architecture diagram
alexgoexercise Mar 21, 2023
a0885a2
Merge pull request #33 from alexgoexercise/Update_UG
alexgoexercise Mar 21, 2023
cdb7d69
Add search command
mingyuannus Mar 21, 2023
e69696a
Remove redundant import
mingyuannus Mar 21, 2023
9fe2e66
Merge pull request #35 from mingyuannus/master
mingyuannus Mar 21, 2023
d8c626b
Add budget to category
alexgoexercise Mar 21, 2023
c3f9cb8
Merge pull request #36 from alexgoexercise/AddBudgetToCategory
alexgoexercise Mar 21, 2023
4e01158
update DG for storage
Toh-HongFeng Mar 22, 2023
f83941f
Merge pull request #39 from Toh-HongFeng/master
Toh-HongFeng Mar 22, 2023
da1fdbc
add getSystemDate method
Toh-HongFeng Mar 22, 2023
1d185f8
Update different commands for version 2
Mnsd05 Mar 22, 2023
864fb6a
Update Junit test for CommandTest
Mnsd05 Mar 22, 2023
82cbbf4
Update user guide
Mnsd05 Mar 22, 2023
f18725f
Refactor code
Mnsd05 Mar 22, 2023
08d5225
Merge branch 'master' into branch-commands-v2
Mnsd05 Mar 23, 2023
9e23983
Merge pull request #42 from Mnsd05/branch-commands-v2
alexgoexercise Mar 23, 2023
151002f
Merge pull request #40 from Toh-HongFeng/branch-date-time
Toh-HongFeng Mar 23, 2023
8406bd7
add skeletal code for v2.0 storage feature
Toh-HongFeng Mar 23, 2023
a32cb69
fix checkstyles
Toh-HongFeng Mar 23, 2023
c34b217
Merge pull request #43 from Toh-HongFeng/storage
Toh-HongFeng Mar 23, 2023
f9fa7e8
add formating between category list, map and storage text
Toh-HongFeng Mar 23, 2023
5b10f51
add storage to Moneymind.run()
Toh-HongFeng Mar 23, 2023
5f7d53f
update EXPECTED.TXT to include storage
Toh-HongFeng Mar 23, 2023
89c2686
Merge pull request #44 from Toh-HongFeng/storage
Toh-HongFeng Mar 23, 2023
dff03a1
add JUnit test for Storage.java
Toh-HongFeng Mar 24, 2023
da7ae92
Merge pull request #45 from Toh-HongFeng/storage
Toh-HongFeng Mar 24, 2023
ed20f9e
add more JUnit tests for storage package
Toh-HongFeng Mar 24, 2023
3a8319a
add JUnit tests for storage
Toh-HongFeng Mar 24, 2023
091205a
Update developer guide format
mingyuannus Mar 24, 2023
f2d016c
Merge pull request #47 from mingyuannus/master
mingyuannus Mar 24, 2023
e5a5c90
improve JUnit test stability
Toh-HongFeng Mar 24, 2023
136606f
Merge pull request #46 from Toh-HongFeng/storage
Toh-HongFeng Mar 24, 2023
0bfab47
add basic reminder feature
Toh-HongFeng Mar 24, 2023
27f08d3
Merge pull request #48 from Toh-HongFeng/branch-date-time
Toh-HongFeng Mar 24, 2023
8b3314d
add auto update for event.time
Toh-HongFeng Mar 25, 2023
6c3bc28
Merge pull request #49 from Toh-HongFeng/branch-date-time
Toh-HongFeng Mar 25, 2023
cf51bee
Update user guide for search command
mingyuannus Mar 26, 2023
5bc3f7f
Merge pull request #50 from mingyuannus/master
mingyuannus Mar 26, 2023
0919c3d
create JUnitTest for Event and Category
alexgoexercise Mar 26, 2023
f7ee5d7
Add newline to end the classes
alexgoexercise Mar 26, 2023
b18f8cb
Merge pull request #51 from alexgoexercise/AddJuniTest
alexgoexercise Mar 26, 2023
f0c5e5a
Update the user profile
alexgoexercise Mar 26, 2023
7073e18
Update the Glossary
alexgoexercise Mar 26, 2023
b312ab9
Further update glossary in DG and also improve on the explanation of …
alexgoexercise Mar 26, 2023
1b550c5
Further update DG
alexgoexercise Mar 26, 2023
e45914e
Merge pull request #52 from alexgoexercise/Update_DG
alexgoexercise Mar 26, 2023
40f44f1
Some small updates on DG
alexgoexercise Mar 26, 2023
569cd8c
Merge pull request #54 from alexgoexercise/SmallUpdateOnDG
alexgoexercise Mar 26, 2023
72fb5c1
add JUnit tests for date
Toh-HongFeng Mar 27, 2023
b4cbc76
Merge pull request #55 from Toh-HongFeng/branch-date-time
Toh-HongFeng Mar 27, 2023
e1762eb
update user doc
Toh-HongFeng Mar 27, 2023
ce02dc3
Merge pull request #56 from Toh-HongFeng/branch-date-time
Toh-HongFeng Mar 27, 2023
55472c0
Create a sequence diagram for overall architecture
alexgoexercise Mar 27, 2023
dab2cc3
edit the formatting a bit
alexgoexercise Mar 27, 2023
cdc0154
Add implementation and manual testing for developer guide
Mnsd05 Mar 27, 2023
e612f1a
Merge pull request #57 from alexgoexercise/UpdateOnDG
alexgoexercise Mar 27, 2023
c26cfde
Add more Junit tests for category command
Mnsd05 Mar 28, 2023
cacd63f
add storage class diagram
Toh-HongFeng Mar 28, 2023
c4551be
Merge pull request #59 from Toh-HongFeng/branch-debug
Toh-HongFeng Mar 28, 2023
313ca61
Merge pull request #58 from Mnsd05/branch-dg
Toh-HongFeng Mar 28, 2023
47bbe88
add storage sequence diagrams
Toh-HongFeng Mar 28, 2023
f86f203
Merge pull request #60 from Toh-HongFeng/branch-debug
Toh-HongFeng Mar 28, 2023
1bd6885
refactor code
Toh-HongFeng Mar 28, 2023
d2f2696
Merge pull request #61 from Toh-HongFeng/branch-debug
Toh-HongFeng Mar 28, 2023
fcc61fa
Add more Junit tests for event command
Mnsd05 Mar 28, 2023
17992e1
Add more Junit tests for delete command
Mnsd05 Mar 28, 2023
ca3eb71
Add more Junit tests for edit command
Mnsd05 Mar 28, 2023
4b028f1
Add Junit tests for help and bye commands
Mnsd05 Mar 28, 2023
a4533c0
Create package commands for Junit test
Mnsd05 Mar 28, 2023
419e5a3
Fix checkstyle
Mnsd05 Mar 28, 2023
975d8a6
Merge pull request #62 from Mnsd05/branch-test
Toh-HongFeng Mar 29, 2023
7165d31
Ammend the constructors of the sequence diagram of overall Architecture
alexgoexercise Mar 30, 2023
47e56ff
Improve the overall architecture class diagram
alexgoexercise Mar 30, 2023
c2a7946
Add description of the data components
alexgoexercise Mar 30, 2023
48cadb0
Merge pull request #63 from alexgoexercise/FixSequenceDiagram
alexgoexercise Mar 30, 2023
10f53a2
add PED changes for UG
Toh-HongFeng Apr 3, 2023
a6b6af8
Merge pull request #122 from Toh-HongFeng/branch-debug
Toh-HongFeng Apr 3, 2023
aa8dd6a
add handling of storage delimiters as user input
Toh-HongFeng Apr 3, 2023
95b2922
Merge pull request #123 from Toh-HongFeng/branch-debug
Toh-HongFeng Apr 3, 2023
598139e
improve welcome message readability
Toh-HongFeng Apr 3, 2023
e210f32
fix tests and checkstyle
Toh-HongFeng Apr 3, 2023
45ffb0e
Merge pull request #124 from Toh-HongFeng/branch-debug
Toh-HongFeng Apr 3, 2023
e814db5
add functionality to save after each command
Toh-HongFeng Apr 3, 2023
668c982
Merge pull request #125 from Toh-HongFeng/branch-debug
Toh-HongFeng Apr 3, 2023
e795209
closes #101
Toh-HongFeng Apr 3, 2023
61266ba
closes #106
Toh-HongFeng Apr 3, 2023
085706c
closes #108
Toh-HongFeng Apr 3, 2023
6be22c4
fix checkstyles
Toh-HongFeng Apr 3, 2023
be44fa5
Merge pull request #126 from Toh-HongFeng/branch-debug
Toh-HongFeng Apr 3, 2023
89fc707
update PPP
Toh-HongFeng Apr 3, 2023
0068627
Merge pull request #127 from Toh-HongFeng/branch-debug
Toh-HongFeng Apr 3, 2023
2cb61fe
update aboutus link
Toh-HongFeng Apr 3, 2023
85a2a2a
Merge pull request #128 from Toh-HongFeng/branch-debug
Toh-HongFeng Apr 3, 2023
f5ae94b
update AboutUs.md
Toh-HongFeng Apr 3, 2023
77a34f3
Merge pull request #129 from Toh-HongFeng/branch-debug
Toh-HongFeng Apr 3, 2023
01aee55
Update UG for view command and change response when the input is invalid
Mnsd05 Apr 3, 2023
528476f
Fix typo
Mnsd05 Apr 3, 2023
fb4bc9a
Update tests for commands
Mnsd05 Apr 3, 2023
7033e0c
Fix back in edit command
Mnsd05 Apr 3, 2023
bb2e7df
Merge pull request #130 from Mnsd05/branch-fix-bugs
Toh-HongFeng Apr 4, 2023
2f49477
Fix problems for integer overflow
Mnsd05 Apr 4, 2023
ad86ec0
Allow user to enter empty input
Mnsd05 Apr 4, 2023
e9d5263
Fix bugs for edit command
Mnsd05 Apr 4, 2023
9f65667
Fix the problems reflected in the code review for Alex
alexgoexercise Apr 5, 2023
7bfc8a2
Merge pull request #134 from alexgoexercise/Fix_AlexCodeReview
alexgoexercise Apr 5, 2023
2724df5
Add the logo to the MoneyMind UI
alexgoexercise Apr 5, 2023
2b9a003
Update the expected.txt file
alexgoexercise Apr 5, 2023
1f61c22
further update the EXPECTED.txt file
alexgoexercise Apr 5, 2023
a6853c5
Merge pull request #135 from alexgoexercise/Add_MoneyMind_Logo
alexgoexercise Apr 5, 2023
0262e40
Add PPP
Mnsd05 Apr 5, 2023
4e14258
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T15-3/tp …
Mnsd05 Apr 5, 2023
0cae84f
Update regex for commands
Mnsd05 Apr 5, 2023
427231b
Change tests for new regex
Mnsd05 Apr 5, 2023
f077146
Merge pull request #136 from Mnsd05/PPP
alexgoexercise Apr 5, 2023
b1019b3
Rename PPP
Mnsd05 Apr 6, 2023
c839a1d
Merge pull request #137 from Mnsd05/PPP
Mnsd05 Apr 6, 2023
f251477
Add edit budget for category
Mnsd05 Apr 6, 2023
6d6a7ca
Add search to command summary
mingyuannus Apr 7, 2023
afaf01e
Add search command to help message
mingyuannus Apr 7, 2023
95dcd69
Merge branch 'master' of https://github.com/mingyuannus/tp
mingyuannus Apr 7, 2023
2c5561c
Fix handling of missing search parameters
mingyuannus Apr 7, 2023
6367020
Add PPP
mingyuannus Apr 7, 2023
d5fa09b
Remove unused import
mingyuannus Apr 7, 2023
0c60242
Update help command test
mingyuannus Apr 7, 2023
16d4be9
Merge pull request #138 from mingyuannus/master
mingyuannus Apr 7, 2023
13fc6e3
Fix bugs for large negative numbers
Mnsd05 Apr 7, 2023
bf9c012
Fix checkstyle
Mnsd05 Apr 7, 2023
4efab36
Improve search functionality
mingyuannus Apr 7, 2023
514fe9f
Improve code formatting
mingyuannus Apr 7, 2023
ce6936b
Improve search print output
mingyuannus Apr 7, 2023
ec1c53d
Update import statements
mingyuannus Apr 7, 2023
9128dcf
Merge pull request #139 from mingyuannus/master
mingyuannus Apr 7, 2023
59b2c34
Add javadocs to search command methods
mingyuannus Apr 7, 2023
761b3c2
Merge branch 'AY2223S2-CS2113-T15-3:master' into master
mingyuannus Apr 7, 2023
8841d44
Merge pull request #140 from mingyuannus/master
mingyuannus Apr 7, 2023
0dfaa08
Fix recurring events
Mnsd05 Apr 7, 2023
e7b7929
update reminders and storage
Toh-HongFeng Apr 7, 2023
74cc409
Merge pull request #4 from Toh-HongFeng/branch-debug
Mnsd05 Apr 7, 2023
417cdeb
Update tests
Mnsd05 Apr 7, 2023
9dde2ad
Update UG
Mnsd05 Apr 7, 2023
a2c7487
Merge branch 'master' into branch-fix-bugs
Mnsd05 Apr 7, 2023
fc19df2
Fix checkstyle
Mnsd05 Apr 7, 2023
54986da
Merge pull request #133 from Mnsd05/branch-fix-bugs
Toh-HongFeng Apr 8, 2023
87451e7
Add tests for search
mingyuannus Apr 8, 2023
e5aa42e
Update search tests
mingyuannus Apr 8, 2023
4f85878
Removed unused impor
mingyuannus Apr 8, 2023
efc7453
Update search tests
mingyuannus Apr 8, 2023
82d6dd1
Update search tests again
mingyuannus Apr 8, 2023
806c3ed
Update search tests again again
mingyuannus Apr 8, 2023
e99729a
Update search tests actual
mingyuannus Apr 8, 2023
0faf93d
Fix imports for UI
mingyuannus Apr 8, 2023
868ca71
Merge pull request #141 from mingyuannus/master
mingyuannus Apr 8, 2023
5279972
Add header to user guide
mingyuannus Apr 8, 2023
c258099
Add title to user guide
mingyuannus Apr 8, 2023
ddfc769
Add table of contents to developer guide
mingyuannus Apr 8, 2023
cec30e2
Refactor user guide header to match dev guide
mingyuannus Apr 8, 2023
df8dbec
Remove div tag to try to fix formatting
mingyuannus Apr 8, 2023
48c8726
Upload class diagram for command and parser
mingyuannus Apr 8, 2023
87064b6
Add class diagram for command and parser
mingyuannus Apr 8, 2023
c07eff6
Upload puml file for command parser class diagram
mingyuannus Apr 8, 2023
c6e69db
Delete old command parser class diagram
mingyuannus Apr 8, 2023
ecc549e
Upload new command parser class diagram
mingyuannus Apr 8, 2023
c88f485
Update dev guide to new command parser uml diagram
mingyuannus Apr 8, 2023
b3a4d68
Update user guide to reflect new search functions
mingyuannus Apr 8, 2023
56ee29a
Merge pull request #142 from mingyuannus/master
mingyuannus Apr 8, 2023
398dc47
Add the PPP
alexgoexercise Apr 8, 2023
a800a20
Ammend some sections of the DG and UG
alexgoexercise Apr 8, 2023
2f31d2f
Merge pull request #143 from alexgoexercise/Update_Alex_PPP
alexgoexercise Apr 8, 2023
cb41d00
Refactor Moneymind
Mnsd05 Apr 8, 2023
f8bd2a7
Add Javadoc for exceptions
Mnsd05 Apr 8, 2023
16a4c52
Add Javadoc and refactor
Mnsd05 Apr 8, 2023
ec57486
Fix checkstyle
Mnsd05 Apr 8, 2023
54eb157
Modify to make constants more descriptive
Mnsd05 Apr 8, 2023
2569a86
Merge pull request #144 from Mnsd05/branch-fix-bugs
alexgoexercise Apr 8, 2023
195201f
Update UG
Mnsd05 Apr 8, 2023
20e7793
tidy up the view command
alexgoexercise Apr 8, 2023
08d4868
Create a summary command for better user experience
alexgoexercise Apr 8, 2023
ceaefe1
update the UG and allign the formatting of help message
alexgoexercise Apr 8, 2023
a5c7ff5
make sure the length of lines of code do not exceed 120
alexgoexercise Apr 8, 2023
01a682f
fix the line length * 2
alexgoexercise Apr 8, 2023
04e0068
update all the tests
alexgoexercise Apr 8, 2023
8ea3487
fix line length
alexgoexercise Apr 8, 2023
70cd84e
Ammend the tests
alexgoexercise Apr 8, 2023
38047d1
Merge pull request #146 from alexgoexercise/TidyUp_Code
alexgoexercise Apr 8, 2023
c868fad
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T15-3/tp …
Mnsd05 Apr 9, 2023
06ebf3a
Refactor
Mnsd05 Apr 9, 2023
e1866bb
Merge pull request #147 from Mnsd05/branch-fix-bugs
Mnsd05 Apr 9, 2023
b018bd9
Add warning when total expense exceed budget in view command
Mnsd05 Apr 9, 2023
73b8ee3
Update PPP
mingyuannus Apr 9, 2023
92f82a2
Modify tests
Mnsd05 Apr 9, 2023
e4d8ba9
Merge pull request #149 from mingyuannus/master
mingyuannus Apr 9, 2023
a31955c
reduce the number of magic numbers in parser class by using constants
alexgoexercise Apr 9, 2023
0efed4c
Merge pull request #150 from alexgoexercise/Reduce_Magic_Numbers
alexgoexercise Apr 9, 2023
ac1e84e
Merge pull request #148 from Mnsd05/branch-fix-bugs
alexgoexercise Apr 9, 2023
06817c3
Update instructions for manual testing
Mnsd05 Apr 9, 2023
2fd475e
Merge branch 'branch-fix-bugs' into branch-dg
Mnsd05 Apr 9, 2023
c7b45aa
Update PPP
Mnsd05 Apr 9, 2023
f420643
Merge pull request #151 from Mnsd05/branch-dg
Mnsd05 Apr 9, 2023
f405753
Update PPP
Mnsd05 Apr 9, 2023
d069534
Adjust size of diagram
Mnsd05 Apr 9, 2023
5d86c98
Merge pull request #153 from Mnsd05/branch-dg
Mnsd05 Apr 9, 2023
db47fb6
Delete this one extra line in UG
alexgoexercise Apr 10, 2023
377e81e
Merge pull request #154 from alexgoexercise/Ammend_UG
alexgoexercise Apr 10, 2023
b0cac09
Revert "Delete this one extra line in UG"
Toh-HongFeng Apr 10, 2023
551ecda
Merge pull request #155 from AY2223S2-CS2113-T15-3/revert-154-Ammend_UG
Toh-HongFeng Apr 10, 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ bin/

/text-ui-test/ACTUAL.TXT
text-ui-test/EXPECTED-UNIX.TXT
EventList.txt
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}
8 changes: 6 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ test {
}

application {
mainClass = "seedu.duke.Duke"
mainClass = "seedu.moneymind.Moneymind"
}

shadowJar {
archiveBaseName = "duke"
archiveBaseName = "moneymind"
archiveClassifier = null
}

Expand All @@ -44,3 +44,7 @@ checkstyle {
run{
standardInput = System.in
}

run{
enableAssertions = true
}
13 changes: 6 additions & 7 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# 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://avatars.githubusercontent.com/u/88603534?s=400&u=3007dc79299805aa3b8f71aeb61899ea9fb64f6e&v=4) | Zhao Lixiuqi | [Github](https://github.com/alexgoexercise) | [Portfolio](team/Zhao_Lixiuqi.md)
![](https://via.placeholder.com/100.png?text=Photo) | Toh Hongfeng | [Github](https://github.com/Toh-HongFeng) | [Portfolio](team/toh-hongfeng.md)
![](https://via.placeholder.com/100.png?text=Photo) | Li Mingyuan | [Github](https://github.com/mingyuannus) | [Portfolio](team/johndoe.md)
![](https://via.placeholder.com/100.png?text=Photo) | Nguyen Duc Thang | [Github](https://github.com/Mnsd05) | [Portfolio](team/mnsd05.md)
376 changes: 360 additions & 16 deletions docs/DeveloperGuide.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Duke
# MoneyMind

{Give product intro here}
MoneyMind is a desktop application for managing your finances, optimized for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, MoneyMind can get your finance management tasks done faster than traditional GUI apps.

Useful links:
To get to know more about MoneyMind, here are the useful links:
* [User Guide](UserGuide.md)
* [Developer Guide](DeveloperGuide.md)
* [About Us](AboutUs.md)
195 changes: 175 additions & 20 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,197 @@
# User Guide
---
layout: page
title: user Guide
---

## Introduction
<div align="center">
<h2> MoneyMind User Guide</h2>
<h3> "Mind your Money" </h3>
</div>

{Give a product intro}
Moneymind is a Command Line Interface (CLI) application that helps you manage your personal finances. With Moneymind, you can keep track of your budgets, expenses, and categorize them for better organization.

* Table of Contents
{:toc}

## Quick Start

{Give steps to get started quickly}
1. Download and install Moneymind on your computer and ensure that you have Java 11 or above installed.

2. Ensure you have Java11 or above installed on your computer.

3. Open the terminal and navigate to the directory where Moneymind is installed.

4. Run the following command to start the Moneymind app: `java -jar moneymind.jar`.

1. Ensure that you have Java 11 or above installed.
1. Down the latest version of `Duke` from [here](http://link.to/duke).
5. Type the command in the command box and press Enter to execute.

## Features

{Give detailed description of each feature}
"/" is a special character that is used to start command parameters. Other uses of "/" are not allowed except for t/ in event command

### Add an Event: `event`
Add an event which is to be recorded by Moneymind. Event must be placed in a category.

Format: `event NAME e/<expense number> [(optional) t/<time>]`

* `NAME` is the name of the event.
* `<expense number>` is the expense number of the event.
* `<time>` is the date of the monthly recurring event, in the pattern of "dd/MM/yyyy hh:mm".
Invalid patterns are replaced with the current System date.
* The `t/` parameters is optional.
* This gives you the flexibility to add a one-time expense or monthly recurring expenses.
* Monthly recurring expenses will be require the user to update the expense number every month.
* In the context of this application, the 'MM', 'yyyy', 'hh' and 'mm' in the data format of `<time>` is less important
as the frequency is set as *monthly*. Hence, whatever valid month input that the user types
in, the event will always be recorded as a monthly recurring event based on its date.
To avoid confusion, the user is advised to type in the month and year of the first occurrence of the event
which they want to record down.

Example of usage:

`event bus travel fee e/2 t/01/01/2020 12:00`

`event bubble tea e/6`

### Add a Category: `category`

Add a category of event to be recorded on Moneymind.

Format: `category NAME [(optional) b/<budget number>]`

* `NAME` is the name of the category.
* `<budget number>` is the total amount of budget
set to the category of events.
* The `b/` parameter is optional. If there is no b/, the default budget is set to 0

Example of usage:

`category electricity bill`

`category travel to Thailand b/2000`

### Delete an Event or Category: `delete`

Delete an event or category from Moneymind.

Format: `delete c/<category name> [(optional) e/<event index>]`

* `<category name>` is the name of the category.
* `<event index>` is the position of the event (1 based).
* The `e/` parameter is optional so that the user can choose between deleting a single event or the whole category.

Example of usage:

`delete c/electricity bill`

`delete c/food e/1`

### Edit an Event: `edit`

Edit the details of an event on Moneymind.

Format: `edit c/<category name> [(optional) e/<event index>] `

* `<category name>` is the name of the category the user want to edit.
* `<event index>` is the position of the event that the user want to edit (1 based).
* The user will be prompted to enter the new details of the event or category

Example of usage:

`edit c/overseas travel e/1`

### Adding a todo: `todo`
Adds a new item to the list of todo items.
Ok, the current expense for book hotel is: 200;

Format: `todo n/TODO_NAME d/DEADLINE`
Your new expense would be:

* The `DEADLINE` can be in a natural language format.
* The `TODO_NAME` cannot contain punctuation.
`100`

Example of usage:
Ok, the new expense is now changed to: 100 sgd

`todo n/Write the rest of the User Guide d/next week`
### View Events in Categories: `view`

`todo n/Refactor the User Guide to remove passive voice d/13/04/2020`
This commands allows the user to view all events in one category or view all categories in moneymind.

Format: `view [(optional) <category name>]`

* `<category name>` is the name of the category that the user wants to view.
* The user can view all the categories by entering `view` without any category name

Example of usage:

`view food` : view all events in the food category

`view` : view all categories in moneymind

### Search for a Category or Event: `search`

Searches through all categories and and events to find items that contains the provided keyword along with the top 3 categories and events that are similar to the keyword. The results will contain 4 sections:
1. Matching categories: All categories that contain the provided keyword in their names
2. Matching events: All events that contain the provided keyword in their names, along with the categories they belong to
3. Similar categories: Top 3 categories with names that are most similar to the provided keyword
4. Similar events: Top 3 categories with names that are most similar to the provided keyword, along with the categories they belong to

Format: `search <keyword>`

Example of usage:

`search bill`

### Reminders

When starting up the program, it will remind the user of the
upcoming events in the next 5 days.

`Appoaching expenses:`<br>
`Category_Name has an event: Event_Name in 2 days`<br>
`Category_Name_2 has an event: Event_Name_2 in 3 days`<br>

### Check the Instruction Menu - 1: `help`

This command allows the user to view the **detailed** instruction menu.

Format: `help`

Example of usage:

`help`

### Check the Instruction Menu - 2: `summary`

This command allows the user to view the **summary** of commands that they can use.

Format: `summary`

Example of usage:

`summary`

### Exit the Program: `bye`

This command allows the user to exit the program.

Format: `bye`

Example of usage:

`bye`

---

## FAQ

**Q**: How do I transfer my data to another computer?
**Q**: Am I able to keep my data after I exit the program?

**A**: {your answer here}
**A**: Yes. Your data will be saved automatically after you exit the program, and loaded the next time you use the program.

## Command Summary

{Give a 'cheat sheet' of commands here}

* Add todo `todo n/TODO_NAME d/DEADLINE`
* `event` - Add an event to Moneymind
* `category` - Add a category to Moneymind
* `delete` - Delete an event or category from Moneymind
* `edit` - Edit an event in Moneymind
* `view` - View all events in a category or view all categories in Moneymind
* `help` - Show the detailed instructions of commands
* `summary` - Show the summary of commands
* `search` - Search categories and events given a specific keyword
* `bye` - Exit the program
24 changes: 24 additions & 0 deletions docs/diagrams/Architecture.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@startuml
!include Style.puml
!include <office/Users/user>
!include <office/Concepts/documents>
!theme cerulean

package " "<<Rectangle>> {
class MoneyMind
class UI
class Storage
class Command
class Data
class Parser
}

MoneyMind --> UI
Storage ..> MoneyMind
Storage --> Data
Data --> Storage
MoneyMind --> Parser
Parser --> Command
Command --> Data

@enduml
58 changes: 58 additions & 0 deletions docs/diagrams/ArchitectureSequence.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
@startuml
'https://plantuml.com/sequence-diagram
!include style.puml
title Architecture Sequence Diagram

Actor User as user #crimson
participant MoneyMind as mm #lightblue
participant UI as ui #lightpink
participant Storage as storage #lightgrey



user -[#crimson]> mm : EventCommand buy lunch e/10
activate mm #lightblue

mm -> ps : parseNextCommand()
activate ps #orange

ps -> ps : createEventCommand()
activate ps #orange
create EventCommand
ps -> EventCommand
activate EventCommand
EventCommand --> ps
deactivate EventCommand
ps --> ps
deactivate ps #orange
ps --> mm
deactivate ps #orange

mm -> EventCommand : isExit()
activate EventCommand
EventCommand --> mm
deactivate EventCommand

mm -> EventCommand : execute()
activate EventCommand
create Data
EventCommand -> Data
activate Data
Data --> EventCommand
deactivate Data
EventCommand --> mm
deactivate EventCommand

mm -> storage : save()
activate storage #lightgrey
storage --> mm
deactivate storage #lightgrey








@enduml
Loading