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

Revamp overview section of UG #233

Merged
merged 4 commits into from
Nov 3, 2020
Merged

Revamp overview section of UG #233

merged 4 commits into from
Nov 3, 2020

Conversation

benclmnt
Copy link

@benclmnt benclmnt commented Nov 3, 2020

Should we also change the command summary to be like this

@codecov
Copy link

codecov bot commented Nov 3, 2020

Codecov Report

Merging #233 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            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           
Impacted Files Coverage Δ Complexity Δ
...ress/logic/commands/session/AddSessionCommand.java 85.71% <ø> (ø) 8.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e301173...8dbdf1e. Read the comment docs.

Copy link

@kelvinvin kelvinvin left a 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!

@@ -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>

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

Copy link
Author

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..


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:

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!

Copy link
Author

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

-----|-------| -------------------
Client | c | Your client
Session | s | Timeslot for a fitness session
Schedule | sch | A schedule you made with your client

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

#### Sessions
Item | Prefix | What it represents
-----|-------| -------------------
Client | c | Your client

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


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 />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

..add him to..


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.

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"?


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).

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

<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.

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"


: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.

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"?


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.

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."

@kelvinvin
Copy link

Should we also change the command summary to be like this

I'm in favor of this change. Less space wasted by the Common Commands column


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.

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.";

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?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right!

@benclmnt benclmnt merged commit cde24c5 into master Nov 3, 2020

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.

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.
Copy link

@kelvinvin kelvinvin Nov 3, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants