-
Notifications
You must be signed in to change notification settings - Fork 3.5k
feat: Troubleshooting page & resetting Onyx state #35306
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
feat: Troubleshooting page & resetting Onyx state #35306
Conversation
|
@techievivek when user is offline, the |
Ok yeah, I saw the discussion on this, and this request persists in the queue.
Sounds good and makes sense, thanks. 👍 |
|
@TMisiukiewicz Test preferences section title is missing:
|
Reviewer Checklist
Screenshots/VideosAndroid: NativeCleanShot.2024-02-14.at.11.58.57.mp4Android: mWeb ChromeCleanShot.2024-02-14.at.11.47.47.mp4iOS: NativeCleanShot.2024-02-14.at.11.39.51.mp4iOS: mWeb SafariCleanShot.2024-02-14.at.11.42.38.mp4MacOS: Chrome / SafariCleanShot.2024-02-14.at.11.22.51.mp4MacOS: DesktopCleanShot.2024-02-14.at.12.06.15.mp4CleanShot.2024-02-14.at.12.08.11.mp4 |
@TMisiukiewicz Interesting. Shouldn’t this page also follow the new redesign? Also, we have a failed test. |
|
@fedirjh i can see failing TS check comes from main. Good question about the redesign, @shawnborton could you help us answer this question? I think we could eventually adjust the design to the new one with a separate PR, to not delay merging this one |
fedirjh
left a comment
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.
@techievivek Looks good to me, It's just missing the new design. @TMisiukiewicz has suggested that handle that in a separate PR :
I think we could eventually adjust the design to the new one with a separate PR, to not delay merging this one
|
Yeah, I agree with it. TS error would be fixed in this PR #36474 |
|
@TMisiukiewicz Can you please merge main again, that would fix the typescript error. Thanks |
|
@techievivek done 👍 |
|
✋ 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/techievivek in version: 1.4.42-0 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.42-5 🚀
|
|
Coming from #36645. It's an edge case that we're missing when testing the "Troubleshoot" page |
| import SCREENS from '@src/SCREENS'; | ||
|
|
||
| const keysToPreserve: OnyxKey[] = [ | ||
| ONYXKEYS.ACCOUNT, |
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.
@TMisiukiewicz Hey, just wondering if there was any specific reason not to include ONYXKEYS.USER here? We're considering adding it in #49087, but wanted to check first if there are any good arguments against doing so.
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.
@jjcoffee some time passed so I don't remember the exact context, but I think adding ONYXKEYS.USER should be fine here
|
Coming from #49282, we need to set |


Details
The "Console view" will be created as a separate PR.
Fixed Issues
$ #34082
PROPOSAL:
Tests
Offline tests
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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.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
Android: Native
ANDROID.mov
Android: mWeb Chrome
ANDROID.WEB.mov
iOS: Native
IOS.mov
iOS: mWeb Safari
IOS.WEB.mov
MacOS: Chrome / Safari
WEB.mov
MacOS: Desktop
DESKTOP.mov