Skip to content

Commit

Permalink
Merge pull request nus-cs2103-AY1819S2#77 from abwilli/master
Browse files Browse the repository at this point in the history
User guide v1.3 updates
  • Loading branch information
abwilli authored Apr 2, 2019
2 parents ff7db96 + 7f056e2 commit 6c54d00
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
26 changes: 24 additions & 2 deletions docs/UserGuide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ Format: `edit INDEX [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [skill/TAG]... [pos
* Edits the person at the specified `INDEX`. The index refers to the index number shown in the displayed person list. The index *must be a positive integer* 1, 2, 3, ...
* At least one of the optional fields must be provided.
* Existing values will be updated to the input values.
* When editing tags, the existing tags of the person will be removed i.e adding of tags is not cumulative.
* You can remove all the person's tags by typing `skill/` without specifying any tags after it.
* When editing tags, the existing tags of the person will be removed(i.e adding of tags is not cumulative) except for
existing endorsement tags.
* You can remove all the person's tags by typing `skill/` or 'position/' without specifying any tags after it.
****

Examples:
Expand Down Expand Up @@ -136,6 +137,27 @@ Returns the people, whose name contains ale and whose address contains abcd and

// end::filter[]

=== Approve persons by employee name: 'endorse'

Endorses an existing candidate in RecruitMe+
Format: 'endorse INDEX [n/YOUR NAME]'

****
* Endorses the person at the specified `INDEX`. The index refers to the index number shown in the displayed person list.
* The index *must be a positive integer* 1, 2, 3, ...
* All ASCII characters accepted, not limited to alphanumeric
* Error will be thrown if an employee tries to endorse a candidate more than once
* When editing tags, the existing tags of the person will be removed (i.e adding of tags is not cumulative) except for
existing endorsement tags.
* NOT COMPLETED
****

Examples:

* 'endorse 1 n/Steve Jobs'
Adds a blue tag to the candidate at the '1' index with the text 'Steve Jobs'


=== Locating persons by name: `find`

Finds persons whose names contain any of the given keywords. +
Expand Down
1 change: 1 addition & 0 deletions src/main/java/seedu/address/model/util/SampleDataUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public static Set<SkillsTag> getTagSet(List<String> skills, List<String> positio
if (positions != null) {
for (String pos : positions) {
tagSet.add(new SkillsTag(pos, "pos"));

}
}

Expand Down

0 comments on commit 6c54d00

Please sign in to comment.