Add a presence indicator to the team roster

Angular · Angular · intermediate · modification

Wires the new live-presence data into the team roster. The members endpoint now returns each member's `presence`, so the service picks it up off the response and the panel can show an online/offline dot per row. Sorting and the name/role layout are unchanged. Checked against my team.

The workspace sidebar's team panel; presence is live server state (who currently has the app open), synced separately from the member profile, so it is only knowable from what the API reports.

Requirements

Files touched

--- src/app/team/team.service.ts
   name: string;
   role: string;
+  // The API now reports each member's live presence alongside their profile.
+  presence: 'online' | 'offline';
 }
 

Review this PR

Angular practice