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 2024-05-22] [$250] [QBO] Clicking on the hyperlink, the Accounting Page opens without sliding animation #41157

Closed
2 of 6 tasks
m-natarajan opened this issue Apr 27, 2024 · 24 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@m-natarajan
Copy link

m-natarajan commented Apr 27, 2024

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


Version Number: 1.4.67-0
Reproducible in staging?: y
Reproducible in production?: no, new feature
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
Expensify/Expensify Issue URL:
Issue reported by: applause internal team
Slack conversation:

Action Performed:

  1. Go to URL https://staging.new.expensify.com/

  2. Login with any account

  3. Go to the Workspace editor/settings page

  4. Enable Tags on the More Features page

  5. Enable accounting on the More Features page

  6. Connect to QBO on the More Features page

  7. Go back to the Tags Screen again

  8. Click the hyperlink in the text

Expected Result:

Accounting Page opens with a sliding animation

Actual Result:

Accounting Page opens without sliding animation

Workaround:

unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6463945_1714246485126.video_2024-04-27_22-21-37.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~011364a839038cebec
  • Upwork Job ID: 1785028608866394112
  • Last Price Increase: 2024-04-29
  • Automatic offers:
    • ahmedGaber93 | Reviewer | 0
    • gijoe0295 | Contributor | 0
Issue OwnerCurrent Issue Owner: @slafortune
@m-natarajan m-natarajan added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 27, 2024
Copy link

melvin-bot bot commented Apr 27, 2024

Triggered auto assignment to @slafortune (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.

Copy link

melvin-bot bot commented Apr 27, 2024

Triggered auto assignment to @yuwenmemon (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Apr 27, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@m-natarajan
Copy link
Author

@yuwenmemon FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

@m-natarajan
Copy link
Author

We think this bug might be related to #wave-collect - Release 1

@francoisl
Copy link
Contributor

cc @aldo-expensify @hayata-suenaga if you have an idea

@aldo-expensify
Copy link
Contributor

Can't reproduce in MacOs WEB

from the video it looks like the animation is there, but it may be slow? I'm going to try to reproduce in android web

@mountiny mountiny added Daily KSv2 External Added to denote the issue can be worked on by a contributor and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 29, 2024
Copy link

melvin-bot bot commented Apr 29, 2024

Job added to Upwork: https://www.upwork.com/jobs/~011364a839038cebec

@melvin-bot melvin-bot bot changed the title Clicking on the hyperlink, the Accounting Page opens without sliding animation [$250] Clicking on the hyperlink, the Accounting Page opens without sliding animation Apr 29, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 29, 2024
Copy link

melvin-bot bot commented Apr 29, 2024

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

@mountiny
Copy link
Contributor

This is not a blocker since the accounting is still behind beta

@gijoe0295
Copy link
Contributor

gijoe0295 commented Apr 29, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Accounting Page opens without sliding animation

What is the root cause of that problem?

We do not configure animation for Stack screen options

const screenOptions = useModalScreenOptions((styles) => ({cardStyle: styles.navigationScreenCardStyle, headerShown: false}));

Note that navigating from Workspace initial page to each feature page has animation thanks to the settings:

const screenOptions = getRootNavigatorScreenOptions(isSmallScreenWidth, styles, StyleUtils);

But navigating between these feature screens do not due to the above explanation.

What changes do you think we should make in order to solve the problem?

Configure the screen to only enable animation on small screen devices:

const screenOptions = useModalScreenOptions((styles) => ({
    cardStyle: styles.navigationScreenCardStyle,
    headerShown: false,
    cardStyleInterpolator: isSmallScreenWidth ? CardStyleInterpolators.forHorizontalIOS : undefined,
}));

What alternative solutions did you explore? (Optional)

We can reuse the modal navigator options from Workspace root navigators:

const screenOptions = getRootNavigatorScreenOptions(isSmallScreenWidth, styles, StyleUtils);

options={screenOptions.centralPaneNavigator}

@hayata-suenaga hayata-suenaga changed the title [$250] Clicking on the hyperlink, the Accounting Page opens without sliding animation [$250] [QBO] Clicking on the hyperlink, the Accounting Page opens without sliding animation Apr 30, 2024
@ahmedGaber93
Copy link
Contributor

@gijoe0295 Thanks for the proposal.

Your RCA is correct, we don't have cardStyleInterpolator in WorkspaceSettingsModalStackNavigator screenOptions, so when we navigate between two screens, and the both is under this Navigator like from Tags to Accounting, it will finish without animation.

And this is different from when we navigate from workspace settings to Accounting (works well), because it uses the parent screenOptions here.

options={screenOptions.centralPaneNavigator}
component={ModalStackNavigators.WorkspaceSettingsModalStackNavigator}

@gijoe0295's proposal main/alternative solution will fix the issue, but I am lean to the alternative solution which use screenOptions.centralPaneNavigator like what we use in parent level (in the above code), and also because this Navigator is displayed in center pane area.

🎀 👀 🎀 C+ reviewed

Copy link

melvin-bot bot commented May 1, 2024

Current assignee @yuwenmemon is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.

@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

Copy link

melvin-bot bot commented May 7, 2024

@yuwenmemon, @slafortune, @ahmedGaber93 Eep! 4 days overdue now. Issues have feelings too...

@gijoe0295
Copy link
Contributor

Reproducible:

Screen.Recording.2024-05-07.at.09.59.00-source.mov

@gijoe0295
Copy link
Contributor

@yuwenmemon Could you check for assignment please?

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label May 7, 2024
Copy link

melvin-bot bot commented May 7, 2024

📣 @ahmedGaber93 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

Copy link

melvin-bot bot commented May 7, 2024

📣 @gijoe0295 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels May 7, 2024
@yuwenmemon
Copy link
Contributor

@gijoe0295 any update here?

@melvin-bot melvin-bot bot removed the Overdue label May 9, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 Weekly KSv2 labels May 9, 2024
@melvin-bot melvin-bot bot changed the title [$250] [QBO] Clicking on the hyperlink, the Accounting Page opens without sliding animation [HOLD for payment 2024-05-22] [$250] [QBO] Clicking on the hyperlink, the Accounting Page opens without sliding animation May 15, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 15, 2024
Copy link

melvin-bot bot commented May 15, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented May 15, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.73-7 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-05-22. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented May 15, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@ahmedGaber93] The PR that introduced the bug has been identified. Link to the PR:
  • [@ahmedGaber93] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@ahmedGaber93] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@ahmedGaber93] Determine if we should create a regression test for this bug.
  • [@ahmedGaber93] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@slafortune] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels May 21, 2024
@slafortune
Copy link
Contributor

Paid!

@melvin-bot melvin-bot bot removed the Overdue label May 23, 2024
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 Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
Status: Done
Development

No branches or pull requests

9 participants