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

[CS2113T-T12-2] HappyPills #8

Open
wants to merge 809 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
809 commits
Select commit Hold shift + click to select a range
bbebb53
javadoc
Janicetyy Apr 7, 2020
3910882
Merge remote-tracking branch 'upstream/revert-187-master'
sitinadiah25 Apr 7, 2020
c32931d
fixed storage issue
Janicetyy Apr 7, 2020
117a96e
Update FindAppointmentCommandTest.java
sitinadiah25 Apr 7, 2020
3249855
Merge pull request #188 from Janicetyy/issues-fix
Janicetyy Apr 7, 2020
93750d5
Fix edit appt bug
sitinadiah25 Apr 7, 2020
3999d27
Fix major Ui bug
Nyan-Wun-Paing Apr 7, 2020
6275a75
fix merge conflict
Nyan-Wun-Paing Apr 7, 2020
8f2d31c
checkstyle
Nyan-Wun-Paing Apr 7, 2020
15f22fb
Merge remote-tracking branch 'upstream/master'
sitinadiah25 Apr 7, 2020
8ea0a41
Fix some appt commands
sitinadiah25 Apr 7, 2020
1df2b4b
fix checkstyle
Nyan-Wun-Paing Apr 7, 2020
5a40a6d
fix test bug
Nyan-Wun-Paing Apr 7, 2020
b57a115
Update UserGuide.md
itskesin Apr 7, 2020
567bcb2
Merge pull request #189 from NyanWunPaing/Nyan-HappyPills
itskesin Apr 7, 2020
dc8da3b
check
sitinadiah25 Apr 7, 2020
3743109
Merge remote-tracking branch 'upstream/master'
sitinadiah25 Apr 7, 2020
49a9d3b
SLAP parsers
sitinadiah25 Apr 7, 2020
f5bb5dc
Edit textui
sitinadiah25 Apr 7, 2020
1b3d3eb
Update ListPatientCommandTest.java
sitinadiah25 Apr 7, 2020
b7f8146
Update patient.txt
sitinadiah25 Apr 7, 2020
7b24f22
Merge pull request #184 from sitinadiah25/master
sitinadiah25 Apr 7, 2020
7c37acd
formatting issues
Janicetyy Apr 8, 2020
b7fa919
UG updated, format change for find appt
Janicetyy Apr 8, 2020
ad7356f
Attempt PlantUML
itskesin Apr 8, 2020
06f6d68
whatever i changed
Janicetyy Apr 8, 2020
33de917
merge
Janicetyy Apr 8, 2020
cb8bab0
checkstyle
Janicetyy Apr 8, 2020
6c807d7
test
Janicetyy Apr 8, 2020
38ab967
checkstyle
Janicetyy Apr 8, 2020
8a8a166
Merge pull request #190 from Janicetyy/issues-fix
Janicetyy Apr 8, 2020
eef89f8
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp
itskesin Apr 8, 2020
029d54b
Update PR UG
itskesin Apr 8, 2020
a5a8dc2
Merge pull request #191 from itskesin/master
itskesin Apr 8, 2020
887884d
Update UG
itskesin Apr 8, 2020
a741c01
Update UG pictures
itskesin Apr 8, 2020
5aaef5e
Fix text-ui-test
itskesin Apr 8, 2020
1c6e88d
Merge pull request #192 from itskesin/master
itskesin Apr 8, 2020
53134ab
Minor Fix to edit pr and patient
itskesin Apr 8, 2020
8f166ba
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp
itskesin Apr 8, 2020
79213a6
checkstyle
itskesin Apr 8, 2020
533546d
Fix text
itskesin Apr 8, 2020
ac59695
Minor Text Fix
itskesin Apr 8, 2020
e56c3b5
Update JavaDoc
Nyan-Wun-Paing Apr 8, 2020
fea119f
Update Style
Nyan-Wun-Paing Apr 8, 2020
09866bd
fix bug in test
itskesin Apr 8, 2020
5835905
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Nyan-Wun-Paing Apr 8, 2020
36982ee
Fix PatientRecordParser Bug
itskesin Apr 8, 2020
fa64ea8
Update UG
Nyan-Wun-Paing Apr 8, 2020
f78bd21
fix text-ui-test
itskesin Apr 8, 2020
80b7c00
Merge pull request #193 from itskesin/master
itskesin Apr 8, 2020
2237beb
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Nyan-Wun-Paing Apr 9, 2020
bc16e99
Merge pull request #194 from NyanWunPaing/Nyan-HappyPills
NyanWunPaing Apr 9, 2020
b08e121
Update UG
itskesin Apr 9, 2020
3cf3eca
Update README.md
itskesin Apr 9, 2020
74f2a1e
Update UserGuide.md
itskesin Apr 9, 2020
b22e8ee
Merge pull request #195 from itskesin/master
itskesin Apr 9, 2020
7d95c8d
Update README.md
itskesin Apr 9, 2020
f45a641
Update UserGuide.md
itskesin Apr 9, 2020
991936c
Remove some functions
sitinadiah25 Apr 9, 2020
d6db152
Merge remote-tracking branch 'upstream/master'
sitinadiah25 Apr 9, 2020
99d66c2
Update JavaDoc
itskesin Apr 9, 2020
395cb20
fix logger display
itskesin Apr 9, 2020
5ec0375
Update DG 1
sitinadiah25 Apr 9, 2020
0afe68d
Update DG 2
sitinadiah25 Apr 9, 2020
f98a746
Update DG 3
sitinadiah25 Apr 9, 2020
1a87a00
Update DG 4
sitinadiah25 Apr 9, 2020
ff15fb5
Run tests
sitinadiah25 Apr 9, 2020
542a24b
Add new line
sitinadiah25 Apr 9, 2020
4cbaf64
Merge pull request #196 from sitinadiah25/master
NyanWunPaing Apr 9, 2020
0db7055
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp
itskesin Apr 9, 2020
a87cc29
Ctrl+Alt+l
itskesin Apr 9, 2020
14278a5
update 1 line for doc
Nyan-Wun-Paing Apr 9, 2020
cceabd9
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Nyan-Wun-Paing Apr 9, 2020
a994f9d
Merge pull request #197 from itskesin/master
itskesin Apr 9, 2020
2da16de
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Nyan-Wun-Paing Apr 9, 2020
b68fa62
doc changes
Nyan-Wun-Paing Apr 9, 2020
80dd09d
Merge pull request #198 from NyanWunPaing/Nyan-HappyPills
NyanWunPaing Apr 9, 2020
b2fc6a5
Updates JavaDoc to coding standard
itskesin Apr 9, 2020
f56a1fc
Fixes checkstyle test
itskesin Apr 9, 2020
9f7af1e
Merge pull request #199 from itskesin/master
itskesin Apr 9, 2020
f38de94
Update UserGuide.md
itskesin Apr 9, 2020
d3af4fe
Apply SLAP
itskesin Apr 10, 2020
9fb97a6
Check style
itskesin Apr 10, 2020
2eb9e9b
Merge pull request #200 from itskesin/master
itskesin Apr 10, 2020
672078d
past
Janicetyy Apr 10, 2020
513b4ea
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Janicetyy Apr 10, 2020
7bfc690
dg
Janicetyy Apr 10, 2020
415fc86
Merge pull request #201 from Janicetyy/issues-fix
Janicetyy Apr 10, 2020
e90b0f6
ug
Janicetyy Apr 10, 2020
342efd8
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Janicetyy Apr 10, 2020
4f7261a
Merge pull request #202 from Janicetyy/issues-fix
Janicetyy Apr 10, 2020
a79110d
edit links
Janicetyy Apr 10, 2020
0dfc4ae
Update fix
sitinadiah25 Apr 10, 2020
3adadd2
Merge remote-tracking branch 'upstream/master'
sitinadiah25 Apr 10, 2020
2b1c64b
Merge pull request #203 from Janicetyy/issues-fix
Janicetyy Apr 10, 2020
64ddfa1
edit links
Janicetyy Apr 10, 2020
c623d2f
Merge pull request #204 from Janicetyy/issues-fix
Janicetyy Apr 10, 2020
96919c2
Merge remote-tracking branch 'upstream/master'
sitinadiah25 Apr 10, 2020
0fabe64
Add bar
sitinadiah25 Apr 10, 2020
ec6c622
update some pic for dg
Nyan-Wun-Paing Apr 10, 2020
6663691
Merge pull request #205 from NyanWunPaing/Nyan-HappyPills
itskesin Apr 10, 2020
d92ecfc
Split string allows multiple space
sitinadiah25 Apr 10, 2020
a0e59ec
Merge remote-tracking branch 'upstream/master'
sitinadiah25 Apr 10, 2020
f88c824
Merge pull request #206 from sitinadiah25/master
sitinadiah25 Apr 10, 2020
92ecd52
Update testing for DG
itskesin Apr 10, 2020
d772809
Merge pull request #207 from itskesin/master
itskesin Apr 10, 2020
4790014
Update UG
sitinadiah25 Apr 10, 2020
6b19890
Update DeveloperGuide.md
sitinadiah25 Apr 10, 2020
87aee86
Update DeveloperGuide.md
sitinadiah25 Apr 10, 2020
b7e4b87
Merge branch 'master' into master
sitinadiah25 Apr 10, 2020
09df9c0
Update DeveloperGuide.md
sitinadiah25 Apr 10, 2020
9fb4a7a
Delete old diagrams
sitinadiah25 Apr 10, 2020
5b5cb33
Merge pull request #208 from sitinadiah25/master
itskesin Apr 10, 2020
4864e24
spellcheck
Janicetyy Apr 10, 2020
979ea62
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Janicetyy Apr 10, 2020
f5714d9
Update DG
itskesin Apr 10, 2020
9ef15d1
Merge pull request #209 from itskesin/master
itskesin Apr 10, 2020
96f3046
Update sequence diagrams
sitinadiah25 Apr 10, 2020
4161253
Merge branch 'master' of https://github.com/sitinadiah25/tp
sitinadiah25 Apr 10, 2020
3ff1179
fix new graphic bug
Nyan-Wun-Paing Apr 10, 2020
19a8fc4
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Nyan-Wun-Paing Apr 10, 2020
181dc60
check style
Nyan-Wun-Paing Apr 10, 2020
668bb7d
Update DG Manual Testing part 1
itskesin Apr 10, 2020
80dd447
Merge pull request #210 from sitinadiah25/master
NyanWunPaing Apr 10, 2020
3585295
Merge pull request #211 from NyanWunPaing/Nyan-HappyPills
NyanWunPaing Apr 10, 2020
45b2de2
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp
itskesin Apr 10, 2020
2313822
Update DG part 2
itskesin Apr 10, 2020
7071a29
Update bug and image
Nyan-Wun-Paing Apr 10, 2020
969f514
getpatient message fix
Nyan-Wun-Paing Apr 10, 2020
eacbdcf
Structure of DG
Nyan-Wun-Paing Apr 10, 2020
0e40a3e
Update DG part?
itskesin Apr 10, 2020
3d9682a
Merge pull request #213 from itskesin/master
itskesin Apr 10, 2020
b01715c
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Janicetyy Apr 11, 2020
95859d7
DG manual testing - appt
Janicetyy Apr 11, 2020
4b90999
Fix extra bar
sitinadiah25 Apr 11, 2020
dcc83ac
fix style
Nyan-Wun-Paing Apr 11, 2020
aadbd1c
checkstyle again
Nyan-Wun-Paing Apr 11, 2020
b5e0d4d
Merge pull request #214 from Janicetyy/issues-fix
NyanWunPaing Apr 11, 2020
854d103
fix test
Nyan-Wun-Paing Apr 11, 2020
744c817
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Nyan-Wun-Paing Apr 11, 2020
ad9b714
Merge remote-tracking branch 'upstream/master'
sitinadiah25 Apr 11, 2020
2344a96
fix new divider bug
Nyan-Wun-Paing Apr 11, 2020
fc7381f
Merge pull request #212 from NyanWunPaing/Nyan-HappyPills
NyanWunPaing Apr 11, 2020
104974e
Update SettingUp.md
NyanWunPaing Apr 11, 2020
3323532
Merge remote-tracking branch 'upstream/master'
sitinadiah25 Apr 11, 2020
6bf9052
DG structure
Nyan-Wun-Paing Apr 11, 2020
6711e3e
Merge pull request #215 from NyanWunPaing/Nyan-HappyPills
itskesin Apr 11, 2020
40a70d4
Update minor DG error
itskesin Apr 11, 2020
8f07a71
Update DG
sitinadiah25 Apr 11, 2020
ff9caa8
run test
sitinadiah25 Apr 11, 2020
2aa5b61
Merge pull request #217 from sitinadiah25/master
sitinadiah25 Apr 11, 2020
1e5fd97
Merge pull request #216 from itskesin/master
itskesin Apr 11, 2020
0d2907a
Update DG images
sitinadiah25 Apr 11, 2020
5bc2705
Fix clear command and abort command mix up
Nyan-Wun-Paing Apr 11, 2020
ee6836e
Merge pull request #218 from NyanWunPaing/Nyan-HappyPills
NyanWunPaing Apr 11, 2020
e6bf918
Update DG
itskesin Apr 11, 2020
f5e22f5
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp
itskesin Apr 11, 2020
88256b4
content page DG update
Nyan-Wun-Paing Apr 11, 2020
6ad1564
Merge pull request #219 from NyanWunPaing/Nyan-HappyPills
NyanWunPaing Apr 11, 2020
040ce3f
Update DG
itskesin Apr 11, 2020
7fe7d5d
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp
itskesin Apr 11, 2020
b4f1666
check UG
sitinadiah25 Apr 11, 2020
acef167
Update UserGuide2.md
sitinadiah25 Apr 11, 2020
be8960f
Update UserGuide2.md
sitinadiah25 Apr 11, 2020
f48c77a
Update UserGuide2.md
sitinadiah25 Apr 11, 2020
18c0e67
Update UserGuide2.md
sitinadiah25 Apr 11, 2020
44e6857
Update UserGuide2.md
sitinadiah25 Apr 11, 2020
075306a
Update UserGuide2.md
sitinadiah25 Apr 11, 2020
f456a07
Update to html
sitinadiah25 Apr 11, 2020
ecca185
Update Sequence Diagram
itskesin Apr 11, 2020
1d1ab31
DG update
Nyan-Wun-Paing Apr 11, 2020
3faf63c
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Nyan-Wun-Paing Apr 11, 2020
9cd410c
Merge pull request #220 from itskesin/master
itskesin Apr 11, 2020
62700eb
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Nyan-Wun-Paing Apr 11, 2020
ba5af45
Update Ug
sitinadiah25 Apr 11, 2020
2c5edec
Merge pull request #221 from NyanWunPaing/Nyan-HappyPills
NyanWunPaing Apr 11, 2020
5231233
dg manual testing appt
Janicetyy Apr 11, 2020
7207c82
Merge pull request #222 from Janicetyy/issues-fix
Janicetyy Apr 11, 2020
3f3a04a
Update UserGuide2.md
sitinadiah25 Apr 11, 2020
7dda1f9
ppp
Janicetyy Apr 11, 2020
dbc9cc9
ppp
Janicetyy Apr 11, 2020
8b11696
test
Janicetyy Apr 11, 2020
1fc78c8
Merge pull request #223 from Janicetyy/issues-fix
Janicetyy Apr 11, 2020
7065abc
ppp change link, userguide rename
Janicetyy Apr 11, 2020
6c56897
Merge pull request #224 from Janicetyy/issues-fix
Janicetyy Apr 11, 2020
d2fa2df
Update UserGuide2.md
sitinadiah25 Apr 11, 2020
4c3267c
Add images
sitinadiah25 Apr 11, 2020
b77522f
Update UserGuide2.md
sitinadiah25 Apr 11, 2020
7d9fdbe
Update UserGuide2.md
sitinadiah25 Apr 11, 2020
4dbec8e
Update images
sitinadiah25 Apr 11, 2020
60f38eb
Update UserGuide2.md
sitinadiah25 Apr 11, 2020
39a22d7
Merge remote-tracking branch 'upstream/master'
sitinadiah25 Apr 11, 2020
854ef67
Update UserGuide.md
sitinadiah25 Apr 11, 2020
b71f8ec
Merge pull request #225 from sitinadiah25/master
sitinadiah25 Apr 11, 2020
4f3bceb
Update UserGuide.md
sitinadiah25 Apr 11, 2020
e3bcbf3
Update UserGuide.md
sitinadiah25 Apr 11, 2020
01c84dd
Update UserGuide.md
sitinadiah25 Apr 11, 2020
f96d5ab
Update UserGuide.md
sitinadiah25 Apr 11, 2020
54525b4
Update UserGuide.md
sitinadiah25 Apr 11, 2020
aad2263
Update LogicClassDiagram.png
sitinadiah25 Apr 11, 2020
7ba932e
Merge remote-tracking branch 'upstream/master'
sitinadiah25 Apr 11, 2020
e935f29
Update DeveloperGuide.md
sitinadiah25 Apr 11, 2020
ec462d4
Update DG
itskesin Apr 11, 2020
816b538
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp
itskesin Apr 11, 2020
3d753b5
Update DG
itskesin Apr 11, 2020
c3074fd
Merge pull request #226 from itskesin/master
itskesin Apr 11, 2020
254fb55
Update UserGuide.md
itskesin Apr 11, 2020
68e73e1
Update DeveloperGuide.md
itskesin Apr 11, 2020
33d71ce
Update author
sitinadiah25 Apr 11, 2020
cf21baf
Update sitinadiah25.md
sitinadiah25 Apr 11, 2020
f5c5221
Merge remote-tracking branch 'upstream/master'
sitinadiah25 Apr 11, 2020
650fad8
Update README.md
itskesin Apr 11, 2020
f4fd38f
Merge remote-tracking branch 'upstream/master'
sitinadiah25 Apr 11, 2020
58ec948
Update DeveloperGuide.md
sitinadiah25 Apr 11, 2020
6798b35
Update md
sitinadiah25 Apr 11, 2020
75b26ad
Update DG links
itskesin Apr 11, 2020
0394736
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp
itskesin Apr 11, 2020
c3fa678
Merge pull request #227 from itskesin/master
itskesin Apr 11, 2020
dda2ea2
Update DeveloperGuide.md
sitinadiah25 Apr 11, 2020
171c662
Update DeveloperGuide.md
sitinadiah25 Apr 11, 2020
dcb2472
Update sitinadiah25.md
sitinadiah25 Apr 11, 2020
e78bafc
Update PPP
itskesin Apr 11, 2020
618b191
Update nyanwunpaing.md
NyanWunPaing Apr 11, 2020
ac3455d
run test
sitinadiah25 Apr 11, 2020
ec4a371
Update nyanwunpaing.md
NyanWunPaing Apr 11, 2020
47f49fe
Merge pull request #228 from sitinadiah25/master
itskesin Apr 11, 2020
d09c44e
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp
itskesin Apr 11, 2020
47435b0
Merge pull request #229 from itskesin/master
NyanWunPaing Apr 11, 2020
67596b0
Update itskesin.md
NyanWunPaing Apr 11, 2020
f15bef4
Update itskesin.md
NyanWunPaing Apr 11, 2020
7133d10
Update nyanwunpaing.md
NyanWunPaing Apr 11, 2020
1550647
Update DG for it to render correctly on pages
itskesin Apr 11, 2020
008167f
Update DG final
itskesin Apr 11, 2020
5ba2804
Merge pull request #230 from itskesin/master
itskesin Apr 11, 2020
e48d048
Update sitinadiah25.md
sitinadiah25 Apr 11, 2020
ba6bc35
Merge pull request #231 from sitinadiah25/master
sitinadiah25 Apr 11, 2020
40b3d5a
Update minor DG display issue
itskesin Apr 11, 2020
d5a229b
bug fix
Nyan-Wun-Paing Apr 11, 2020
50cb869
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp
itskesin Apr 11, 2020
c882117
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Nyan-Wun-Paing Apr 11, 2020
fb3af6c
Merge pull request #233 from itskesin/master
itskesin Apr 11, 2020
7bba5d0
Merge pull request #232 from NyanWunPaing/Nyan-HappyPills
NyanWunPaing Apr 11, 2020
e68f2f4
Update PPP
itskesin Apr 11, 2020
90e4af9
Merge pull request #234 from itskesin/master
itskesin Apr 11, 2020
7ad9222
Finalize HAPPYPILLS
Nyan-Wun-Paing Apr 11, 2020
3f5157c
Update DG :(((
itskesin Apr 11, 2020
828b5d8
Merge pull request #236 from itskesin/master
itskesin Apr 11, 2020
5a5f36c
Merge branch 'master' of https://github.com/AY1920S2-CS2113T-T12-2/tp…
Nyan-Wun-Paing Apr 11, 2020
aa1ffac
Merge pull request #235 from NyanWunPaing/Nyan-HappyPills
NyanWunPaing Apr 11, 2020
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
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@ src/main/resources/docs/
*.iml
bin/

/text-ui-test/ACTUAL.txt
/text-ui-test/ACTUAL.txt
/text-ui-test/data/

/build/libs/data

# data files
/data/
text-ui-test/data/patient.txt
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-architect
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test {
}

application {
mainClassName = "seedu.duke.Duke"
mainClassName = "seedu.happypills.HappyPills"
}

shadowJar {
Expand All @@ -37,4 +37,5 @@ checkstyle {

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

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://via.placeholder.com/100.png?text=Photo) | Nyan Wun Paing | [Github](https://github.com/NyanWunPaing) | [Portfolio](docs/team/Nyan.md)
![](https://via.placeholder.com/100.png?text=Photo) | Janice| [Github](https://github.com/Janicetyy/tp) | [Portfolio](docs/team/janice.md)
![](https://via.placeholder.com/100.png?text=Photo) | Yap Kesin | [Github](https://github.com/itskesin) | [Portfolio](docs/team/Kesin.md)
![](https://via.placeholder.com/100.png?text=Photo) | Siti Nadiah | [Github](https://github.com/sitinadiah25) | [Portfolio](docs/team/sitinadiah.md)
1,434 changes: 1,418 additions & 16 deletions docs/DeveloperGuide.md

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Duke
# HappyPills
HappyPills is a note-taking application that allows doctors to take down notes using Command Line Interface (CLI).

The application replaces all physical papers and is highly optimised for fast typing users.
If you can type fast, HappyPills can help to manage patients’ records **faster** than traditional Graphical User Interface (GUI) applications.
All notes are **neatly organised** in HappyPills so that all your important information are **safely stored**.
Say **HELLO** to neater desks and time-saving electronic notes with HappyPills! <span style='font-size:20px;'>&#128522;</span>

{Give product intro here}

Useful links:
## Useful links:
* [User Guide](UserGuide.md)
* [Developer Guide](UserGuide.md)
* [Developer Guide](DeveloperGuide.md)
* [About Us](AboutUs.md)
46 changes: 46 additions & 0 deletions docs/SettingUp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#HappyPills - Setting Up

### 1. Prerequisites

1. JDK 11 or above

2. IntelliJ IDE
<table>
<col width="20">
<col width="200">
<tr>
<td><span> &#8505; </span></td>
<td>IntelliJ by default has Gradle and JavaFx plugins installed. Do not disable them.
If you have disabled them, go to <code>File</code> > <code>Settings</code> >
<code>Plugins</code> to re-enable them.</td>
</tr>
</table>

### 2. Setting up the project on your computer
1. Fork this repository, and clone the fork to your computer

2. Open the IntelliJ IDE. If you are not in the welcome screen, click `File` &gt; `Close Project` to close the existing project.

3. Set up the correct JDK version for Gradle

1. Click `Configure` &gt; `Project Defaults` &gt; `Project Structure`

2. Click `New...` and find the directory of the JDK

4. Click on `Import Project`

5. Locate and select the `build.gradle` file, then click `OK`

6. Click `Open as Project`

7. Click `OK` to use the default settings provided

### 3. Verifying the Setup
1. In Intellij, run `seedu.happypills.HappyPills` and try a few commands.
* Commands that you can try to get familiar with HappyPills:
- `help`: list all the available commands in HappyPills
- `add patient /ic S9876543F /n Eve /p 91265432 /dob 22/05/1999 /b O- /a School /rm Best Friend with Mallory`:
Add patient's information in HappyPills.
- `list patient`: list all the patients stored in HappyPills.


28 changes: 28 additions & 0 deletions docs/Testing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# HappyPills - Testing

### Running Tests
There are two ways to run tests.

#### Method 1 : Using IntelliJ JUnit Tests
- To run all test, right-click on `src/test/java` folder and choose `Run 'Tests in HappyPills'`
- To run a subset of tests, you can right-click on a test package, test class, or a test and choose `Run 'TEST'`.

#### Method 2 : Using Gradle
- To run all test using Gradle: Open a terminal and run the command `gradlew clean test`
(Mac/Linux: `./gradlew clean test`)
<table>
<col width="20">
<col width="200">
<tr>
<td><span> &#8505; </span></td>
<td> See <a href="https://github.com/AY1920S2-CS2113T-T12-2/tp/blob/master/tutorials/gradleTutorial.md">Gradle Tutorial</a>
for more info on how to run tests using Gradle. </td>
</td>
</tr>
</table>

### Using Input-Output Tests
- Right-click on `text-ui-test` folder and choose `Open in terminal`
- Enters `runtest.bat` (Windows) or `runtest.sh` (Mac / Linux) in the terminal to run the script.
- This will run HappyPills with the commands given in the `input.txt` and compare its output in the `ACTUAL.txt`
with the `EXPECTED.txt`.
13 changes: 13 additions & 0 deletions docs/UML/AddCommandActivityDiagram.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@startuml
(*) --> "Add input command"
If "add command parsed successfully" then
--> [Yes] "Executes add command"
--> "Patient information is added"
--> "Patient list is updated
with the new patient"
-->(*)
else
--> [No] "Throws Exception"
Endif
-->(*)
@enduml
Empty file.
33 changes: 33 additions & 0 deletions docs/UML/ArchitectureDiagram.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
@startuml
!include <office/Concepts/globe_internet>
!include <office/Concepts/documents>
!include <office/Users/user>
!include style.puml

Package " "<<Rectangle>>{
Class UI UI_COLOR
Class Logic LOGIC_COLOR
Class Storage STORAGE_COLOR
Class Model MODEL_COLOR
Class Main MODEL_COLOR_T1
Class Hidden #FFFFFF
Class HiddenUI #FFFFFF
Class HiddenModel #FFFFFF
}
Class "<$user>" as User MODEL_COLOR_T2
Class "<$documents>" as File UI_COLOR_T1


HiddenUI -up[hidden]-> UI
HiddenModel -left[hidden]-> Model
Main -up-> HiddenUI
Main -left-> HiddenModel
UI -> Logic
UI -right-> Model
Logic -> Storage
Logic -down-> Model

Storage .right.>File
User --> UI
Main --> Hidden
@enduml
41 changes: 41 additions & 0 deletions docs/UML/ArchitectureSequenceDiagram.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
@startuml
!include style.puml

Actor User as user USER_COLOR
Participant ":Main" as main MODEL_COLOR_T1
Participant ":UI" as ui UI_COLOR
Participant ":Logic" as logic LOGIC_COLOR
Participant ":Model" as model MODEL_COLOR
Participant ":Storage" as storage STORAGE_COLOR

user -[USER_COLOR]> main : "list patient"
activate main MODEL_COLOR_T1

main -[USER_COLOR]> ui : "list patient"
activate ui UI_COLOR

ui -[UI_COLOR]> logic : execute("list patient")
activate logic LOGIC_COLOR

logic -[LOGIC_COLOR]> model : deletePerson(p)
activate model MODEL_COLOR

model -[MODEL_COLOR]-> logic
deactivate model

logic -[LOGIC_COLOR]> storage : saveAddressBook(addressBook)
activate storage STORAGE_COLOR

storage -[STORAGE_COLOR]> storage : Save to file
activate storage STORAGE_COLOR_T1
deactivate storage

storage --[STORAGE_COLOR]> logic
deactivate storage

logic --[LOGIC_COLOR]> ui
deactivate logic

ui--[UI_COLOR]> user
deactivate ui
@enduml
47 changes: 47 additions & 0 deletions docs/UML/Logic.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
@startuml
!include style.puml
skinparam arrowThickness 1.1
skinparam arrowColor LOGIC_COLOR_T4
skinparam classBackgroundColor LOGIC_COLOR
skinparam linetype ortho

package Logic {

package Parser {
Interface Parser <<Interface>>
Class PatientCommandParser
Class AppointmentParser
Class PatientRecordParser
}

package Command {
Class PatientCommand
Class AppointmentCommand
Class PatientRecordCommand
Class "{abstract}\nCommand" as Command
}

package Model{
Class HiddenModel #FFFFFF
}

Class HiddenOutside #FFFFFF
HiddenOutside ..> Parser

PatientCommandParser .down.> PatientCommand : creates >
AppointmentParser ....down.> AppointmentCommand : creates >
PatientRecordParser .down.> PatientRecordCommand: creates >
PatientRecordParser ..left[hidden].>PatientCommandParser

PatientCommandParser ..up|> Parser
AppointmentParser ..up|> Parser
PatientRecordParser ..up|> Parser

PatientCommand ......up.|> Command
AppointmentCommand .up.|> Command
PatientRecordCommand ....up.|> Command

AppointmentCommand ..> Model
PatientCommand ..> Model
PatientRecordCommand ..> Model
@enduml
65 changes: 65 additions & 0 deletions docs/UML/Model.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
@startuml
!include style.puml
skinparam arrowThickness 1.1
skinparam arrowColor MODEL_COLOR
skinparam classBackgroundColor MODEL_COLOR
skinparam linetype ortho

Package Model <<Rectangle>>{

Package Patient {
Class Person
Class DOB
Class BloodType
Class NRIC
Class Name
Class Phone
Class PatientList
}

Package Appointment {
Class ApptList
Class Appt
Class Time
Class ApptDate
Class Reason
}

Package PatientRecord {
Class PatientRecordList
Class Pr
Class Allergies
Class Symptoms
Class Prescription
Class VisitDate
}
}

Class HiddenOutside #FFFFFF

PatientList o--> "*" Person
Person *--> Name
Person *--> Phone
Person *--> BloodType
Person *--> DOB
Person *--> NRIC
Person *-right-> "*" Appt

ApptList o--> "*" Appt
Appt *--> Time
Appt *--> ApptDate
Appt *--> Reason

PatientRecordList o--> "*" Pr
Pr *--> Allergies
Pr *--> Symptoms
Pr *--> Prescription
Pr *--> VisitDate

Person *-left-> "*" Pr

Name --[hidden]right-> Phone
Phone --[hidden]right-> DOB
DOB --[hidden]right-> BloodType

@enduml
Loading