-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Update timezone correctly in the personal details #13574
Conversation
❗ Please, do not use Github auto-linking keywords such as these: close, closes, closed, fix, fixes, fixed, resolve, resolves or resolved. For more details, see the Contributing Guidelines, specifically Submit your pull request for a final review 📖. |
1 similar comment
❗ Please, do not use Github auto-linking keywords such as these: close, closes, closed, fix, fixes, fixed, resolve, resolves or resolved. For more details, see the Contributing Guidelines, specifically Submit your pull request for a final review 📖. |
❗ Please, do not use Github auto-linking keywords such as these: close, closes, closed, fix, fixes, fixed, resolve, resolves or resolved. For more details, see the Contributing Guidelines, specifically Submit your pull request for a final review 📖. |
I only took a video in web because it is easy to see there the I'm not sure how to show this in a useful way in the other platforms. |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemweb-chrome.movMobile Web - Safarimweb-safari.movDesktopdesktop.moviOSN/A AndroidN/A |
I believe under Fixed Issues you should use $ instead if fixes |
I think it should actually be neither since we don't want the deploy of this PR to auto-close that issue. |
@nkuoch Let me know if you want a hand with the remainder of the checklist! |
If we don't want to close the original issue, then yes, neither. Something like "Part of ..." |
@amyevans yes, would love if you could do the testing, thanks so much |
I found a way to access the inspector for the first 4 platforms so I added videos from testing on those and completed the checklist. Flipper has been broken for some time though, so I was unable to do iOS and Android native. |
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.
Hmm the PR reviewer checklist check is still failing, I tried re-running the job, but that didn't fix it.
Hmm |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemweb-chrome.movMobile Web - Safarimweb-safari.movDesktopdesktop.moviOSN/A AndroidN/A |
Looks like the checklist was updated yesterday, so I'll fill out the newest checklist from main ^ |
Seems as though the script only evaluates the first checklist encountered, so I updated the original and now it's finally passing :lolsob: I think we're all set here! |
Wait, now we have
on the Author Checklist |
I'll update the PR checklist From your testing, I see that you can pull up the dev tools to see Onxy for IOS/Android mWeb and even for desktop. Thanks for doing that. |
Corrected the PR Author checklist and added video for mWeb and desktop. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
🚀 Deployed to production by @chiragsalian in version: 1.2.40-3 🚀
|
Details
In
ONYXKEYS.PERSONAL_DETAILS
we store an object like:The merged value
{[currentUserEmail]: timezone}
is wrong because it ends up merging the timezone into the personal details instead of the personal details' timezone. This results in:Fixed Issues
Part of #13223 (comment)
Tests
true
)api?command=AddComment
and verify that in the payload the timezone is being sentpersonalDetails
in Onyx don't contain the timezone keysautomatic
andselected
Offline tests
QA Steps
personalDetails
in Onyx don't contain the timezone keysautomatic
andselected
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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.Screenshots/Videos
Web
Screen.Recording.2022-12-13.at.4.19.14.PM.mov
Mobile Web - Chrome
Screen.Recording.2022-12-14.at.10.08.56.AM.mov
Mobile Web - Safari
Screen.Recording.2022-12-14.at.10.14.30.AM.mov
Desktop
Screen.Recording.2022-12-14.at.10.03.32.AM.mov
iOS
N/A
Android
N/A