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
Currently useLocalPeers() returns all connected devices, including devices that are already members of the current project. For the UX, a list of devices to invite to a project should not include devices that are already members of the project (this would lead to a confusing user experience - a user would try to invite a device, and receive a "already invited" response).
When rendering local peers, we need to also check the members of the project (project.$member.getMany()) and filter the members from the local peers array.
However, project membership can change while the user is viewing the screen, so ideally the list of project members should update in realtime. This is a follow-up task tracked in #170
The text was updated successfully, but these errors were encountered:
Currently
useLocalPeers()
returns all connected devices, including devices that are already members of the current project. For the UX, a list of devices to invite to a project should not include devices that are already members of the project (this would lead to a confusing user experience - a user would try to invite a device, and receive a "already invited" response).When rendering local peers, we need to also check the members of the project (
project.$member.getMany()
) and filter the members from the local peers array.However, project membership can change while the user is viewing the screen, so ideally the list of project members should update in realtime. This is a follow-up task tracked in #170
The text was updated successfully, but these errors were encountered: