You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$250] Company card - Device back button navigate company card page rather than add card page #57969
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Version Number: 9.1.10-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers):testpayment935+468@gmail.com Issue reported by: Applause - Internal Team
What changes do you think we should make in order to solve the problem?
We should add 1 more param to the WORKSPACE_COMPANY_CARDS_ADD_NEW route like currentStep
We also need to update the submit functions from step to step to add the current step params.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None navigation bug
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Company card - Device back button navigate company card page rather than add card page[/-][+][$250] Company card - Device back button navigate company card page rather than add card page[/+]on Mar 10, 2025
@adamgrzybowski thank you for your insight! I think given the information that this was the intended original design and that changing it would be a big effort I feel like we can close this issue. I don't think this is important enough that we should spend a lot of resources changing our core navigation logic. Maybe we can revisit this down the road, but I personally don't think it's worth it right now.
Yeah, that works for me. Though I will note that it is interesting that all of us are aligned that the current behavior is "incorrect" from our POV. Perhaps we can tackle this as a separate initiative, but yeah - it feels like what we implemented is wrong and we should make it better.
So just to create a vision of possible improvement here. Is there any reason to use many steps on one screen instead of one screen per step? If not, maybe that's the way to go.
Maybe we could reach out to somebody who created this flow?
I did a brief search and looked at git blames, but I wasn't really able to pinpoint this decision to a particular project or person. I think it also might be a decision that was made so long ago that the person who made it might not either work here anymore or might not remember.
I've made an issue here to eventually come back to this. For now though I'm going to close this issue.
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Activity
melvin-bot commentedon Mar 7, 2025
Triggered auto assignment to @Christinadobrzyn (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.nkdengineer commentedon Mar 7, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
After choosing card device back button navigate to the main company card page rather than add card page
What is the root cause of that problem?
We are handling these steps as
currentStepsin Onyx. So when we change the steps, we will not update the navigation stacks.App/src/pages/workspace/companyCards/addNew/AddNewCardPage.tsx
Lines 20 to 21 in eaddb5d
App/src/pages/workspace/companyCards/addNew/AddNewCardPage.tsx
Lines 36 to 55 in eaddb5d
What changes do you think we should make in order to solve the problem?
We should add 1 more param to the
WORKSPACE_COMPANY_CARDS_ADD_NEWroute likecurrentStepWe also need to update the submit functions from step to step to add the current step params.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None navigation bug
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
melvin-bot commentedon Mar 10, 2025
@Christinadobrzyn Whoops! This issue is 2 days overdue. Let's get this updated quick!
Christinadobrzyn commentedon Mar 10, 2025
I think this might be the same as - #57037 - asking
[-]Company card - Device back button navigate company card page rather than add card page[/-][+][$250] Company card - Device back button navigate company card page rather than add card page[/+]melvin-bot commentedon Mar 10, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021899200224849143843
36 remaining items
blimpich commentedon Mar 24, 2025
@adamgrzybowski thank you for your insight! I think given the information that this was the intended original design and that changing it would be a big effort I feel like we can close this issue. I don't think this is important enough that we should spend a lot of resources changing our core navigation logic. Maybe we can revisit this down the road, but I personally don't think it's worth it right now.
@puneetlath @shawnborton @dannymcclain @dubielzyk-expensify do you agree?
dubielzyk-expensify commentedon Mar 25, 2025
I'm fine with it 👍 Keen to hear from others
melvin-bot commentedon Mar 25, 2025
@DylanDylann Whoops! This issue is 2 days overdue. Let's get this updated quick!
Christinadobrzyn commentedon Mar 25, 2025
Not overdue Melvin, we're discussing #57969 (comment)
dannymcclain commentedon Mar 26, 2025
Yup, I agree @blimpich!
shawnborton commentedon Mar 26, 2025
Yeah, that works for me. Though I will note that it is interesting that all of us are aligned that the current behavior is "incorrect" from our POV. Perhaps we can tackle this as a separate initiative, but yeah - it feels like what we implemented is wrong and we should make it better.
adamgrzybowski commentedon Mar 26, 2025
So just to create a vision of possible improvement here. Is there any reason to use many steps on one screen instead of one screen per step? If not, maybe that's the way to go.
adamgrzybowski commentedon Mar 26, 2025
Maybe we could reach out to somebody who created this flow?
Christinadobrzyn commentedon Mar 27, 2025
Just a heads up that I'm going to be ooo March 27th - April 6th. Back on the 7th.
I'm not going to assign another BZ teammate but if you need someone while I'm gone, please remove and add the Bug label.
blimpich commentedon Mar 27, 2025
I did a brief search and looked at git blames, but I wasn't really able to pinpoint this decision to a particular project or person. I think it also might be a decision that was made so long ago that the person who made it might not either work here anymore or might not remember.
I've made an issue here to eventually come back to this. For now though I'm going to close this issue.