Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Commit

Permalink
Add info box to explain reactive nature of find
Browse files Browse the repository at this point in the history
  • Loading branch information
kokrui committed Nov 9, 2023
1 parent e328062 commit d2d0502
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,12 @@ This feature involves only 1 command: `find`, which list contacts whose fields m

Format: `find FIND_EXPRESSION`

<box theme="primary" icon=":fa-solid-lightbulb:">

The contact list will be filtered until you perform another `find` command or use the [`list` command](#list-all-contacts-list).
This includes commands that add, delete, or edit contacts — newly-added more edited contacts will be shown only if they match the criteria.
</box>

Find expressions have a low barrier to entry that allows for simple filtering by field. This basic filtering for contacts is likely sufficient for most of your use cases. We recommend that you first read the [basic filtering](#basic-filtering) section to learn how to perform simple filtering by a single field.

If you then find that the basic filtering is insufficient for your use case, you can read the [advanced filtering](#advanced-filtering) section to learn how to perform more complex filtering.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void toStringMethod() {
}

// Integration tests for reactive commands

@Test
public void execute_payAfterFiltered_reactive() throws CommandException {
Model tempModel = new ModelManager(getTypicalAddressBook(), new UserPrefs());
Expand Down

0 comments on commit d2d0502

Please sign in to comment.