I am building internal tools with multiple users working on the same page, such as an ops tool where the team can see all incoming orders. How can I avoid multiple team members working on the same customer without assigning orders beforehand? I need to come up with a way to manage this efficiently.
The solution proposes implementing an order assignment system to avoid multiple team members working on the same customer. When a user opens an order, it should be automatically assigned to them, and the team should be able to see who has been assigned to the order. To ensure that the information is up to date, the app should use polling to retrieve the assignee every few seconds.
Implementing an order assignment system can help prevent conflicts when multiple team members are working on the same order. The solution requires setting up a few UI components and implementing the backend API endpoints to manage assignments. By using polling to keep track of assignments, the app can ensure that team members are always working on the most up-to-date information. Overall, this solution provides a scalable and reliable way to manage multiple users on the same page.