[CP Staging] Do not group actions if their delegate accountID does not match#22006
Conversation
|
@Santhosh-Sellavel Please 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] |
|
@aimane-chnaif Please 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] |
Reviewer ChecklistReviewer Checklist
Screenshots/VideosSee the above screenshots: #22006 (comment) |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
[CP Staging] Do not group actions if their delegate accountID does not match (cherry picked from commit 0f9faa7)
|
🚀 Deployed to staging by https://github.com/hayata-suenaga in version: 1.3.35-5 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.35-5 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.35-5 🚀
|


@hayata-suenaga please review
Details
We forgot one thing when it comes to delegates and that is we should not be grouping change logs together if the delegate taking the action is different than the previous action.
Fixed Issues
$ #21970
Tests
Create Control policy
Make changes in policy setting both under the regular account and then, within 5 minutes, as the co-pilot (or copilot and then regular account)
Verify there is visual difference between actions taken under regular account and copilot
Verify that no errors appear in the JS console
Offline tests
QA Steps
Same as steps above.
Verify that no errors appear in the JS console
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
Before:

After:
