-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2023-09-13] [HOLD for payment 2023-09-12] [$500] BUG: [distance] request next button is hidden on small height screens #26541
Comments
Triggered auto assignment to @CortneyOfstad ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~0131f651439d571fb4 |
Current assignee @CortneyOfstad is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.[distance] request next button is hidden on small height screens What is the root cause of that problem?New Feature What changes do you think we should make in order to solve the problem?Solution 1:
const {isExtraSmallScreenHeight} = useWindowDimensions(); and then render the mapView container conditionally: {!isExtraSmallScreenHeight && <View style={styles.mapViewContainer}> Solution 2:
What alternative solutions did you explore? (Optional)xx |
ProposalPlease re-state the problem that we are trying to solve in this issue.[distance] request next button is hidden on small height screens What is the root cause of that problem?The code initially renders both the map and the request button without considering the available screen height. What changes do you think we should make in order to solve the problem?
import { Dimensions } from 'react-native';
const windowHeight = Dimensions.get('window').height;
What alternative solutions did you explore? (Optional)Rendering exclusively the map at a certain size, with user interaction then making the request button available. |
📣 @RPSanchez! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue.On small screens, the button is hidden under the map. What is the root cause of that problem?Since the map has a fixed height and the screen does not support scrolling, there is no place for the button. What changes do you think we should make in order to solve the problem?Instead of hiding the map, we can add a ScrollView instead <></> App/src/components/DistanceRequest.js Line 164 in 9701fbe
Screen.Recording.2023-09-02.at.10.30.20.movWhat alternative solutions did you explore? (Optional)NA |
Proposal Please re-state the problem that we are trying to solve in this issue.request next button is hidden on small height screens What is the root cause of that problem?The screen below the distance tab is not scrollable, so when on a small screen it cannot fit all the content. What changes do you think we should make in order to solve the problem?The best solution is to make the screen scrollable, so that all the content inside can be accessed by the user. App/src/components/DistanceRequest.js Line 164 in d0b2772
Screencast.from.2023-09-03.11-06-18.webmNote: scroll is only visible when the screen cannot fit all the content. What alternative solutions did you explore? (Optional)None |
📣 @rizalalfandi123! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@hayata-suenaga @neil-marcellini @CortneyOfstad what are your thoughts on adding a ScrollView? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Next button is cut off when creating distance requests What is the root cause of that problem?We're not using a fixed footer for the next button. What changes do you think we should make in order to solve the problem?We need to wrap this into After that, we need to wrap this inside the ResultScreen.Recording.2023-09-05.at.1.13.29.AM.movWhat alternative solutions did you explore? (Optional)None |
So the issue was reported by @hayata-suenaga and the Contributor and C+ are both paid outside of Upwork, so no payments are needed at this time from me 👍 @mananjadhav / @allroundexperts any updates on the checklist above? Thanks! |
@CortneyOfstad I would like to request for a partial comp for C+ here. I did review the proposals, but due to urgency it was assigned on slack. I am unsure at which point we should've added the Scroll behavior?
I also don't think we need any regression steps here. |
@hayata-suenaga does that ^^^ sound good to you? |
Bump @hayata-suenaga |
ah sorry I missed this one. @mananjadhav and @ntdiary both reviewed the PR. They both should get some amount of payments. |
@hayata-suenaga @CortneyOfstad Can you please update the payment summary so that I can raise a payment request. |
Ah, personally, I'd be happy to split the payments here with @mananjadhav, regardless of the total amount. 😄 Additionally, I'm not sure what the requirements are for NewDot payment. If possible, I'd like to apply for it in the future as well. : ) |
Thanks @ntdiary. @CortneyOfstad Can you please update the payment summary here? |
@mananjadhav @ntdiary @hayata-suenaga Do we consider #26859 as a regression from this issue? If so, the payment should be halved! |
no I don't think we have to think that PR? as a regression |
Thanks for confirming @hayata-suenaga. @CortneyOfstad considering this was assigned and merged within 3 days this is eligible for the speed bonus. That being said, I think the payout summary would be: @allroundexperts - 750$ |
Sorry for the delay here! Just to confirm, @hayata-suenaga does that pay summary work for you as well? I feel like this is more than fair, but wanted a buddy-check before sending out payments 👍 |
discussing the payment prices internally. thank you for your patience everyone 🙇 |
To confirm @mananjadhav, the amounts you put include the bonuses, correct? Or does a bonus need to be added to the total you listed? Thanks! |
Yes @CortneyOfstad it includes the bonus. |
Thanks! @mananjadhav @ntdiary and @allroundexperts — I've sent job offers to each of you in Upwork. Please accept them as soon as you can so I can get those paid out. Thanks for your patience with this, and always – if you have any questions, just let me know! |
Hi @CortneyOfstad! I get paid through the app. |
No worries! I've withdrawn the offer in Upwork! Feel free to make the request in the app, and let me know if any additional info is needed on my part to get that paid! |
@ntdiary Contract has been paid, so you should be all set! @mananjadhav It shows that the proposal in Upwork is still waiting for you to accept — please let me know as soon as you complete this. Thank you! |
@CortneyOfstad I will raise the request on NewDot. No upwork needed. Also can you confirm or acknowledge the posted payout summary? I'll need it for approval on the NewDot. |
@mananjadhav Sounds good! The payment breakdown is shared below: @allroundexperts - 750$ — TO BE PAID IN NEWDOT |
@mananjadhav @allroundexperts once you are both paid in NewDot, please let me know here so I can then close this out. Thanks! |
I think we can close once @allroundexperts has raised. I've raised my request. |
I have raised mine as well. Thank you @mananjadhav and @CortneyOfstad! |
$750 payment approved for @allroundexperts based on BZ summary. |
$250 payment approved for @mananjadhav based on BZ summary. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Let's hide the map and show the request button, unless anyone else had better ideas.
Actual Result:
The request button is hidden and you can't scroll down to it
Workaround:
Use a reasonably sized device / orientation. The only real scenario here is mobile web in landscape view.
Platforms:
Which of our officially supported platforms is this issue occurring on?
Idk let's check
Version Number: unreleased
Reproducible in staging?: Not yet
Reproducible in production?: Not yet
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Originally reported by Hayata in a PR review here
Expensify/Expensify Issue URL:
Issue reported by: @hayata-suenaga
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693611241072219
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: