Skip to content

Commit

Permalink
Merge pull request #131 from Kappaccinoh/finalUGedits
Browse files Browse the repository at this point in the history
update UG
  • Loading branch information
Kappaccinoh authored Apr 4, 2024
2 parents 1783f0d + 2d86f95 commit 0cbe212
Show file tree
Hide file tree
Showing 13 changed files with 82 additions and 68 deletions.
131 changes: 73 additions & 58 deletions docs/UserGuide.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: "mediCLI"
title: "MediCLI"
theme: minima

header_pages:
Expand Down
Binary file added docs/images/addAppointment.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/images/addDoctor.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/images/addPatient.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/images/editPerson.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 modified docs/images/helpMessage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class EditAppointmentCommand extends Command {
+ "by the index number used in the displayed appointment list. "
+ "Existing values will be overwritten by the input values.\n"
+ "Parameters: INDEX (must be a positive integer) "
+ "[" + PREFIX_DATE + "DATE]\n"
+ PREFIX_DATE + "DATE\n"
+ "Example: " + COMMAND_WORD + " 1 "
+ PREFIX_DATE + "2024-04-09";

Expand Down
4 changes: 1 addition & 3 deletions src/main/java/seedu/address/logic/commands/EditCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME;
import static seedu.address.logic.parser.CliSyntax.PREFIX_NRIC;
import static seedu.address.logic.parser.CliSyntax.PREFIX_PHONE;
import static seedu.address.logic.parser.CliSyntax.PREFIX_TAG;
import static seedu.address.model.Model.PREDICATE_SHOW_ALL_APPOINTMENTS;
import static seedu.address.model.Model.PREDICATE_SHOW_ALL_PERSONS;

Expand Down Expand Up @@ -48,8 +47,7 @@ public class EditCommand extends Command {
+ "[" + PREFIX_NAME + "NAME] "
+ "[" + PREFIX_PHONE + "PHONE] "
+ "[" + PREFIX_NRIC + "NRIC] "
+ "[" + PREFIX_DOB + "DOB] "
+ "[" + PREFIX_TAG + "TAG]...\n"
+ "[" + PREFIX_DOB + "DOB]\n"
+ "Example: " + COMMAND_WORD + " 1 "
+ PREFIX_PHONE + "91234567 "
+ PREFIX_NRIC + "T0123452K";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class QueryDoctorAppointmentCommand extends Command {
private static final Logger logger = Logger.getLogger(QueryDoctorAppointmentCommand.class.getName());

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Finds all appointments of doctors whose "
+ "nrics/names contain any of the specified keywords (case-insensitive) and displays them as a "
+ "nrics contain any of the specified keywords (case-insensitive) and displays them as a "
+ "list with index numbers.\n"
+ "Parameters: KEYWORD [MORE_KEYWORDS]...(Keywords can either be NRICs or Names)\n"
+ "Example: " + COMMAND_WORD + " alice bob T1234567A S7654321A";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class QueryPatientAppointmentCommand extends Command {
public static final String COMMAND_WORD = "apptforpatient";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Finds all appointments of patients whose "
+ "nrics/names contain any of the specified keywords (case-insensitive) and displays them as a "
+ "nrics contain any of the specified keywords (case-insensitive) and displays them as a "
+ "list with index numbers.\n"
+ "Parameters: KEYWORD [MORE_KEYWORDS]...(Keywords can either be NRICs or Names)\n"
+ "Example: " + COMMAND_WORD + " alice bob T1234567A S7654321A";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ public class QueryPatientCommand extends Command {

public static final String COMMAND_WORD = "patient";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Finds all patients whose names contain any of "
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Finds all patients whose name, "
+ "NRIC, DoB or phone number contains any of "
+ "the specified keywords (case-insensitive) and displays them as a list with index numbers.\n"
+ "Parameters: KEYWORD [MORE_KEYWORDS]...\n"
+ "Example: " + COMMAND_WORD + " alice bob charlie";
+ "Example: " + COMMAND_WORD + " alice bob ethan";

private final PatientContainsKeywordsPredicate predicate;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/ui/HelpWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
public class HelpWindow extends UiPart<Stage> {

public static final String USERGUIDE_URL = "https://se-education.org/addressbook-level3/UserGuide.html";
public static final String USERGUIDE_URL = "https://ay2324s2-cs2103t-t15-1.github.io/tp/UserGuide.html";
public static final String HELP_MESSAGE = "Refer to the user guide: " + USERGUIDE_URL;

private static final Logger logger = LogsCenter.getLogger(HelpWindow.class);
Expand Down

0 comments on commit 0cbe212

Please sign in to comment.