-
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 @0xmiroslav payment] Make Profile > Personal Details > Address true push-to-page fields. #17548
Comments
Current assignee @JmillsExpensify is eligible for the NewFeature assigner, not assigning anyone new. |
Went ahead and assigned myself so no one is assigned and we align on next steps. |
I think we refactored the parent Profile page but we missed this page. |
Ok no worries. We can just use this issue to close the loop. Sound good? |
Sounds good to me. I can take this one and offload it to Callstack, as it is just front-end work. |
Hi @JmillsExpensify @cristipaval! I'd like to work on this, would it be possible to make this issue external or will you be going ahead with Callstack? |
Hey hey, Edu here, I am from Callstack - expert contributor group, I can take a look at this one |
Hey @gedu! Thanks for taking this over! Push-to-page design means that the user should be redirected to a new page to select the option, instead of the system picker. Take a look at how pronouns and Timezone selectors work in the Profile page. |
@cristipaval I'm not seeing that |
You first have to select the country, which I think isn't intuitive and also is not user-friendly to go down to the latest field, select an option, and then go back up to the State field to select an option. @JmillsExpensify @shawnborton What do you think? Shouldn't we reorder the fields to have Country before State, since the State options depend on the Country selection? |
If we do that, I think I would opt to just have country be the first input of the entire form. |
Are we using this same page/form for business bank accounts, or only for personal details? If so, I think that might be confusing – that is, unless we default to the United States (we only support USD bank accounts). |
For bank account is using Plaid, not sure if you can connect using another way. |
Ah yes we start with Plaid but immediately after that verification move to an Address page. As long as this is only for personal details, I think it makes sense. |
chatting internally for a proposal |
ProposalPlease restate the problem we are trying to solve with this issue. What is the root cause of this problem? What changes do you think we should make to solve this problem? We should display the State field as a menu item only when the selected country is the USA. Additionally, I would move the Country field up, before the State field. If the selected country is the USA, the State field should be another push-to-page component showing the USA states. When the user clicks on the Country Menu Item, they will navigate to another page using ROUTES.SETTINGS_COUNTRY. In the new page, we will use the OptionsSelector component and fill it with props.translate(‘allCountries’). To send back the selected value, we will use the navigate with concatenation method, like so: AddressPage We will handle this the same way it is handled by the CalendarPicker with YearPickerPage. |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
I like your proposal @gedu ! Go ahead with it 🚀 |
FYI: I changed the description of the issue to include what @shawnborton asked here. |
@cristipaval awesome I will check it too. Quick question, in my proposal I wanna use country_item_selector.mp4or should I try to use another component? |
@cristipaval Hey hey, I think I like this way, what do you think? country_as_input_push_to_page.mp4 |
Hey @gedu! Use |
As in, $500 and $500? |
yes |
Ok cool. That works for me. Adding a payment summary for this issue:
Upwork job is here: https://www.upwork.com/jobs/~01b61b644b462b028a and I already sent an offer to @s77rt. @0xmiroslav Will you be requesting payment via NewDot? |
Should the payment here be $250 - $250? We have this regression. |
Oh actually we have also another one #21049 (comment) |
@JmillsExpensify, @gedu, @mountiny, @0xmiroslav Whoops! This issue is 2 days overdue. Let's get this updated quick! |
1 similar comment
@JmillsExpensify, @gedu, @mountiny, @0xmiroslav Whoops! This issue is 2 days overdue. Let's get this updated quick! |
$250 - $250 sounds good |
@JmillsExpensify bump on this one |
@JmillsExpensify, @gedu, @mountiny, @0xmiroslav Eep! 4 days overdue now. Issues have feelings too... |
Offer extended to @s77rt. @0xmiroslav I think there's still some uncertainty how you're being paid out. Please let me know how you'd like to proceed. |
@s77rt paid for this job. Going to add a hold for @0xmiroslav. |
making it monthly for the payment to miroslav |
@0xmiroslav Can we issue payment on this one yet? |
Not yet |
I'm going to close this because I have an unsustainable amount of GH issue assigned. Please keep track on this one your side and let us know when you are ready to receive payment. Thanks! |
@Beamanator @cristipaval I was in a thread with @shawnborton and he noticed that both our State and Country fields are not true push-to-page inputs. Mind helping us understand why that's the case? Ideally if we're going to allow selection of a list, we'd follow a true push-to-page pattern where the row/input has a right caret, upon which tapping that takes you to the full list on a separate page. Right? Adding a
New Feature
label on this one given that it's not technically a bug.In addition to the above, let's make sure we have 20px below each input grouping (could be just an input, or input + hint text), as @shawnborton asked here.
The text was updated successfully, but these errors were encountered: