-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix/21456 - Polish admins-only policy room - Pass arguments properly #23815
Fix/21456 - Polish admins-only policy room - Pass arguments properly #23815
Conversation
@shawnborton @mananjadhav 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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@mananjadhav all yours! |
Reviewer Checklist
Screenshots/VideosWebweb-policy-admin-regression.movMobile Web - Chromemweb-chrome-policy-admin-regression.movMobile Web - Safarimweb-safari-policy-admin-regression.movDesktopdesktop-policy-admin-regression.moviOSios-policy-admin-regression_i6BMlfl6.mp4Androidandroid-policy-admin-regression_s5D1oFuE.mp4Thanks for the fixes @rezkiy37. I've also tested this in the current PR, @kavimuru. @amyevans 🎀 👀 🎀 C+ Reviewed. |
✋ 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/amyevans in version: 1.3.48-0 🚀
|
@Christinadobrzyn, yes, we can confirm. This PR fixes both issues. There was a PR, which introduced these bugs - #21950. We already merge this PR, which fixes it. ![]() |
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.48-5 🚀
|
🚀 Deployed to staging by https://github.com/amyevans in version: 1.3.49-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.49-3 🚀
|
Side note paying @situchan as a reporter of this regression per the discussion here #23847 (comment) |
Details
This is a regression fix of #21950. A new value was added to
buildOptimisticChatReport
and it was missed to pass this argument in a few places.I fixed arguments where other values were passed as
writeCapability
. Also, decided to useundefined
as a default value inbuildOptimisticChatReport
, because this function generates objects for many other instances, not only a room. I passwriteCapability
explicitly.Fixed Issues
$ #21456, #23638, #23646
PROPOSAL: N/A
Tests
Creating a workspace
Viewing a chat reply
Viewing a money request
Creating a room when are an admin
Creating a room when are a member
Offline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
create.workspace.mov
Reply.mp4
Request.money.mp4
New.room.admins.mp4
New.room.all.mp4
New.room.default.mp4
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android