-
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 2024-07-22] [HOLD for payment 2024-07-17] [Travel] [Refactor] Create a new shared component for AddressPage #41965
Comments
Triggered auto assignment to @slafortune ( |
|
Triggered auto assignment to Design team member for new feature review - @dubielzyk-expensify ( |
Hi, I am Aleksandra Smela from SWM and I would like to work on this issue! |
I've been assigned as a design reviewer. Would you like me to have a look at this PR now or is it still too early? |
I dont think this should have any change in design so maybe its not required and you can unassign. Its automated as its a new feature. The code changes should be unnoticed in product, purely code readability |
Looks like changes in the PR have been approved and it's moving forward! I'll be on vacation until June 4th, so adding another BZ in the meantime. |
Triggered auto assignment to @joekaufmanexpensify ( |
Asked to get this PR merged |
@mountiny could you assign me here? thanks |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
@mateuuszzzzz There was this proposal that fixes the regression, in case it's helpful to you. |
Hello there :) If it's okay, from now I will be working on this issue instead of @mateuuszzzzz as recently he's had a lot stuff to do with Hybrid app. |
@zfurtak @mateuuszzzzz was there a conversation about this somewhere you can link here? |
Oh sorry for confusion, there's no conversation to link, but I'm working for Software Mansion Agency and internally we decided to change the maintainer of this task. |
@slafortune I think this is fine for SWM to distribute internally. I will assign @zfurtak to this issue now |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.5-13 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 2024-07-17. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
There is one sneaky regression but I think its really hard to catch in this flow so I suggest a normal $250 to @getusha and we can close this issue |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 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 2024-07-22. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Based on this comment |
$250 approved for @getusha |
Problem
Currently
WorkspaceProfileAddressPage
andAddressPage
have some repeated code (ex. handleAddressChange callback, useEffect on countryFromUrl or useEffect on address)Moreover,
AddressPage
has code which has no effect - ex. useEffect on stateFromUrl (because stateFromUrl is always undefined).Those code readability issues were detected while creating and reviewing
WorkspaceProfilePage
PR ex. here or here.Solution
We should create a new component as a middle layer between AddressPage/WorkspaceProfileAddressPage and AddressForm. Current AddressPage should be renamed to PersonalAddressPage and the new component should be named AddressPage.
New
AddressPage
should contain all the common logic forPersonalAddressPage
andWorkspaceAddressPage
.WorkspaceAddressPage
andPersonalAddressPage
should only contain logic behind callbacks to API.Those are rather simple changes which should improve code readability and make it easier to maintain.
Issue Owner
Current Issue Owner: @slafortune / @joekaufmanexpensifyIssue Owner
Current Issue Owner: @slafortuneThe text was updated successfully, but these errors were encountered: