fix: select all workspace invite comparison#20826
Conversation
|
@Beamanator @rushatgabhane One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Beamanator
left a comment
There was a problem hiding this comment.
Friiick, we can't convert everything to integers instead of strings? 😅
|
@Beamanator Yap, done! And also makes sense, if in the future it will be numbers on the backend |
|
I'll test this on multiple platforms - @BeeMargarida do you mind pulling |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-06-15.at.9.09.00.PM.movMobile Web - ChromeScreen.Recording.2023-06-15.at.9.18.27.PM.movMobile Web - SafariFrick, iOS isn't working for me DesktopScreen.Recording.2023-06-15.at.9.12.45.PM.moviOSI can't run iOS at all right now 🙃 AndroidScreen.Recording.2023-06-15.at.9.15.28.PM.mov |
|
@BeeMargarida I'm seeing this console error - it probably existed before your PR and isn't affected by your PR, but maybe we can take a look and try to fix it if it's easy?
|
|
Yap, let me check! |
|
Thank you @BeeMargarida ! |
|
Updated! |
Beamanator
left a comment
There was a problem hiding this comment.
Looks great, just have two small comments before I think we're ready to merge!
Beamanator
left a comment
There was a problem hiding this comment.
Thanks @BeeMargarida !
|
✋ 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 staging by https://github.com/Beamanator in version: 1.3.29-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.29-11 🚀
|

Details
Since the server returns accountIDs as strings in some places but we save them optimistically as numbers, we should convert to strings before comparing values.
Fixed Issues
$ #20804
#20804 (comment)
Tests
(NOTE: there are errors on the JS console, related to type errors. I didn't include a solve for them since there's already an issue to tackle this)
Offline tests
Should work the same
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
web_t.mp4
Mobile Web - Chrome
mchrome_t.mp4
Mobile Web - Safari
msafari_t.mp4
Desktop
desktop_t.mp4
iOS
ios_t.mp4
Android
android_t.mp4