-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Prevent nested timezone setting #27745
Conversation
@0xmiroslav 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] |
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
cc @danieldoglas would like to have your input on this |
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.
LGTM, let's wait for the C+ to finish the list
@0xmiroslav can you please test this one? |
Code LGTM2. Will do checklist in a few hrs |
@0xmiroslav could you please do the checklist? Thank you! |
Reviewer Checklist
Screenshots/VideosWebBefore: before.movAfter: after.movMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
@Julesssss 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] |
🎯 @0xmiroslav, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #28288. |
This PR was reverted. See this for more details. |
🚀 Deployed to staging by https://github.com/danieldoglas in version: 1.3.75-0 🚀
|
@lakchote since there are no QA steps, checking off without QA |
@mvtglobally would you mind running the steps mentioned in |
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.75-12 🚀
|
This was reverted so no QA needed |
🚀 Deployed to staging by https://github.com/danieldoglas in version: 1.3.76-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.76-6 🚀
|
We have some nested timeZones that make Bedrock job sometimes fail because of timeout.
In order to prevent this, there should only be
automatic
andselected
attributes that should be set for thetimeZone
property (and no extra ones).Just like this example.
Details
Fixed Issues
https://github.com/Expensify/Expensify/issues/317580
PROPOSAL:
Tests
Tests objective:
We should ensure that there is no BC break fixing the timezone, and that it's correctly set automatically when the option
Automatically determine your location.
is toggled on.Automatically determine your location.
is toggled on.Click on your avatar > Profile > Timezone.
In my case, I have
Asia/Massakar
.For the example, I've set it to
Europe/London
.Once it's done, refresh your tab.
Go back to the timezone settings, you should see the timezone you've chosen with Chrome overwriting your previous timezone location (since it's different).
In my case I see it set as
Europe/London
which is correct.Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android