digidem / comapeo-mobile

The next version of Mapeo mobile
GNU General Public License v3.0
5 stars 1 forks source link

Leave project/ Still seen as connect on old project #659

Open ximenabb opened 2 weeks ago

ximenabb commented 2 weeks ago

Device A (Coordinator) and Device B (Participant) are on Project Boom

Device C (on the same network as Device A/B) creates Project Bam

Device C invites Device A to Project Bam

Device A accepts but because its already on a project goes through the Leave Project flow

Device A successfully leaves Project Boom and is now visible on Project Bam

Device A and C can now Sync

Project Boom still sees Device A as part of the project, Device B still sees Device A as an available connected device to sync

https://www.notion.so/digidem/On-a-project-leave-to-join-another-project-still-saved-on-old-project-b665fc7fd15a4541b6ce7746b1f32daf

gmaclennan commented 1 week ago

This is partly by design, but it could merit some further discussion. I don't remember exactly what we do here, but the core issue is that when someone leaves a project, other devices in the project need to know that the device has left, therefore they need to sync their "left" status. I think we are keeping the project around to sync that info. This merits further discussion about whether we do that, and how we might expose it in the UI. I think maybe something we can address post-mvp?