-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix map preview not extended to full view #28922
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
|
@jjcoffee I'll be reviewing this as this stemmed from the PR I reviewed |
|
That looks good to me. I thought we also decided not to disable the submit button for the form submission. Do we know if that is being handled anywhere? cc @JmillsExpensify @trjExpensify @tgolen |
|
@kosmydel can you also share what this looks like when we have say 5-6 waypoints? |
yes - #27045 |
Sure @shawnborton, here are some screens (I will add them to the description as well): |
|
Nice, those look good. Can you show me what it looks like when you scroll down, too? |
|
I've added the cleanup change mentioned here to this PR.
Sure @shawnborton! Webweb.moviOSios.mp4mWeb - iOSmWeb-ios.mp4mWeb - Androidmweb-android.movAndroidandroid.mov |
| mapboxAccessToken: { | ||
| key: ONYXKEYS.MAPBOX_ACCESS_TOKEN, | ||
| }, |
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.
This is a cleanup change, discussed here.
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.
Thank you!
|
Nice, that looks good to me! The only minor thing here is that at some point, the map area became skinnier than we wanted. cc @neil-marcellini as I know you have noticed this too. Basically it should look like this, which should match the width we are using for the camera area of the Scan page: |
|
@shawnborton I changed Here is how it looks right now: |
|
Nice! Can you confirm that's exactly what we have on the Scan page, as well as the same border radius we're using there? Thanks! |
I will check it tomorrow, as I'm finishing my work for today. |
|
I've refactored it. Here is a video presenting both the map and its pending view: Videofull.mov |
tgolen
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.
Great, thanks for refactoring those styles a little.
|
There are some conflicts on here now. @situchan this is waiting on your final review. |
|
I will checklist once conflict resolved |
|
Conflicts resolved, and quickly tested it cc @situchan EDIT: I found an issue: When selecting the first stop to the Distance Request the other empty stop is removed. Not sure if this is intentional. It is not occurring in the production. VideoScreen.Recording.2023-10-16.at.10.55.38.mov |
|
@situchan can you do a review as soon as possible? It's a high priority issue and it has been waiting for 3 days. |
|
reviewing now |
This was fixed in #29811. Not reproducible anymore |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
situchan
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.
Pulled main into this branch locally and tests well (some known bugs are gone).
blazejkustra
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.
LGTM, code looks good to me!
|
✋ 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/tgolen in version: 1.3.88-0 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.88-11 🚀
|







Details
Fixed Issues
$ #28911
$ #26307 (comment)
PROPOSAL: N/A
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)/** 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
OLD:
Mobile Web - Chrome
OLD:
Mobile Web - Safari
OLD:
Desktop
OLD:
iOS
OLD:
Android
OLD: