Skip to content

Commit 8b1e3b8

Browse files
authored
Merge pull request #432 from sheexiong/master
done
2 parents 37b0bbc + da59924 commit 8b1e3b8

File tree

5 files changed

+58
-85
lines changed

5 files changed

+58
-85
lines changed

docs/DeveloperGuide.pdf

5.96 MB
Binary file not shown.

docs/UserGuide.adoc

Lines changed: 55 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Interested? Jump to <<Getting Started>> to get started. Let's go!
4646
Hope you have a pleasant experience using EYLAH!
4747

4848
.Launch screen of EYLAH
49-
image::Ui.png[width="790"]
49+
image::Ui.png[width="890"]
5050
//end::intro[]
5151

5252
=== Purpose
@@ -95,9 +95,9 @@ website.
9595
Need help setting up EYLAH? Simply follow the steps below to get started in no time!
9696

9797
. Ensure you have `Java 11` or above installed in your Computer.
98-
. Download the latest `eylah.jar` link:{repoURL}/releases[here].
98+
. Download the latest `EYLAH.jar` link:{repoURL}/releases[here].
9999
. Copy the file to the folder you want to use as the home folder for EYLAH.
100-
. Navigate to the folder in terminal and to run the jar file type `java -jar eylah.jar`.
100+
. Navigate to the folder in terminal and to run the jar file type `java -jar EYLAH.jar`.
101101
+
102102

103103
+
@@ -195,15 +195,18 @@ Valid Example: +
195195

196196
*Main Menu:*
197197

198-
image::main_help.png[width="890", height="200"]
198+
.Main Menu Help
199+
image::main_help.png[width="890"]
199200

200201
*Diet Tracker Mode:*
201202

202-
image::diethelp.png[width="890", height="200"]
203+
.Diet Tracker Help
204+
image::diethelp.png[width="890"]
203205

204206
*Expense Splitter Mode:*
205207

206-
image::splithelp.png[width="890", height="200"]
208+
.Expense Splitter Help
209+
image::splithelp.png[width="890"]
207210

208211
*Additional notes and tips* +
209212

@@ -262,7 +265,8 @@ You must only input *EXACTLY ONE* mode per mode command.
262265
[[modeexpectedoutcome]]
263266
*Expected outcome:*
264267

265-
image::dietTrackerModeCommandSuccessPhoto.png[width="890", height="200"]
268+
.Diet Tracker Mode Command
269+
image::dietTrackerModeCommandSuccessPhoto.png[width="890"]
266270

267271
*Additional notes and tips* +
268272

@@ -303,7 +307,8 @@ Valid Example: +
303307
[[heightexpectedoutcome]]
304308
*Expected outcome:*
305309

306-
image::dietTrackerHeightCommandSuccessPhoto.png[width="890", height="200"]
310+
.Diet Tracker Height Command
311+
image::dietTrackerHeightCommandSuccessPhoto.png[width="890"]
307312

308313
*Additional notes and tips* +
309314

@@ -342,7 +347,8 @@ Valid Example: +
342347
[[weightexpectedoutcome]]
343348
*Expected outcome:*
344349

345-
image::dietTrackerWeightCommandSuccessPhoto.png[width="890", height="200"]
350+
.Diet Tracker Weight Command
351+
image::dietTrackerWeightCommandSuccessPhoto.png[width="890"]
346352

347353
*Additional notes and tips* +
348354

@@ -388,7 +394,8 @@ Valid Example: +
388394
[[metricsexpectedoutcome]]
389395
*Expected outcome:*
390396

391-
image::dietTrackerMetricsCommandSuccessPhoto.png[width="890", height="200"]
397+
.Diet Tracker Metrics Command
398+
image::dietTrackerMetricsCommandSuccessPhoto.png[width="890"]
392399

393400
*Additional notes and tips* +
394401

@@ -453,7 +460,8 @@ Calculate BMI based on the input height and weight values.
453460
[[bmiexpectedoutcome]]
454461
*Expected outcome:*
455462

456-
image::dietTrackerBmiCommandSuccessPhoto.png[width="890", height="200"]
463+
.Diet Tracker Bmi Command
464+
image::dietTrackerBmiCommandSuccessPhoto.png[width="890"]
457465

458466
*Additional tips* +
459467

@@ -488,7 +496,8 @@ Valid Example: +
488496
[[addexpectedoutcome]]
489497
*Expected outcome:*
490498

491-
image::dietTrackerAddCommandSuccessPhoto.png[width="890", height="200"]
499+
.Diet Tracker Add Command
500+
image::dietTrackerAddCommandSuccessPhoto.png[width="890"]
492501

493502
*Additional notes* +
494503

@@ -538,7 +547,8 @@ Valid Examples: +
538547
[[listexpectedoutcome]]
539548
*Expected outcome:*
540549

541-
image::dietTrackerListCommandSuccessPhoto.png[width="890", height="200"]
550+
.Diet Tracker List Command
551+
image::dietTrackerListCommandSuccessPhoto.png[width="890"]
542552

543553
*Additional notes* +
544554

@@ -586,7 +596,8 @@ correct index of the item.
586596
[[deleteexpectedoutcome]]
587597
*Expected outcome:*
588598

589-
image::dietTrackerDeleteCommandSuccessPhoto.png[width="890", height="200"]
599+
.Diet Tracker Delete Command
600+
image::dietTrackerDeleteCommandSuccessPhoto.png[width="890"]
590601

591602
*Additional notes and tips* +
592603

@@ -634,7 +645,8 @@ correct index of the item.
634645
[[editexpectedoutcome]]
635646
*Expected outcome:*
636647

637-
image::dietTrackerEditCommandSuccessPhoto.png[width="890", height="200"]
648+
.Diet Tracker Edit Command
649+
image::dietTrackerEditCommandSuccessPhoto.png[width="890"]
638650

639651
*Additional notes and tips* +
640652
[TIP]
@@ -667,7 +679,8 @@ Valid Example: +
667679
[[dietbackexpectedoutcome]]
668680
*Expected outcome:*
669681

670-
image::dietTrackerBackCommandSuccessPhoto.png[]
682+
.Diet Tracker Back Command
683+
image::dietTrackerBackCommandSuccessPhoto.png[width="890"]
671684
//end::diettrackerback[]
672685

673686
'''
@@ -717,7 +730,8 @@ Valid Example: +
717730
[[additemexpectedoutcome]]
718731
*Expected outcome:*
719732

720-
image::expensesplitteradditemexpectedoutcome.png[][width="890", height="200"]
733+
.Expense Splitter Add Item Command
734+
image::expensesplitteradditemexpectedoutcome.png[width="890"]
721735

722736
[NOTE]
723737
====
@@ -751,7 +765,8 @@ Valid Example: +
751765
[[deleteitemexpectedoutcome]]
752766
*Expected outcome:*
753767

754-
image::expensesplitterdeleteitemexpectedoutcome.png[][width="890", height="200"]
768+
.Expense Splitter Delete Item Command
769+
image::expensesplitterdeleteitemexpectedoutcome.png[width="890"]
755770

756771
[TIP]
757772
Use `listreceipt` to view your item indices before deletion.
@@ -780,7 +795,8 @@ Valid Example: +
780795
[[listreceiptexpectedoutcome]]
781796
*Expected outcome:*
782797

783-
image::listreceipt.png[width="890", height="200"]
798+
.Expense Splitter List Receipt Command
799+
image::listreceipt.png[width="890"]
784800

785801
*Additional notes and tips* +
786802

@@ -818,7 +834,8 @@ Valid example: +
818834
[[listamountexpectedoutcome]]
819835
*Expected outcome:*
820836

821-
image::listamount.png[width="890", height="200"]
837+
.Expense Splitter List Amount Command
838+
image::listamount.png[width="890"]
822839

823840
*Additional notes and tips* +
824841

@@ -857,7 +874,8 @@ Example: +
857874
[[donereceiptexpectedoutcome]]
858875
*Expected outcome:*
859876

860-
image::donereceipt.png[width="890", height="200"]
877+
.Expense Splitter Done Receipt Command
878+
image::donereceipt.png[width="890"]
861879

862880
[NOTE]
863881
====
@@ -907,7 +925,8 @@ Valid examples: +
907925
[[paidcommandexpectedoutcome]]
908926
*Expected outcome:*
909927

910-
image::paid.png[width="890", height="200"]
928+
.Expense Splitter Paid Command
929+
image::paid.png[width="890"]
911930

912931
*Additional notes and tips*
913932

@@ -945,7 +964,8 @@ Valid Example: +
945964
[[clearreceiptexpectedoutcome]]
946965
*Expected outcome:*
947966

948-
image::expensesplitterclearreceiptexpectedoutcome.png[][width="890", height="200"]
967+
.Expense Splitter Clear Receipt Command
968+
image::expensesplitterclearreceiptexpectedoutcome.png[width="890"]
949969

950970
[WARNING]
951971
====
@@ -985,7 +1005,8 @@ Valid Example: +
9851005
[[splitbackexpectedoutcome]]
9861006
*Expected outcome:*
9871007

988-
image::expenseback.png[width="890", height="200"]
1008+
.Expense Splitter Back Command
1009+
image::expenseback.png[width="890"]
9891010
//end::splitback[]
9901011

9911012
'''
@@ -1012,7 +1033,8 @@ Valid Example: +
10121033
[[exitexpectedoutcome]]
10131034
*Expected outcome:*
10141035

1015-
image::exit.png[width="890", height="200"]
1036+
.Exit Command
1037+
image::exit.png[width="890"]
10161038
//end::exit[]
10171039

10181040
'''
@@ -1036,7 +1058,9 @@ example.
10361058
If you would like to know more about a specific command, simply click on the provided links in the table below and you
10371059
will be brought to the respective command.
10381060
//tag::commandsummaryfordiettracker[]
1061+
10391062
=== For Diet Tracker
1063+
.Summary of Command for Diet Tracker
10401064
|===
10411065
|Command |Format |Example
10421066

@@ -1114,6 +1138,8 @@ or
11141138
//end::commandsummaryfordiettracker[]
11151139
//tag::commandsummaryforexpensesplitter[]
11161140
=== For Expense Splitter
1141+
1142+
.Summary of Command for Expense Splitter
11171143
|===
11181144
|Command |Format |Example
11191145

@@ -1170,6 +1196,8 @@ or +
11701196

11711197
[[glossary]]
11721198
== Glossary
1199+
1200+
.Glossary
11731201
[width="%",cols="<20%,<40,<40,options="header",]
11741202
|=======================================================================
11751203
|Term | Explanation | Examples
@@ -1201,14 +1229,14 @@ The fully blackened circle at the top represents the start point while the circl
12011229
at the bottom represents the end point.
12021230

12031231
.Expense Splitter Activity Diagram
1204-
image::ExpenseSplitterActivityDiagramV2.png[width="790"]
1232+
image::ExpenseSplitterActivityDiagramV2.png[width="890"]
12051233

12061234
*Simplified Add Item Activity Diagram* +
12071235

12081236
This diagram below is used in conjunction with the diagram directly above this.
12091237

12101238
.Simplified Add Item Activity Diagram
1211-
image::ExpenseSplitterActivityDiagram.png[width="790"]
1239+
image::ExpenseSplitterActivityDiagram.png[width="890"]
12121240

12131241

12141242

docs/team/jarrod-bob.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ My groupmate Akhil, who helped with the correction for some of the bugs in the i
3939
(https://github.com/AY1920S2-CS2103T-W13-1/main/pull/135#discussion_r393328371[#Github Discussion])
4040

4141
*** *What it does:* +
42-
Allows the integration of the both Diet Tracker and Expense Splitter seamlessly in the unified EYLAH class.
42+
_Allows_ the integration of the both Diet Tracker and Expense Splitter seamlessly in the unified EYLAH class.
4343

4444
*** *Highlights:* +
4545
I noticed this in my review of my team mate, Shee Xiong's, initial reorganisation of the code to allow for unification of both components. Upon further research, Java does not support **class name aliasing**.

docs/team/sheexiong.adoc

Lines changed: 2 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
= Chen Shee Xiong - Project Portfolio
22
:site-section: AboutUs
33
:imagesDir: ../images
4-
:imagesDir: ../images/expense-splitter
54
:stylesDir: ../stylesheets
65

76
== PROJECT: EYLAH
@@ -25,9 +24,7 @@ https://github.com/AY1920S2-CS2103T-W13-1/main/pull/367[#367])
2524
*** *What it does:* +
2625
Ensure both of the features integrated in the main application.
2726
*** *Justification:* +
28-
There are a lot of duplicate code in both features due to the initial plan of splitting team into 2 different group and each group work on their own features.
29-
Both group follow existing `AddressBook Level-3` code and thus create a lot of duplicate class with exact same code.
30-
The integration process will help to generalise the duplicate code to common code which can reduce the duplicate code in the whole application.
27+
The integration can help to reduce the duplicate code in the `EYLAH` which cased by the features done by different sub group.
3128
*** *Highlights:* +
3229
During the implementation, I faced a lot of difficulty as we working on the existing `AddressBook Level-3`, the code base given does not show how to integrate 2 different features.
3330
I have decided to modify some common use class to generic version in order can be implemented by both features.
@@ -50,41 +47,6 @@ item and person involved.
5047
*** *Credits:* +
5148
N.A.
5249

53-
. Create main entry class of the application `Elyah.java`, which use to initialise the required components and handle the overall operations of the application.
54-
(Pull request https://github.com/AY1920S2-CS2103T-W13-1/main/pull/232[#232], https://github.com/AY1920S2-CS2103T-W13-1/main/pull/357[#357])
55-
*** *What it does:* +
56-
This is the main entry of whole application. It handle the overall operations of the application and
57-
also initialise the required components such as storage, model, logic and config of the application.
58-
*** *Justification:* +
59-
Due to our team decide to create a pure CLI application instead of JavaFX GUI application, I cannot just simply follow the `AddressBook Level-3` code
60-
structure to create the main entry of the application. The `Eylah.java` is used to replace `Main.java` in `AddressBook Level-3` as the main entry to the application.
61-
This class also handling all the initialisation of storage, model and logic component.
62-
*** *Highlights:* +
63-
The modification from the existing `AddressBook Level-3` code to the new entry point `Eylah.java` required a lot of effort.
64-
The existing `AddressBook Level-3` code using multiple class to handle the initialisation and operations flow of the application.
65-
The migration of initialisation code from existing code cost me a lot of effort to handle the dependency issue regarding to GUI component.
66-
The new operations flow using in the current implementation partially refers to the `AddressBook Level-2` operations flow structure.
67-
*** *Credits:* +
68-
Operation flows reference:
69-
https://github.com/se-edu/addressbook-level2
70-
71-
72-
. Create new UI component for the application
73-
(Pull request https://github.com/AY1920S2-CS2103T-W13-1/main/pull/140[#140], https://github.com/AY1920S2-CS2103T-W13-1/main/pull/380[#380])
74-
75-
*** *What it does:* +
76-
This is the UI component of the application. It used to handle the getting input and display result to user.
77-
*** *Justification:* +
78-
Due to the removing GUI component from existing code, I am required to create a new UI component to handle the user interaction.
79-
This UI component will handle the every printing statement and input operation of the application.
80-
*** *Highlights:* +
81-
The UI component interact with Logic component by handle the `CommandResult`. It will use the `CommandResult#getFeedbackToUser` to get the
82-
result string and print it to console for user.
83-
*** *Credits:* +
84-
N.A.
85-
86-
87-
8850
* *Minor enhancement*:
8951
. Create `ExitCommand` and `BackCommand` for the application
9052
(Pull request https://github.com/AY1920S2-CS2103T-W13-1/main/pull/357[#357])
@@ -100,26 +62,12 @@ The `ExitCommand` in the main menu handle differently as it directly handle by `
10062
*** *Credits:* +
10163
N.A.
10264

103-
. Create `HelpCommand` for main menu and Expense Splitter.
104-
(Pull request https://github.com/AY1920S2-CS2103T-W13-1/main/pull/254[#254], https://github.com/AY1920S2-CS2103T-W13-1/main/pull/380[#380])
105-
106-
*** *What it does:* +
107-
Allows user to get the available commands when they forget or unsure how to use certain function.
108-
*** *Justification:* +
109-
This can help user to clarify the usage of the application. The `HelpCommand` in Diet Tracker has been implemented by my teammate, Jarrod-Bob.
110-
*** *Highlights:* +
111-
The `HelpCommand` in different features and main menu will display different information.
112-
*** *Credits:* +
113-
N.A.
114-
115-
11665
* *Code contributed*:[https://nus-cs2103-ay1920s2.github.io/tp-dashboard/#search=sheexiong&sort=groupTitle&sortWithin=title&since=2020-02-14&timeframe=commit&mergegroup=false&groupSelect=groupByRepos&breakdown=false[Functional code and Test Code]]
11766

11867
* *Other contributions*:
11968

12069
** Project management:
12170
*** In charge of project repository management and ensure the weekly task achievement.
122-
*** Setup auto repository check for repository such as travis, appveyor, coveralls and netlify.
12371
*** Participated in planning the project timeline for EYLAH.
12472

12573
** Enhancements to existing features:
@@ -128,10 +76,7 @@ N.A.
12876
** Documentation:
12977
*** Updated Developer Guide for Done Receipt Command (Pull request https://github.com/AY1920S2-CS2103T-W13-1/main/pull/386[#386], https://github.com/AY1920S2-CS2103T-W13-1/main/pull/388[#388])
13078
*** Updated Developer Guide for whole Design Section (Pull request https://github.com/AY1920S2-CS2103T-W13-1/main/pull/369[#369], https://github.com/AY1920S2-CS2103T-W13-1/main/pull/380[#380])
131-
*** Updated User Guide for Help Command (Pull request https://github.com/AY1920S2-CS2103T-W13-1/main/pull/380[#380], https://github.com/AY1920S2-CS2103T-W13-1/main/pull/386[#386])
132-
*** Updated User Guide for Back Command (Pull request https://github.com/AY1920S2-CS2103T-W13-1/main/pull/386[#386])
133-
*** Updated User Guide for Exit Command (Pull request https://github.com/AY1920S2-CS2103T-W13-1/main/pull/386[#386], https://github.com/AY1920S2-CS2103T-W13-1/main/pull/394[#394])
134-
*** Updated User Guide for Done Receipt Command (Pull request https://github.com/AY1920S2-CS2103T-W13-1/main/pull/380[#380], https://github.com/AY1920S2-CS2103T-W13-1/main/pull/386[#386])
79+
*** Updated User Guide for Back, Exit, Help and Done Receipt Command (Pull request https://github.com/AY1920S2-CS2103T-W13-1/main/pull/380[#380], https://github.com/AY1920S2-CS2103T-W13-1/main/pull/386[#386], https://github.com/AY1920S2-CS2103T-W13-1/main/pull/394[#394])
13580

13681
** Community:
13782
*** PRs reviewed (with non-trivial review comments): (Pull requests: https://github.com/AY1920S2-CS2103T-W13-1/main/pull/306[#306], https://github.com/AY1920S2-CS2103T-W13-1/main/pull/176[#176], https://github.com/AY1920S2-CS2103T-W13-1/main/pull/177[#177])

docs/team/sheexiong.pdf

957 KB
Binary file not shown.

0 commit comments

Comments
 (0)