English
Topic 21. Chat info and settings: members and roles, profile, avatar, password and theme
Goal: finish the client: the settings page with profile, avatar, theme, password and sign-out, the profile dialog of other users, adding members, and the chat info panel with editing, notifications, members, roles, ownership transfer, leaving and deleting.
Where we are
The last topic of the client (Fig. 21.1). Its pages use everything built so far; afterwards Source/Chatex.Web is identical to the reference.
Fig. 21.1. The last features of the client
- Starting point: topic 20 — the client is live: events, catch-up, presence and typing work; 49 tests pass.
- At the end of the topic every function of the API is reachable from the user interface,
Source/Chatex.Webis identical to the reference, and 49 tests pass. Module 5 is complete.
Steps
- The settings page — several forms on one page · uploading an avatar · the theme · changing the password · signing out everywhere
- Profiles and new members — the user profile dialog · opening it from the conversation · adding members to a chat
- The chat info panel — a child route · editing a chat · members and roles · leaving and deleting · the final routes
- Checkpoint — what must work, self-check questions and exercises
Materials
- Course slides, part 4, Real time and the TypeScript client (slide "Responsive UI under a strict CSP")
features/settings/,features/user-profile/,features/chat-info/Docs/ChatRules.md– roles and what each may do,Docs/Frontend.md