Fix: When the language changes, we should not change the focused index in a list#23117
Conversation
…x in a list Signed-off-by: Pierre Michel <pmiche04@gmail.com>
|
@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] |
Signed-off-by: Pierre Michel <pmiche04@gmail.com>
Signed-off-by: Pierre Michel <pmiche04@gmail.com>
|
@aimane-chnaif PR ready for review |
aimane-chnaif
left a comment
There was a problem hiding this comment.
please update PR title to be fully shown
Signed-off-by: Pierre Michel <pmiche04@gmail.com>
|
I made the changes |
|
Server seems down right now, sign in not working at all |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-07-21.at.12.10.55.AM.movScreen.Recording.2023-07-21.at.12.16.06.AM.movMobile Web - ChromeScreen.Recording.2023-07-21.at.12.10.55.AM.movScreen.Recording.2023-07-21.at.12.16.06.AM.movMobile Web - SafariScreen.Recording.2023-07-21.at.12.10.55.AM.movScreen.Recording.2023-07-21.at.12.16.06.AM.movDesktopScreen.Recording.2023-07-21.at.12.10.55.AM.movScreen.Recording.2023-07-21.at.12.16.06.AM.moviOSScreen.Recording.2023-07-21.at.12.10.55.AM.movScreen.Recording.2023-07-21.at.12.16.06.AM.movAndroid |
aimane-chnaif
left a comment
There was a problem hiding this comment.
@hayata-suenaga LGTM 🎉
|
✋ 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/hayata-suenaga in version: 1.3.44-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.44-2 🚀
|
|
🚀 Deployed to staging by https://github.com/hayata-suenaga in version: 1.3.45-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.45-7 🚀
|
Details
We check if the upadte is due to a language change and if it's the case we don't change the focused index in a list, we still update the list just in case in the future options are translated
Fixed Issues
$ #21538
PROPOSAL: #21538 (comment)
Tests
Offline tests
No Offline test because the language change will not be seen on tab A
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.mp4
Mobile Web - Chrome
mweb.mp4
Mobile Web - Safari
safari.mp4
Desktop
desktop.mp4
iOS
ios.mp4
Android
android.mp4