-
Notifications
You must be signed in to change notification settings - Fork 6
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
Revamp overview section of UG #233
Conversation
Codecov Report
@@ Coverage Diff @@
## master #233 +/- ##
=========================================
Coverage 65.09% 65.09%
Complexity 778 778
=========================================
Files 110 110
Lines 2739 2739
Branches 304 304
=========================================
Hits 1783 1783
Misses 847 847
Partials 109 109
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A good rehaul of the how to use section to make the UG more friendly to the reader. Just a few minor suggestions!
docs/UserGuide.md
Outdated
@@ -23,7 +23,7 @@ If this is your first time, here are some quick tips to get started. | |||
|
|||
1. Copy the file to the folder you want to use as the _home folder_ for your **FitEgo** program. | |||
|
|||
1. Double-click the file to start the app. The GUI similar to the figure below should appear in a few seconds. Note how the app contains some sample data.<br> | |||
1. Double-click the file to start the app. The GUI similar to the below should appear in a few seconds. Note how the app contains some sample data.<br> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should keep the word "figure" :) one of the reviewers picked on this previously (#209) which is why I added figure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, I might have messed up when resolving conflict. Thanks for spotting this out. Reverting..
docs/UserGuide.md
Outdated
|
||
All [client-related commands](#32-client-related-keywords) use prefix `c`. | ||
FitEgo lets you record crucial information that you want to keep track of using three types of items: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure whether to call them items or entities, cos I think it might be a little weird to call clients items. Your call!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll go with entities then
docs/UserGuide.md
Outdated
-----|-------| ------------------- | ||
Client | c | Your client | ||
Session | s | Timeslot for a fitness session | ||
Schedule | sch | A schedule you made with your client |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Schedule: A client's booking of a session
docs/UserGuide.md
Outdated
#### Sessions | ||
Item | Prefix | What it represents | ||
-----|-------| ------------------- | ||
Client | c | Your client |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Client: A client that is either interested or has engaged your services
docs/UserGuide.md
Outdated
|
||
Sessions are timeslots that are marked for a training session. It contains information about the gym, the session's main exercise type, start time and the duration of sessions. | ||
And here's what you can do: | ||
1. When you find a client that is interested in your fitness training services, add it to your list of clients with the: <br /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
..add him to..
docs/UserGuide.md
Outdated
|
||
Sessions represents a timeslot that is scheduled for a training session. It contains information about the gym, the session's main exercise type, start time and the duration of sessions. | ||
|
||
Each session can have more than 1 client, to model a trainer instructing a fitness class. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps rephrase the line "Each session can have more than 1 client" in case it implies container? "Each session can be attended by multiple clients"?
docs/UserGuide.md
Outdated
|
||
Format: `sadd g/GYM_NAME ex/EXERCISE_TYPE at/START_TIME t/DURATION` | ||
|
||
Points to take note when adding a session to the Session List: | ||
* Start time should be of format "dd/MM/yyyy HHmm". | ||
* Start time should be of format "dd/MM/yyyy HHmm" (date/month/year Hour minutes). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
day/month/year hour minutes in 24hr format
docs/UserGuide.md
Outdated
<div markdown="block" class="alert alert-info"> | ||
|
||
:information_source: **Info:** | ||
FitEgo doesn't allow user to create overlapping sessions. We consider two sessions as overlapping if another session starts before the current session ends. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm I know you didn't change this one, but I'm thinking we can change it to "FitEgo will not allow you.." so its more reader-centric and avoids short form like "doesn't"
docs/UserGuide.md
Outdated
|
||
:information_source: **Info:** | ||
FitEgo doesn't allow user to create overlapping sessions. We consider two sessions as overlapping if another session starts before the current session ends. | ||
This is to prevent accidental schedule overlaps at different gyms. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should avoid using the keyword "schedule" here too haha since there's no logical link to clients here. Perhaps "This is to prevent concurrent sessions at different gyms from being accidentally created"?
docs/UserGuide.md
Outdated
|
||
There are 3 major entities in FitEgo (clients, sessions, and schedules), and 5 major verbs (add, edit, delete, view, list). | ||
Your clients' details, clients' progress, clients' payment status, and your own schedules are spread across 3 or 4 different applications. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Your records of your clients' details, training progress, payment status and your own timetable are spread across 3 or 4 different applications."
I'm in favor of this change. Less space wasted by the Common Commands column |
docs/UserGuide.md
Outdated
|
||
Each session can have more than 1 client, to model a trainer instructing a fitness class. | ||
|
||
All of the session-related commands will interact with the Session List which is located at the [right of the UI](#2-ui-orientation). The figure below shows how it looks like. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
based on another kelvin's comment, then this one might be "on the right"
@@ -31,7 +31,8 @@ | |||
+ PREFIX_DURATION + "120 "; | |||
|
|||
public static final String MESSAGE_SUCCESS = "New Session added: %1$s"; | |||
public static final String MESSAGE_DUPLICATE_SESSION = "This Session already exists in FitEgo."; | |||
public static final String MESSAGE_DUPLICATE_SESSION = "This Session overlaps with an existing Session in FitEgo.\n" | |||
+ "A Session is considered overlapping if another Session starts before the current session ends."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the second session start with capital s?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right!
docs/UserGuide.md
Outdated
|
||
Someone who is interested in your fitness training services | ||
A Client are someone who is interested in or has engaged with your fitness training services. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*"A client is"
|
||
FitEgo will not allow you to create overlapping sessions. We consider two sessions as overlapping if another session starts before the current session ends. | ||
|
||
This helps to prevent you from accidentally agreeing to 2 sessions that overlaps with each other but are located on two different gyms. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*"overlap with"
*"located in"
Sorry for checking the edits this late!
Should we also change the command summary to be like this