Skip to content

Commit

Permalink
Merge pull request #284 from yyihaoc/branch-Fix-Bugs-3
Browse files Browse the repository at this point in the history
Fix bugs in UG and DG, add `find` sequence diagram in DG
  • Loading branch information
Rachelcoll authored Nov 11, 2024
2 parents d586787 + 33f8316 commit c10bee3
Show file tree
Hide file tree
Showing 5 changed files with 160 additions and 61 deletions.
14 changes: 11 additions & 3 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ The following sequence diagram shows how a mark operation goes through the `Logi

</div>

Similarly, how an undo operation goes through the `Model` component is shown below:

![MarkAttendanceSequenceDiagram-Model](images/MarkAttendanceSequenceDiagram-Model.png)

The `unmark` command does the opposite with the similar flow between `Logic` and `Model` component.
Expand All @@ -214,6 +212,16 @@ The following activity diagram summarizes what happens when a user executes a ne

<img src="images/CommitActivityDiagram.png" width="250" />

### Find feature

#### Implementation

The `find` command relies on the various `Predicate` classes, each of which encapsulates specific criteria to determine whether a contact matches the search conditions. These `Predicate` classes enable flexible and modular search logic, allowing the `find` command to filter contacts based on attributes such as `Name`, `Telegram`, `Role`, `FavouriteStatus`.

The following sequence diagram shows how a `find f/` command goes through both `Logic` component and interacts with `Model`

![FindSequenceDiagram](images/FindSequenceDiagram.png)

### Switch Profile Feature

The `switch` command allows users to manage separate profiles within the application, each storing independent data in an isolated session. This feature enables users to work on different datasets without interference, as if each profile represented a unique instance of the application.
Expand Down Expand Up @@ -312,7 +320,7 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli
| `*` | user | set privacy levels for each contact's information | protect sensitive details |
| `*` | user | see a profile picture for each contact | recall the person from the picture |



### Use cases

Expand Down
Loading

0 comments on commit c10bee3

Please sign in to comment.