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-3] MyLedger #31

Open
wants to merge 565 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
565 commits
Select commit Hold shift + click to select a range
43162d6
Merge remote-tracking branch 'upstream/master'
TzeLoong Apr 5, 2023
7674e9d
fix date bug
TzeLoong Apr 5, 2023
98593fc
fix mark bug
TzeLoong Apr 5, 2023
06d75c5
update value bug
TzeLoong Apr 5, 2023
1c33746
improve code quality for parseredit
TzeLoong Apr 5, 2023
66cfaa1
Improve code quality for paseredit
TzeLoong Apr 6, 2023
4a0fd45
Add PPP
TzeLoong Apr 6, 2023
f9d8fce
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-3/tp
dsicol Apr 6, 2023
568092d
Merge pull request #130 from TzeLoong/bugfixes
itszhixuan Apr 6, 2023
082e66e
Added PPP
itszhixuan Apr 6, 2023
3ecd3e6
Add feature in TuitionExpenditure to keep track of repeat date
dsicol Apr 6, 2023
7d6a303
Add feature in AccommodationExpenditure to keep track of repeat date
dsicol Apr 6, 2023
0bf43c6
Add methods to allow application to unmark paid field when a specific…
dsicol Apr 6, 2023
499d8f3
Refactor SortCommand and sorting methods in ExpenditureList
dsicol Apr 6, 2023
5676c8e
Fix bug when running the getNextRepeatDate method
dsicol Apr 6, 2023
a6fc593
Edit code style
dsicol Apr 6, 2023
e6dd612
Refactor code in txtfile
dsicol Apr 6, 2023
1372f93
Fixed bug regarding inability to use check command for full list
itszhixuan Apr 7, 2023
4e1900b
Ensured check would not fail even if user inserts empty spaces after …
itszhixuan Apr 7, 2023
d14554d
Refactor case statement
itszhixuan Apr 7, 2023
64ba5c4
Cleaned up code and added functionality of checking certain expenditu…
itszhixuan Apr 7, 2023
3b663ea
Addressed Gradle checks
itszhixuan Apr 7, 2023
fc525fd
Fix bugs and refactor code:
dsicol Apr 7, 2023
b30b15a
Merge pull request #132 from dsicol/enhancefeatures
itszhixuan Apr 7, 2023
c2a70b3
Merge remote-tracking branch 'upstream/master'
TzeLoong Apr 7, 2023
777db11
Merge pull request #133 from itszhixuan/master
dsicol Apr 7, 2023
11ade6e
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-3/tp
dsicol Apr 7, 2023
dab85a6
Add draft for dsicol PPP
dsicol Apr 7, 2023
84e3e64
Merge pull request #134 from dsicol/master
Chick3nBoy Apr 7, 2023
5bb0ecb
Simplified `Parser` UML diagram to be readable
itszhixuan Apr 7, 2023
815c4ef
Added DG commands for `lend` and `borrow`, and indicating that the UM…
itszhixuan Apr 7, 2023
9a03583
Reformatted the DG display for manual testing with better formatting
itszhixuan Apr 7, 2023
77dbcc0
Changed '/s' to '/p' for Edit, Add and Lend, Borrow
itszhixuan Apr 7, 2023
2007d35
Replaced all 's/' to 'p/' in DG
itszhixuan Apr 7, 2023
5432081
Update dsicol PPP
dsicol Apr 7, 2023
bf3b81e
Fix naming
Chick3nBoy Apr 8, 2023
76e0c81
Fix naming
Chick3nBoy Apr 8, 2023
0608db8
Displaying `list` and `showrates`
itszhixuan Apr 8, 2023
7cdfdc6
delete and edit in DG
itszhixuan Apr 8, 2023
bb7cbd2
Add PPP and update UG
Chick3nBoy Apr 8, 2023
f996e00
Merge pull request #135 from dsicol/master
Chick3nBoy Apr 8, 2023
879d601
Completed updates for DG instructions for manual testing
itszhixuan Apr 8, 2023
d875fc5
Replaced with 'p/' for tests
itszhixuan Apr 8, 2023
b168d3f
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-3/tp
dsicol Apr 8, 2023
0b3a838
Merge pull request #137 from itszhixuan/master
TzeLoong Apr 8, 2023
717446c
Merge pull request #136 from Chick3nBoy/master
TzeLoong Apr 8, 2023
56d5142
Merge remote-tracking branch 'upstream/master'
TzeLoong Apr 8, 2023
f4abbf7
Add tests for AccommodationExpenditure and TuitionExpenditure
dsicol Apr 8, 2023
c4cd28f
Add newline for TuitionExpenditureTest.java
dsicol Apr 8, 2023
583cd85
Fix bugs and update check budget
TzeLoong Apr 8, 2023
6cebf28
Fix code style violations
TzeLoong Apr 8, 2023
73476eb
Fix bugs for repeat date and write BVA tests for repeat date
dsicol Apr 8, 2023
71ba3fe
Edit method name in tests
dsicol Apr 8, 2023
e1066c3
Remove print lines in TuitionExpenditure.java and Accommodation.java
dsicol Apr 8, 2023
45fd31e
Edit test code to explicitly use a date to simulate the current date
dsicol Apr 8, 2023
0575cc8
Merge pull request #139 from TzeLoong/master
dsicol Apr 8, 2023
f6eb986
Merge pull request #138 from dsicol/junitv2.1
TzeLoong Apr 9, 2023
6c9682b
Add exception for negative value and error message for other misc fai…
Chick3nBoy Apr 9, 2023
0b70d3e
Update documentation for UG and PPP
Chick3nBoy Apr 9, 2023
e0c10d0
UG slashes in names not allowed and not restricting description
itszhixuan Apr 9, 2023
e66b0d9
Adding DG names no slashes
itszhixuan Apr 9, 2023
1595399
Merge pull request #140 from Chick3nBoy/master
itszhixuan Apr 9, 2023
f57fc76
Include `check` documentation under UG and updated DG
itszhixuan Apr 9, 2023
5909dd9
Update DG
Chick3nBoy Apr 9, 2023
8a1e6d7
Merge pull request #141 from itszhixuan/master
dsicol Apr 9, 2023
fe751af
Merge pull request #142 from Chick3nBoy/master
dsicol Apr 9, 2023
310605a
Update help message
TzeLoong Apr 9, 2023
63be85c
change naming
TzeLoong Apr 9, 2023
03d839e
Catch error where amounts more than 2dp can be added
itszhixuan Apr 9, 2023
5c61dd9
Implemented catch for more than 2dp for edit command
itszhixuan Apr 9, 2023
6fe0459
Gradle check changes
itszhixuan Apr 9, 2023
b64701b
Merge pull request #143 from TzeLoong/ImproveUI
itszhixuan Apr 9, 2023
611e879
Fix txtfile bugs such that it will delete only corrupted expenditures
dsicol Apr 9, 2023
bf47315
Add equivalence partition and boundary value analyses for repeat date…
dsicol Apr 9, 2023
8fa462d
Merge pull request #144 from itszhixuan/master
dsicol Apr 9, 2023
cb045fa
Merge pull request #145 from dsicol/bugs
itszhixuan Apr 9, 2023
8cbe64b
Removed magic number
itszhixuan Apr 9, 2023
c5b06fa
Update check documentation in help page
itszhixuan Apr 9, 2023
8428fe7
Numbering was previously inaccurate, changed it to follow sequential …
itszhixuan Apr 9, 2023
d196e75
Added documentation for list CURRENCY in help function
itszhixuan Apr 9, 2023
3d31d9b
Merge pull request #146 from itszhixuan/master
TzeLoong Apr 9, 2023
c3ab5c7
Fix bugs
TzeLoong Apr 9, 2023
9ed01fc
Replaced magic number in check
itszhixuan Apr 9, 2023
04b58a0
Fix code style violations
TzeLoong Apr 9, 2023
0dabf94
User stories
itszhixuan Apr 9, 2023
5b3dde0
Convert info in Command Component into a table as suggested in Issues
itszhixuan Apr 9, 2023
ba724a3
Update command class
itszhixuan Apr 9, 2023
c7f6fa1
Add list and showrates in table
itszhixuan Apr 9, 2023
ba09a84
Remove glossary from DG
itszhixuan Apr 9, 2023
dddc549
Merge pull request #147 from TzeLoong/bugfixes
itszhixuan Apr 9, 2023
8ffa4ae
PPP typo
itszhixuan Apr 9, 2023
a9ff955
Add more explanations to DG
dsicol Apr 9, 2023
9a765a7
UG DG minor updates
itszhixuan Apr 9, 2023
601caa6
Format DG
dsicol Apr 9, 2023
3b01728
Merge pull request #149 from dsicol/developerguide
Chick3nBoy Apr 9, 2023
a1b89fe
Merge branch 'master' into master
itszhixuan Apr 9, 2023
9de1d2c
Merge pull request #148 from itszhixuan/master
TzeLoong Apr 9, 2023
7b519e1
Fix bug regarding negative amount for bug
TzeLoong Apr 9, 2023
1f85645
Fix code style violations
TzeLoong Apr 9, 2023
7c2261c
Add check for large amount
Chick3nBoy Apr 9, 2023
899d53f
Merge pull request #150 from TzeLoong/bugfixes
dsicol Apr 9, 2023
fd675f7
Fix styling
Chick3nBoy Apr 9, 2023
2ed0e85
Update PPP
Chick3nBoy Apr 9, 2023
b8d67ef
Add date checker
TzeLoong Apr 9, 2023
7b3709b
Fix code style violations
TzeLoong Apr 9, 2023
5a9d6d4
Add repeat date update in EditCommand
dsicol Apr 9, 2023
2e5cca4
Fix code style violations
TzeLoong Apr 9, 2023
3577212
Fix code style violations
TzeLoong Apr 9, 2023
0efd8c6
Fix code style violations
TzeLoong Apr 9, 2023
9a78b23
Edit check feature where marking as paid will add to expenditure total
dsicol Apr 9, 2023
6d7242d
Merge pull request #151 from Chick3nBoy/master
dsicol Apr 9, 2023
2a832ab
Merge branch 'master' into bugfixes
dsicol Apr 9, 2023
40fda4d
Change check feature to be able to add marked expenditures
dsicol Apr 9, 2023
7223e83
Resolve merge conflict
dsicol Apr 9, 2023
aa61f03
Fix bugs in txtfile regarding corrupted amounts and lend/borrow dates
dsicol Apr 9, 2023
b8816ef
Fix code style
dsicol Apr 9, 2023
c3d8adb
Update DG to explain repeatDate and save file corruptions
dsicol Apr 9, 2023
4510c70
Fix code style violations
TzeLoong Apr 10, 2023
00cebd4
Merge pull request #152 from TzeLoong/bugfixes
TzeLoong Apr 10, 2023
39e2e7b
Merge pull request #153 from dsicol/bugs
TzeLoong Apr 10, 2023
8a8e37c
Fix bugs
TzeLoong Apr 10, 2023
8505c4c
Update test
TzeLoong Apr 10, 2023
831c4d2
Fix test
TzeLoong Apr 10, 2023
1aee032
Update test
TzeLoong Apr 10, 2023
9e3b1f5
Update test
TzeLoong Apr 10, 2023
ecd9065
Update test
TzeLoong Apr 10, 2023
70078af
Fix test
TzeLoong Apr 10, 2023
a48ff06
Update test
TzeLoong Apr 10, 2023
2058460
check command in DG, missing UML diagram
itszhixuan Apr 10, 2023
c3af02b
Merge branch 'master' of https://github.com/itszhixuan/tp
itszhixuan Apr 10, 2023
940c651
Fix test
TzeLoong Apr 10, 2023
cec34de
Update test
TzeLoong Apr 10, 2023
6e1c635
Merge pull request #154 from TzeLoong/bugfixes
Chick3nBoy Apr 10, 2023
e25f52b
`check` puml diagram
itszhixuan Apr 10, 2023
49374ea
typo in command
itszhixuan Apr 10, 2023
a7fe740
small changes
itszhixuan Apr 10, 2023
be3061e
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-3/tp
itszhixuan Apr 10, 2023
23324f8
Add `mark` `unmark` in DG, and removed output errors in DG
itszhixuan Apr 10, 2023
c4e7de2
Update docs and help message
Chick3nBoy Apr 10, 2023
b177c07
Merge pull request #155 from itszhixuan/master
Chick3nBoy Apr 10, 2023
6b3bc5d
Merge branch 'master' into master
itszhixuan Apr 10, 2023
b84a659
Merge pull request #156 from Chick3nBoy/master
itszhixuan Apr 10, 2023
b188438
Mark unmark in manual testing DG
itszhixuan Apr 10, 2023
36ee194
UG extra characters removed
itszhixuan Apr 10, 2023
9dd3f48
Added already marked in DG test case
itszhixuan Apr 10, 2023
711ddc2
Changed `mark` documentation in UG and added new `check` commands und…
itszhixuan Apr 10, 2023
9b4db3d
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-3/tp
dsicol Apr 10, 2023
14fb1e9
Merge branch 'master' into developerguide
dsicol Apr 10, 2023
a75892a
Update parser message in DG
itszhixuan Apr 10, 2023
68fc964
Missing field in table
itszhixuan Apr 10, 2023
aa8553f
Merge pull request #157 from itszhixuan/master
Chick3nBoy Apr 10, 2023
1a17d1e
Add limits to year in UG
itszhixuan Apr 10, 2023
281151c
Add page breaks to UG
Chick3nBoy Apr 10, 2023
3110aad
Merge pull request #158 from itszhixuan/master
Chick3nBoy Apr 10, 2023
d5080bc
Merge pull request #159 from Chick3nBoy/master
itszhixuan Apr 10, 2023
8382631
Add page break to DG
Chick3nBoy Apr 10, 2023
74a0f40
Major typo in UG
itszhixuan Apr 10, 2023
0acdb7e
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-3/tp
itszhixuan Apr 10, 2023
6b73299
Exceptions for ParseLendBorrow
itszhixuan Apr 10, 2023
5624471
Spliting of lines tha overshoot in pdf form in ug
itszhixuan Apr 10, 2023
736c28e
Merge pull request #160 from itszhixuan/master
Chick3nBoy Apr 10, 2023
4ed9dc7
Merge pull request #161 from Chick3nBoy/master
itszhixuan Apr 10, 2023
d988228
Update DG with repeatDate diagrams and command classes
dsicol Apr 10, 2023
0597ab5
Merge pull request #162 from dsicol/developerguide
Chick3nBoy Apr 10, 2023
8eb4358
Update error message
TzeLoong Apr 10, 2023
be93c43
Update Description
TzeLoong Apr 10, 2023
45a6b93
Update PPP
dsicol Apr 10, 2023
52e2f3c
Merge pull request #163 from TzeLoong/UpdateUserguide
dsicol Apr 10, 2023
00ec665
Update parseLendBorrow
TzeLoong Apr 10, 2023
cf93e3a
Update help message
TzeLoong Apr 10, 2023
fbb18c2
Merge pull request #165 from TzeLoong/UpdateUserguide
itszhixuan Apr 10, 2023
090688c
Merge pull request #164 from dsicol/developerguide
itszhixuan Apr 10, 2023
86fbf8e
Format DG
dsicol Apr 10, 2023
b4553b6
Fix editCommand bug
TzeLoong Apr 10, 2023
70dfe7a
Edit style for DG
dsicol Apr 10, 2023
4d8bf23
Update userguide
TzeLoong Apr 10, 2023
cc98daa
Merge pull request #166 from dsicol/developerguide
itszhixuan Apr 10, 2023
2da9949
Update userguide
TzeLoong Apr 10, 2023
cfddbc1
Check on DG and UG
itszhixuan Apr 10, 2023
551cc9d
Justified why some outputs are across 2 lines
itszhixuan Apr 10, 2023
71a12ad
update ppp
itszhixuan Apr 10, 2023
d1f133a
missing INDEX in edit command in UG
itszhixuan Apr 10, 2023
5ff86bd
Merge pull request #168 from itszhixuan/master
dsicol Apr 10, 2023
0c0b8ce
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-3/tp
dsicol Apr 10, 2023
ba4fc9e
Merge branch 'master' into developerguide
dsicol Apr 10, 2023
25511d6
Update editCommand
TzeLoong Apr 10, 2023
66f7231
Fix bugs
TzeLoong Apr 10, 2023
736c815
Update preface for UG and DG
dsicol Apr 10, 2023
e6816d1
Updated README
itszhixuan Apr 10, 2023
d182472
Fix textfile date bug
TzeLoong Apr 10, 2023
8c28bc3
Merge pull request #169 from itszhixuan/master
Chick3nBoy Apr 10, 2023
7f0123c
Update developerGuide
TzeLoong Apr 10, 2023
22e6a8c
Update DeveloperGuide.md
TzeLoong Apr 10, 2023
ca396ac
Merge branch 'master' into UpdateUserguide
Chick3nBoy Apr 10, 2023
3843c2f
Merge pull request #167 from TzeLoong/UpdateUserguide
Chick3nBoy Apr 10, 2023
75d848f
Merge branch 'developerguide'
dsicol Apr 10, 2023
2ecde23
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-3/tp
dsicol Apr 10, 2023
48eac65
Merge pull request #170 from dsicol/developerguide
itszhixuan Apr 10, 2023
2142146
Add page break
Chick3nBoy Apr 10, 2023
cf58e4d
Add page break
Chick3nBoy Apr 10, 2023
c86e371
page break pt 1
itszhixuan Apr 10, 2023
7d1ad02
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-3/tp
itszhixuan Apr 10, 2023
87d8e84
page break pt 2
itszhixuan Apr 10, 2023
ff34f65
Update UG
Chick3nBoy Apr 10, 2023
da5d20f
Update Test
TzeLoong Apr 10, 2023
b74acfa
Remove month
itszhixuan Apr 10, 2023
e85a41e
Update UG
Chick3nBoy Apr 10, 2023
8b5df04
Merge pull request #171 from itszhixuan/master
dsicol Apr 10, 2023
215e974
Fix code style violations
TzeLoong Apr 10, 2023
6ff3f04
Update UG
Chick3nBoy Apr 10, 2023
ec7bbcb
revert changes
TzeLoong Apr 10, 2023
1aad06e
Update UG
Chick3nBoy Apr 10, 2023
8f7a0b4
Update userguide
TzeLoong Apr 10, 2023
b5f5e2e
Reformat PPP
dsicol Apr 10, 2023
8ccb723
Update UG
Chick3nBoy Apr 10, 2023
183d694
Merge branch 'master' into master
dsicol Apr 10, 2023
e460e70
Merge pull request #172 from TzeLoong/UpdateUserguide
dsicol Apr 10, 2023
fdffbc8
Update UG
Chick3nBoy Apr 10, 2023
cdd3dfd
Merge pull request #173 from dsicol/master
TzeLoong Apr 10, 2023
0123a99
Reformat DG
itszhixuan Apr 10, 2023
e57cd39
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-3/tp
dsicol Apr 10, 2023
55eeb15
Merge branch 'master' into developerguide
dsicol Apr 10, 2023
dc2d863
Add page break
Chick3nBoy Apr 10, 2023
6916be8
Add page breaks
dsicol Apr 10, 2023
ad7e940
Merge pull request #174 from itszhixuan/master
dsicol Apr 10, 2023
47fe4c2
Merge pull request #175 from dsicol/developerguide
itszhixuan Apr 10, 2023
0faad6e
Merge branch 'master' into master
Chick3nBoy Apr 10, 2023
d972c71
Improve format of PPP
dsicol Apr 10, 2023
14007ef
Merge pull request #176 from Chick3nBoy/master
dsicol Apr 10, 2023
ef4e179
Merge pull request #177 from dsicol/developerguide
Chick3nBoy Apr 10, 2023
03bf321
Update UG
Chick3nBoy Apr 10, 2023
41dd7b2
Merge branch 'master' of https://github.com/AY2223S2-CS2113-T14-3/tp
Chick3nBoy Apr 10, 2023
530724d
new update formating
itszhixuan Apr 10, 2023
8878cf2
Remove numbering from PPP
dsicol Apr 10, 2023
b012796
Merge pull request #179 from dsicol/master
itszhixuan Apr 10, 2023
27791e2
Merge pull request #178 from itszhixuan/master
dsicol Apr 10, 2023
5d1da51
Update UG
Chick3nBoy Apr 10, 2023
1a85f2e
edit
itszhixuan Apr 10, 2023
de2b39d
page break
itszhixuan Apr 10, 2023
446dafa
Merge pull request #180 from itszhixuan/master
TzeLoong Apr 10, 2023
d18a6f2
<br>
itszhixuan Apr 10, 2023
62ff57f
Fix style in PPP and create JAR
dsicol Apr 10, 2023
1719ec9
double page break removed
itszhixuan Apr 10, 2023
93b379c
Merge pull request #181 from Chick3nBoy/master
dsicol Apr 10, 2023
97aaac3
Merge pull request #182 from itszhixuan/master
dsicol Apr 10, 2023
733234f
more edits
itszhixuan Apr 10, 2023
fb23001
Merge pull request #184 from itszhixuan/master
dsicol Apr 10, 2023
469e34b
Merge pull request #183 from dsicol/master
dsicol Apr 10, 2023
1ee6248
Reformat PPP
dsicol Apr 10, 2023
3cc724d
Merge pull request #185 from dsicol/master
itszhixuan 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
15 changes: 0 additions & 15 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,3 @@ 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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.debug.settings.onBuildFailureProceed": true
}
3 changes: 3 additions & 0 deletions META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: seedu.myledger.MyLedger

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Duke project template

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.

## Setting up in Intellij
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ checkstyle {

run{
standardInput = System.in
enableAssertions = true
}
12 changes: 7 additions & 5 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

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)

![](https://media.licdn.com/dms/image/D5603AQFoLJj5VasfWw/profile-displayphoto-shrink_400_400/0/1665324716061?e=1683158400&v=beta&t=OXy8Oh26Bm-xSxVVFL2wdqlkH9SheVixmyDufg936b4) | Lee Zhi Xuan | [Github](https://github.com/itszhixuan) | [Portfolio](https://github.com/itszhixuan)
![](image.png) | Leo Zheng Rui, Darren | [Github](https://github.com/dsicol) | [Portfolio](https://github.com/dsicol)
![](https://via.placeholder.com/100.png?text=Photo) | Leonardo Ong Dingchao | [Github](https://github.com/Chick3nBoy) | [Portfolio](docs/team/leonardoOng.md)
![](https://via.placeholder.com/100.png?text=Photo) | Tan Tze Loong | [Github](https://github.com/TzeLoong) | [Portfolio](docs/team/TzeLoong.md)


1,136 changes: 1,120 additions & 16 deletions docs/DeveloperGuide.md

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Duke
# MyLedger

{Give product intro here}
<p align="center">
<img src="team/images/MyLedger.jpeg" width="30%">
</p>

MyLedger is a desktop app for managing finances, designed for university students studying locally or on exchange. It is optimized for use via a Command Line Interface (CLI). For students that can type fast, MyLedger can help them record and classify their transactions into categories. Students can expect to get an overview of their transactions at a glance,
which helps them to monitor their budget and expenses more effciently.

Useful links:
* [User Guide](UserGuide.md)
Expand Down
498 changes: 479 additions & 19 deletions docs/UserGuide.md

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions docs/team/chick3nboy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Leonardo Ong Dingchao - Project Portfolio Page

## Overview
MyLedger is a desktop app for managing finances, designed for university students studying locally or on exchange. It is optimized for use via a Command Line Interface (CLI). For students that can type fast, MyLedger can help them record and monitor their budget and expenses, managing their transactions more effciently.

### Summary of Contributions
#### Main Features Implemented:

1. Storage for MyLedger
- **What it does** : Processes the list of expenditures in MyLedger, updating the text file with the save information after every command, and initializing the list
when MyLedger begins running.
- **Justification**: This allows the program to remember past user inputs, making MyLedger a more effective ledger.
- **Highlights**: This feature is an essential part of MyLedger, as the programme being unable to store past entries defeats the purpose of a ledger.
The challenge of the implementation came in the form of having to account for how to store the different types of expenditures, with some expenditures having more fields than others, as well as account for how to deal with a corrupted save file.

2. View command
- **What it does**: `ViewTypeCommand` and `ViewDateCommand` with the command `viewtype` and `viewdate` shows the user a filtered list of expenditures that have a specific command or date, as well as tallying the total amount of the expenditures filtered by the list.
- **Justification**: With MyLedger being an app that allows users to monitor their budget and expenses, this feature allows the user to more effiently track their expenditures of each type or date.
- **Highlights**: Implementing `ViewTypeCommand` was more challenging compared to `ViewDateCommand`. `ViewDateCommand` could be done by comparing the input LocalDate with the LocalDate attribute stored within each expenditure, whereas for `ViewTypeCommand` the expenditure type does not have an attribute allocated to it, and a getType method, which returns a different string based on expenditure type, was needed for comparison.

3. Currency feature
- **What it does**: A new class containing the currency values of the countries with universities partnered with NUS based on SGD. `showrates` is a command that lists out all these curries values and the List and View commands have been added with a currency field, that allows the user to output the expenditure amount in the desired currency.
- **Justification**: This implementation value adds MyLedger in making the app more convenient for exchange students studying in NUS, giving them a gauge on how much their expenditure is in their home currency.
- **Highlights**: Initially we proposed using an API to constantly update the currencies values of the feature, however considering the large amounts of potential bugs and requiring internet connection, we decided the app would benefit more from being concise and using a constant value that servers as a rough gauge. The challenges faced when implementing this feature comes from all of the methods involved in printing an expenditure already using the toString method without a currency field, and changing the toString to include that field would introduce further issues, thus a new method that functions similarly to toString had to be implemented.

#### Code Contributed: [RepoSense Link](https://nus-cs2113-ay2223s2.github.io/tp-dashboard/?search=Chick3nBoy&sort=totalCommits%20dsc&sortWithin=title&timeframe=commit&mergegroup=&groupSelect=groupByRepos&breakdown=true&checkedFileTypes=docs~functional-code~test-code~other&since=2023-02-17&tabOpen=true&tabType=authorship&zFR=false&tabAuthor=Chick3nBoy&tabRepo=AY2223S2-CS2113-T14-3%2Ftp%5Bmaster%5D&authorshipIsMergeGroup=false&authorshipFileTypes=docs~functional-code~test-code&authorshipIsBinaryFileTypeChecked=false&authorshipIsIgnoredFilesChecked=false)

#### Documentation:
1. User Guide:
- Added instructions for Quick Start

2. Developer Guide
- Added architecture diagram and documentation.
- Added documentation and sequence diagram for `Storage`, `View Command`, and `Currency`

#### Team-based Tasks
1. Attended and contributed to weekly discussions
2. PR reviewed with non-trivial review comments [#18](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/18) , [#41](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/41) , [#134](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/134), [#145](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/145)
3. Non-trivial bug fixes: [#28](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/28/commits)
65 changes: 65 additions & 0 deletions docs/team/dsicol.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Leo Zheng Rui, Darren - Project Portfolio Page

## Overview

MyLedger is a desktop app for managing finances, designed for university students in the National University of Singapore (NUS), studying locally or on exchange. It is optimized for use via a Command Line Interface (CLI). For students that can type fast, MyLedger can help them record and classify their transactions into categories. This helps them to monitor their budget and expenses more efficiently.

### Summary of Contributions
#### Main Features Implemented:

**The expenditure package**
- **What it does** : Contains all the classes and operations for the fixed expenditure types and expenditure list.
- **Justification**: The fixed expenditures in the program can be instantiated as real world expenditure, and kept track of in the application's expenditure list. Since the application aims to help users add and to manage expenditures, the package of classes forms the core of MyLedger.
- **Highlights**: This feature sets the direction of MyLedger. Thus, deciding the attributes of each class played an important role in setting the trajectory of the application; brainstorming the important information the target user would need in their expenditure record.

**The Command Classes for all fixed expenditure types**
- **What it does**: Contains all the command classes for the fixed expenditure types and to display expenditure list. Additionally, the `CommandResult.java`class displays to the user the result of the command after each successful execution.
- **Justification**: With the help of MyLedger's parsing unit, the user's input are broken down and fed into their respective command class. The execution of these command classes produces the user's desired outcome (i.e. adding an academic expenditure into the current expenditure list).
- **Highlights**: The implementation of the command classes requires good coordination with the implementor of the parsing class as they would need information on how each expenditure command is instantiated; it was done well.
<div style="page-break-after: always;"></div>
**The Sort Command**
- **What it does**: Sorts the expenditure list in ascending or descending amount, or from the latest or earliest dates.
- **Justification**: This allows users to sort their expenditures to gain better insight to manage them; to rank the expenditures that spent the most/least money, or ones that have added the most recently/earliest.
- **Highlights**: The feature will change the order of the expenditure list for future reference. This is done to improve user experience while navigating the sorted list after calling the command.

**The repeating date of the Accommodation and Tuition Expenditures**
- **What it does**: The `AccommodationExpenditure` and `TuitionExpenditure` takes in a date of repeat. Whether or not the aforementioned expenditures have been marked beforehand, this feature ensures the the expenditures are unmarked after 1 full year.
- **Justification**: The `AccommodationExpenditure` and `TuitionExpenditure` are lump sum payments and must be paid within a period of time. The nature of these expenditures are repeating and thus, users can trust MyLedger to unmark the aforementioned expenditures to serve as an annual reminder.
- **Highlights**: This was a challenging feature as `LocalDate` is used extensively to compare the dates. Additionally, the method must be ran for the check to be ran, thus this is implemented in the main loop logic of the program. After a year has passed, the program will retain the day and month values of the repeat date, and increment the year. This will only run once every year and only ran after the specified date is reached or passed.

**Fix save file reading related bugs**
- **What it does**: The save file stores all expenditures from the most recent expenditure list.
- **Justification**: Upon corruption of the save file, the program oringally crashes. With the fixes, only individual corrupted expenditures are deleted, uncorrupted expenditures can still be loaded.
- **Highlights**: Considering all possible combinations for corruption was challenging. Now the save file reading complies with the input rules defined by the application.

#### Code Contributed: [RepoSense Link](https://nus-cs2113-ay2223s2.github.io/tp-dashboard/?search=&sort=groupTitle&sortWithin=title&timeframe=commit&mergegroup=&groupSelect=groupByRepos&breakdown=true&checkedFileTypes=docs~functional-code~test-code~other&since=2023-02-17&tabOpen=true&tabType=authorship&tabAuthor=dsicol&tabRepo=AY2223S2-CS2113-T14-3%2Ftp%5Bmaster%5D&authorshipIsMergeGroup=false&authorshipFileTypes=docs~functional-code~test-code&authorshipIsBinaryFileTypeChecked=false&authorshipIsIgnoredFilesChecked=false)

<div style="page-break-after: always;"></div>

#### Project Management:
1. Milestones:
- Managed all milestones: `v1.0`, `v2.0` and `v2.1`.
- Managed all releases: `v1.0`, `v2.0` and `v2.1` (3 releases) on github.

#### Enhancement to existing features:
1. Enhancements:
- Improved `AccommodationExpenditure` and `TuitionExpenditure` to be unmarked 1 year after setting it. This is due to the repeating nature of these expenditures. (Pull request [#132](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/132))
- Wrote additional tests for the command classes to increase test coverage (Pull request [#40](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/40)).
- Fix save file reading bugs (Pull request [#145](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/145), [#153](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/153)).

#### Documentation:
1. User Guide:
- Added the MyLedger command summary: [#68](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/68/files#diff-b50feaf9240709b6b02fb9584696b012c2a69feeba89e409952cc2f401f373fb)
- Added user guide for `mark`, `unmark`, `set`, `check`, `list`, `find`, `sort`, `viewtype` and `viewdate`: [#78](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/78)

2. Developer Guide
- Added documentation and class diagram for **Expenditure categories**.
- Added documentation and sequence diagram for `repeatDate` process.
- Added documentation and class diagram for **Command component**.
- Added documentation and sequence diagram for **Add expenditure command** in the **Command List** section.
- Added documentation and explanations for the `SortCommand`.

#### Team-based Tasks
1. Initiated, led, and contributed to weekly discussions.
2. PR reviewed with non-trivial review comments [#22](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/22), [#151](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/151), [#144](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/144), [#167](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/167)
3. Non-trivial bug fixes: [#127](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/127), [#145](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/145), [#153](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/153)
Binary file added docs/team/images/Architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/MyLedger.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/UMLClassDiagramExpenditure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/academicExpenditureCommand.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/checkCommand.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/initializeList.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/newInitializeList.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/parseAddSequenceDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/parserEdit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/parserOverview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/repeatDate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/saveList.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/simplifiedParserOverview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/umlCommandClassDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/team/images/viewDate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions docs/team/itszhixuan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Lee Zhi Xuan - Project Portfolio Page

## Overview
MyLedger is a desktop app for managing finances, designed for university students studying locally or on exchange. It is optimized for use via a Command Line Interface (CLI). For students that can type fast, MyLedger can help them record and monitor their budget and expenses, managing their transactions more effciently.

### Summary of Contributions
#### Main Features Implemented:

1. Parser for each command
- **What it does** : Processes the inputs made by the user and converts it into its respective `Command` object for further processing.
- **Justification**: This allows the program to interact with the user by understand the user inputs made.
- **Highlights**: This enhancement is required for all subsequent enhancements, which required extensive testing to prevent errors when reading inputs. To reduce duplicate code, each specific parse class will call on `ParseIndividualValue` to efficiently parse all input parameters and commands from a user.
The implementation was challenging as each parsing action required a specific command class that had to inherit from `Command` and adhere to its guidelines. Also as previously mentioned, the challenge was also to consider all possible inputs that might result in our application not working.

2. Comparing budget with expenditures
- **What it does**: `SetBudgetCommand` with the command `set` allows the user to input a positive numerical value that is not 0 that indicates their existing budget. `CheckBudgetCommand` with the command word `check` will then compare the budget with the sum of all expenditures made by the user. Output will display the current financial status compared to their budget. User can also compare budget with optional filters such as expenditure type, which would provide a better insight to expenditures under a certain category.
- **Justification**: With MyLedger being an app that allows users to monitor their budget and expenses, this will bridge the two together and provide insights on their current financial status with their budget.
- **Highlights**: The challenge of comparing budget with all expenditures is having to consider the user inputs and different expenses. `Borrow` and `lend` are not considered official expenditures and would still require to be paid back, while other factors such as `marked` will also affect the total expenditure used to compare with their budget. The message output should also provide enough insights into their financial status. Separately, the expenditure types are optional parameters from the user, which provided a different challenge of having to accept optional inputs and inputs with just the `check` function.

3. Duplicate Command
- **What it does**: Duplicates existing inputs in the list.
- **Justification**: For repeated expenditures, it reduces the hassle of having to input all expenditure parameters again
- **Highlights**: This enhancement provides an alternative way to create similar expenditures. Implementing this functionality requires reading the data on the txt.file and subsequently writing on it.

#### Code Contributed: [RepoSense Link](https://nus-cs2113-ay2223s2.github.io/tp-dashboard/?search=itszhixuan&sort=totalCommits%20dsc&sortWithin=title&timeframe=commit&mergegroup=&groupSelect=groupByRepos&breakdown=true&checkedFileTypes=docs~functional-code~test-code~other&since=2023-02-17&tabOpen=true&tabType=authorship&zFR=false&tabAuthor=itszhixuan&tabRepo=AY2223S2-CS2113-T14-3%2Ftp%5Bmaster%5D&authorshipIsMergeGroup=false&authorshipFileTypes=docs~functional-code~test-code~other&authorshipIsBinaryFileTypeChecked=false&authorshipIsIgnoredFilesChecked=false)

#### Documentation:
1. User Guide:
- Added instructions for Quick Start
- Adding documentation for new features under list and check for v2.1

2. Developer Guide
- Added documentation and sequence diagram for `Parser`
- Added sequence diagram for `check`
- Added user stories
- Added all possible instructions for instructors to manual test

#### Team-based Tasks
1. Attended and contributed to weekly discussions
2. PR reviewed with non-trivial review comments [#30](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/30)
, [#40](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/40) , [#49](https://github.com/AY2223S2-CS2113-T14-3/tp/pull/49)
3. Non-trivial bug fixes: [#90](https://github.com/AY2223S2-CS2113-T14-3/tp/issues/90)
6 changes: 0 additions & 6 deletions docs/team/johndoe.md

This file was deleted.

Loading