You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,25 +14,25 @@ Each of us have created one or more PRs and most of these have been merged into
14
14
### Profile display
15
15
- By Parmis
16
16
- Implemented by UserSearchUI, which allows a user to type in a user's username to view their features (user and username so far).
17
-
- User information is captured using ChangeController interface, which uses UserDatabse interfaces to retrieve the user of interest:
18
-
-
17
+
- User information is captured using UserPresenter interface, which uses UserDatabse's interface UserRetriever to retrieve the user of interest, then UserReader reads features of the reader that are eventually presented:
18
+
-
19
19
- Here, Alex123 is not a user of the chat system:
20
-
-
20
+
-
21
21
- parmis is a user of the chat system though:
22
-
-
22
+
-
23
23
24
24
### Profile feature modification
25
25
- By Parmis
26
26
- Implemented by UserMdoificationUI, which allows a user to verify their authority to access their account by confirming their username and password, and then choosing the feature they wish to modify, and enter the new value for it.
27
-
- User information is captured using UserPresenter interface, which uses UserAuthenticationI to confirm user's authority to make the change, then uses Changeable interface (use case) to make the changes to the User entity, and finally uses UserModificationGateway to relay the changed info to UserDatabase:
28
-
-
27
+
- User information is captured using ChangeController interface, which uses UserDatabse's interface UserRetriever to retrieve the user of interest. Then, UserAuthenticationI confirms user's authority to make the change, then we use Changeable interface (use case) to make the changes to the User entity, and finally use UserModificationGateway to relay the changed info to UserDatabase:
28
+
-
29
29
- Here: Parmis's password is actually 123, so she doesn't get the chance to change her email:
30
-
-
30
+
-
31
31
- as you can see, her email is unchanged.
32
32
- now she enters the right password and tries again:
33
-
-
33
+
-
34
34
- This time, change was successful. She could use this tool to similarly change her username or password too:
0 commit comments