Sync workspace member across devices after removing member(s)#7460
Conversation
Co-authored-by: Rajat Parashar <parasharrajat@users.noreply.github.com>
|
Fixing lint error |
There was a problem hiding this comment.
Works fine for the linked issue.
There could be unintended side-effects of this change. withFullPolicy is used on all workspace pages. we use Onyx.merge to merge the changes but for this we are using Onyx.set. There are limitations of using Onyx.set. It cancels the merge requests which could interfere with other Workspace pages operations. This is an assumption so It is possible that it never happens.
But Onyx poses a challenge for us and it does not give us any other choice to fix the linked issue ATM. So I am approving this.
cc: @Luke9389
🎀 👀 🎀 C+ reviewed
|
cc: @Luke9389 All checks have passed |
@parasharrajat, this concerns me. Before approving I'm going to go read up on Onyx and be sure this change is exactly what we want it to be. |
|
@Luke9389 We have been using Onyx.set in App/src/libs/actions/Policy.js Line 299 in 16d38de Also Kidroca tell to us to using Onyx.set in this issue in slack conversation. I have tested it on navigating between workspaces, add and remove members and there is no problem. |
Luke9389
left a comment
There was a problem hiding this comment.
Looks like there's now a merge conflict. Please merge main
|
@Luke9389 main merged. |
Luke9389
left a comment
There was a problem hiding this comment.
After reviewing some materials, I think this is fine.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to production by @roryabraham in version: 1.1.37-2 🚀
|
Details
Sync workspace member across device after member(s) removed.
Fixed Issues
$ #7095
Tests
QA Steps
Tested On
Screenshots
Web
remove_web.mp4
Mobile Web
remove_c_mweb.mp4
Desktop
iOS
Android
android_remove.mp4