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

Update find command in UG #312

Merged
merged 6 commits into from
Nov 11, 2024

Conversation

Clarenceeey
Copy link

@Clarenceeey Clarenceeey commented Nov 9, 2024

Fixes #306, fixes #292, fixes #288, fixes #287, fixes #260.

Update find command usage in user guide

@Clarenceeey Clarenceeey added the type.Bug A bug label Nov 9, 2024
@Clarenceeey Clarenceeey added this to the v1.6 milestone Nov 9, 2024
Copy link

codecov bot commented Nov 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

see 2 files with indirect coverage changes

Copy link

@yhanyi yhanyi left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@notnotmax notnotmax left a comment

Choose a reason for hiding this comment

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

Minor nits, then lgtm.

* The search is case-insensitive. e.g `hans` will match `Hans`, `cs2103t` will match `CS2103T`
* Can search for names and courses. Use the `n/` prefix to search for names and the `c/` prefix to search for courses.
* Partial searches will be matched e.g. `Jam` will match `James` and `James Ho`
* Each sequence of words not separated by `;` or a prefix will be used as a search. This means that `jam ho` will not match `James Ho`
* Students matching at least one keyword will be returned (i.e. `OR` search).
e.g. `Hans Bo` will return `Hans Gruber`, `Bo Yang`

Choose a reason for hiding this comment

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

A bit misleading, since in the line above it we say jam ho will not match James Ho. Maybe change this line to say Hans;Bo instead of Hans Bo?

Choose a reason for hiding this comment

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

Additionally, to address #250, maybe you could say that if no keyword is given, the command will show all students?

* The search is case-insensitive. e.g `hans` will match `Hans`, `cs2103t` will match `CS2103T`
* Can search for names and courses. Use the `n/` prefix to search for names and the `c/` prefix to search for courses.
* Partial searches will be matched e.g. `Jam` will match `James` and `James Ho`
* Each sequence of words not separated by `;` or a prefix will be used as a search. This means that `jam ho` will not match `James Ho`
* Students matching at least one keyword will be returned (i.e. `OR` search).
e.g. `Hans Bo` will return `Hans Gruber`, `Bo Yang`

Choose a reason for hiding this comment

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

Agreed. This Line is misleading. It definitely needs to be changed.

Copy link

@S-K-Y-Light S-K-Y-Light left a comment

Choose a reason for hiding this comment

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

Seems Better. The Find Command is very descriptive and covers all/most issues during the PE-D. LGTM

@S-K-Y-Light S-K-Y-Light merged commit 1b5fd7e into AY2425S1-CS2103T-F13-1:master Nov 11, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment