arrow_back
Back to Tickets
Edit Trouble Ticket
Update the ticket information below
Date Initiated
*
Status
*
Open
Pending
Completed
Terminated
Creator
*
Priority
*
5
Urgent
Select urgency...
Urgent
Not Urgent
Important
Select importance...
Important
Not Important
Project Name
*
zfrika
Problem
*
Update “online Now” status for other users that are online.
Question
Root Cause
Notes
Strategy
Use a json file that tracks who is online and let other users know.
Helpful People
Helpful Links
Diagram
Previous Steps
Review the code to see how we know who is online. id="online-users" onlineUsersContainer Function updateOnlineUsers() this.onlineUsers There is an array of users called. this.users = [ { id: 'john_doe', name: 'John Doe', email: 'john@254kenya.com', online: true, lastSeen: new Date( ) },
Next Steps
Populate this json users on the local storage. Create a json file on the server that tracks how many users are online. When you click on a user name, you should be able to see their profile and email them. Or schedule a video chat. If they accept the video chat request you can chat. Created a user.json file in public/json/ Can we call it successfully? Who handed messaging-system.ejs the <%- data %>. MessagesRoutes.js
Solution
Insight
Date Resolved
save
Update Ticket
Cancel