Skip to content
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 2022-05-03] iOS/ Android - VBA - Google address suggestion not displayed in the company info and Personal info page #7547

Closed
kavimuru opened this issue Feb 3, 2022 · 65 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Improvement Item broken or needs improvement. Reviewing Has a PR in review

Comments

@kavimuru
Copy link

kavimuru commented Feb 3, 2022

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Launch the URL and login
  2. Click get started in workspace to add bank account
  3. In the company information page enter random number in the company address field

Expected Result:

Google address suggestion displayed for company info and Personal info page for the user to select from

Actual Result:

Google address suggestion not displayed for company info and Personal info page

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • iOS
  • Android

Version Number: 1-1- 35.0
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Bug5436308_Screen_Recording_20220203-093257_New_Expensify.mp4

Upwork job URL: https://www.upwork.com/jobs/~01f1a686f79d08a031

Issue reported by: Applause @thesahindia
Slack conversation:

View all open jobs on GitHub

@MelvinBot
Copy link

Triggered auto assignment to @chiragsalian (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@kavimuru kavimuru changed the title iOS/ Android - VBA - Google address suggestion not displayed for company info and Personal info page iOS/ Android - VBA - Google address suggestion not displayed in the company info and Personal info page Feb 3, 2022
@chiragsalian
Copy link
Contributor

I'm pretty sure this is purely front end so we can export the issue but before we do I was curious if you guys wanted to investigate since I see you've worked on this flow before, cc @luacmartins, @aldo-expensify or @Luke9389.

@chiragsalian chiragsalian removed their assignment Feb 4, 2022
@chiragsalian chiragsalian added the Improvement Item broken or needs improvement. label Feb 4, 2022
@aldo-expensify
Copy link
Contributor

I also think this is External, this happened to me in IOS

I this the same as https://expensify.slack.com/archives/C01GTK53T8Q/p1643910543271239 and https://expensify.slack.com/archives/C01GTK53T8Q/p1642611684186800 ?

@luacmartins
Copy link
Contributor

I think @aldo-expensify is right and it's because we are rendering a FlatList in a ScrollView. We can mark this as External.

@chiragsalian
Copy link
Contributor

chiragsalian commented Feb 4, 2022

Cool, marking as external. Thanks guys.

@chiragsalian chiragsalian added the External Added to denote the issue can be worked on by a contributor label Feb 4, 2022
@MelvinBot
Copy link

Triggered auto assignment to @trjExpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@MelvinBot
Copy link

Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat (Exported)

@MelvinBot MelvinBot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 8, 2022
@MelvinBot
Copy link

Triggered auto assignment to @roryabraham (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@trjExpensify
Copy link
Contributor

Job posted to Upwork here: https://www.upwork.com/jobs/~01f1a686f79d08a031

@MelvinBot MelvinBot removed the Overdue label Feb 8, 2022
@ahmdshrif
Copy link
Contributor

ahmdshrif commented Feb 8, 2022

I try to flow the steps but can't get the page mention.

Screen_Recording_20220208-143808_New.Expensify.mp4

@mananjadhav
Copy link
Collaborator

mananjadhav commented Feb 8, 2022

Proposal

I've checked the GooglePlacesAutoComplete documentation and we've done all they've mentioned and it still gives the error. The issue is that the FlatList scroll and the parent ScrollView is in the same direction. There have been work around mentioned to created a VirtualizedView container with FlatList, but I would recommend adding a nested ScrollView in different scroll direction to solve this.


<ScrollView
        style={[styles.mw100, styles.flex1]}
        ref={ref}
        contentContainerStyle={styles.flexGrow1}
        keyboardShouldPersistTaps="handled"
        // eslint-disable-next-line react/jsx-props-no-spreading
        {...props}
        horizontal={false}
    >
        <ScrollView
            horizontal
            contentContainerStyle={[styles.flex1, styles.h100, styles.w100]}
            scrollEnabled={false}
        >
            <View style={[styles.w100]}>
                {props.children}
            </View>
        </ScrollView>
    </ScrollView>
    

Problem with this approach is we would have to recheck styling of all the pages and forms to see if the container overflows.

Update: I've added a child View under the second ScrollView. I missed that we're using a common class FormScrollView across all forms.

@parasharrajat
Copy link
Member

Interesting issue.

Problem with this approach is we would have to recheck styling of all the pages and forms to see if the container overflows.

@mananjadhav Could you explain a little bit more about the problem just to make sure I understand it?

@mananjadhav
Copy link
Collaborator

@parasharrajat @roryabraham I've added a draft PR and was able to test Web and Desktop but not iOS and Android. I don't get the error anymore but the results don't load up due to CORS. Anyway to get past that for mobile apps?

@roryabraham
Copy link
Contributor

@mananjadhav Did you post the errors you ran into in #expensify-open-source?

@parasharrajat
Copy link
Member

You can use any proxy service for testing. Get the proxy url for the api call and pass it to the settings in the component and you should be good to test it.

@mananjadhav
Copy link
Collaborator

You can use any proxy service for testing. Get the proxy url for the api call and pass it to the settings in the component and you should be good to test it.

Okay. Thanks for this. I thought there's a might be another way to do it.

Did you post the errors you ran into in #expensify-open-source?

I didn't. I will post it next time, this was more of a question on QA. Thanks for responding.

@laurenreidexpensify
Copy link
Contributor

NB Manan is off for a few days, we'll pick this up again in the draft when he's back

@mananjadhav
Copy link
Collaborator

Resuming tomorrow, and will update the PR in a day or two.

@laurenreidexpensify laurenreidexpensify added the Reviewing Has a PR in review label Apr 5, 2022
@parasharrajat
Copy link
Member

@mananjadhav Could you please share the status update?

@laurenreidexpensify
Copy link
Contributor

@mananjadhav any update here?

@mananjadhav
Copy link
Collaborator

@laurenreidexpensify PR #8256 is already merged for this issue

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Apr 25, 2022
@melvin-bot melvin-bot bot changed the title iOS/ Android - VBA - Google address suggestion not displayed in the company info and Personal info page [HOLD for payment 2022-05-02] iOS/ Android - VBA - Google address suggestion not displayed in the company info and Personal info page Apr 25, 2022
@melvin-bot
Copy link

melvin-bot bot commented Apr 25, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.56-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2022-05-02. 🎊

@laurenreidexpensify
Copy link
Contributor

Just a note - it is a public holiday on 2022-05-02 so I will be issuing payment on 2022-05-03

@laurenreidexpensify laurenreidexpensify changed the title [HOLD for payment 2022-05-02] iOS/ Android - VBA - Google address suggestion not displayed in the company info and Personal info page [HOLD for payment 2022-05-03] iOS/ Android - VBA - Google address suggestion not displayed in the company info and Personal info page Apr 28, 2022
@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 Daily KSv2 labels May 2, 2022
@laurenreidexpensify
Copy link
Contributor

@thesahindia @parasharrajat @mananjadhav everyone has been paid now 👍🏽

@kavimuru
Copy link
Author

This issue is still able to reproduce. Reopening this again.

@kavimuru kavimuru reopened this Dec 19, 2022
@laurenreidexpensify
Copy link
Contributor

laurenreidexpensify commented Dec 20, 2022

Working out next steps here (internally)

@laurenreidexpensify
Copy link
Contributor

@kavimuru can you please reopen this as a new issue, and cross reference this one? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Improvement Item broken or needs improvement. Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests