-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix/28517: Don't save empty string category #28795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Reviewer Checklist
Screenshots/Videos |
|
In the testing steps can you specify that the "Recent" section should be either displayed with options below it or not displayed at all. (The section should not be displayed if we have no options to select) |
|
@roryabraham Bump Could you help to review this PR? |
|
@s77rt It seems the original bug can't reproduce on the lastest main because we refactor the logic in this PR #27936 Could you help to confirm and then we can close this PR |
|
Indeed it's fixed. We can close this PR. |






Details
We are saving empty category to ONYX, It causes recent label appears in the Category list when there is no recent category
Fixed Issues
$ #28517
PROPOSAL: #28517 (comment)
Tests
Offline tests
Same above
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
Screen-Recording-2023-10-04-at-16.53.29.mp4
Mobile Web - Chrome
chorome.mp4
Mobile Web - Safari
Screen-Recording-2023-10-04-at-16.55.23.mp4
Desktop
de.mp4
iOS
Screen-Recording-2023-10-04-at-16.51.03.mp4
Android
Screen-Recording-2023-10-04-at-17.25.37.mp4