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-06-13] [$250] Web - Navigation - Chat finder has weird animation when closing up #42282

Closed
1 of 6 tasks
kbecciv opened this issue May 16, 2024 · 30 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 External Added to denote the issue can be worked on by a contributor

Comments

@kbecciv
Copy link

kbecciv commented May 16, 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.74-0
Reproducible in staging?: y
Reproducible in production?: y
Issue found when executing PR: #40342
Issue reported by: Applause - Internal Team

Action Performed:

  1. Navigate to staging.new.expensify.com
  2. Open workspace switcher LHP
  3. Press on ctrl + K/Cmd + K to open chat finder
  4. Click on the back button of the chat finder at the top left

Expected Result:

Chat finder closes by sliding to the left side of the screen and the app doesn't navigate to the workspace switcher LHP

Actual Result:

Chat finder slides to the right and the disappears revealing the workspace switcher LHP

Workaround:

n/a

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

Bug6482412_1715840377401.bandicam_2024-05-16_08-44-00-826.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~018db96bec95e66f96
  • Upwork Job ID: 1791352526254919680
  • Last Price Increase: 2024-05-17
  • Automatic offers:
    • ishpaul777 | Reviewer | 102433234
    • bernhardoj | Contributor | 102433236
Issue OwnerCurrent Issue Owner: @Christinadobrzyn
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels May 16, 2024
Copy link

melvin-bot bot commented May 16, 2024

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.

@kbecciv
Copy link
Author

kbecciv commented May 16, 2024

@Christinadobrzyn 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.

@kbecciv
Copy link
Author

kbecciv commented May 16, 2024

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

@bernhardoj
Copy link
Contributor

Proposal

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

The slide animation when opening/closing chat finder after open it from the workspace switcher page is weird.

What is the root cause of that problem?

The direction for the screen is set to horizontal and it will slide from right to left.


const screenOptions = useMemo(() => ModalNavigatorScreenOptions(styles), [styles]);

<Stack.Navigator screenOptions={screenOptions}>

But for the chat finder and workspace switcher, we want it to slide from left to right. For the left modal navigator itself, we already set the correct direction for it, that is, horizontal-inverted.

<RootStack.Screen
name={NAVIGATORS.LEFT_MODAL_NAVIGATOR}
options={screenOptions.leftModalNavigator}

leftModalNavigator: {
...commonScreenOptions,
cardStyleInterpolator: (props) => modalCardStyleInterpolator(isSmallScreenWidth, false, false, props),
presentation: getModalPresentationStyle(),
gestureDirection: 'horizontal-inverted',

That's why opening the page for the first time shows the correct animation.

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

For left modal navigator screen, set the gestureDetection to horizontal-inverted too.

We can do that for example by updating ModalNavigatorScreenOptions to accept another param for the gesture direction that defaults to horizontal

@Christinadobrzyn
Copy link
Contributor

Ah interesting - I think this can be external.

@Christinadobrzyn Christinadobrzyn added the External Added to denote the issue can be worked on by a contributor label May 17, 2024
@melvin-bot melvin-bot bot changed the title Web - Navigation - Chat finder has weird animation when closing up [$250] Web - Navigation - Chat finder has weird animation when closing up May 17, 2024
Copy link

melvin-bot bot commented May 17, 2024

Job added to Upwork: https://www.upwork.com/jobs/~018db96bec95e66f96

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

melvin-bot bot commented May 17, 2024

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

@Christinadobrzyn
Copy link
Contributor

@ishpaul777 can you review the proposal when you have a moment?

@melvin-bot melvin-bot bot added the Overdue label May 20, 2024
@ishpaul777
Copy link
Contributor

On my list for today 😄

@melvin-bot melvin-bot bot removed the Overdue label May 20, 2024
@mountiny
Copy link
Contributor

cc @adamgrzybowski @WojtekBoman for review of the proposal too

@ishpaul777
Copy link
Contributor

@bernhardoj's Proposal seems to be working well!

Screen.Recording.2024-05-21.at.12.13.41.AM.mov

@ishpaul777
Copy link
Contributor

waiting for a review from @WojtekBoman / @adamgrzybowski

@adamgrzybowski
Copy link
Contributor

@ishpaul777 I confirmed with @WojtekBoman and it looks legit to us as well

@ishpaul777
Copy link
Contributor

🎀👀🎀

Copy link

melvin-bot bot commented May 23, 2024

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

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label May 23, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jun 6, 2024
@melvin-bot melvin-bot bot changed the title [$250] Web - Navigation - Chat finder has weird animation when closing up [HOLD for payment 2024-06-13] [$250] Web - Navigation - Chat finder has weird animation when closing up Jun 6, 2024
Copy link

melvin-bot bot commented Jun 6, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 6, 2024
Copy link

melvin-bot bot commented Jun 6, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.79-11 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-06-13. 🎊

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

Copy link

melvin-bot bot commented Jun 6, 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:

  • [@ishpaul777] The PR that introduced the bug has been identified. Link to the PR:
  • [@ishpaul777] 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:
  • [@ishpaul777] 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:
  • [@ishpaul777] Determine if we should create a regression test for this bug.
  • [@ishpaul777] 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.
  • [@Christinadobrzyn] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@Christinadobrzyn
Copy link
Contributor

Christinadobrzyn commented Jun 12, 2024

Just a heads up - I'm going to be ooo until June 24th so going to assign a teammate to watch this while I'm away

@JmillsExpensify we're waiting on payments. I think this is the correct summary but let me know if I'm wrong.

Upwork job is here.

@Christinadobrzyn Christinadobrzyn removed the Bug Something is broken. Auto assigns a BugZero manager. label Jun 12, 2024
@Christinadobrzyn Christinadobrzyn removed their assignment Jun 12, 2024
@Christinadobrzyn Christinadobrzyn added the Bug Something is broken. Auto assigns a BugZero manager. label Jun 12, 2024
Copy link

melvin-bot bot commented Jun 12, 2024

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 12, 2024
@melvin-bot melvin-bot bot added Daily KSv2 and removed Daily KSv2 labels Jun 12, 2024
@Christinadobrzyn
Copy link
Contributor

@ishpaul777 do we need a regression test?

@ishpaul777
Copy link
Contributor

A regression test would nice to have 👍

Regression Test Proposal:

  1. Navigate to staging.new.expensify.com
  2. Open workspace switcher LHP
  3. Press on ctrl + K/Cmd + K to open chat finder
  4. Click on the back button of the chat finder at the top left

Expected Result:
Chat finder closes by sliding to the left side of the screen and the app doesn't navigate to the workspace switcher LHP

Do we agree 👍 or 👎 ?

@melvin-bot melvin-bot bot added the Overdue label Jun 17, 2024
@ishpaul777
Copy link
Contributor

we are just waiting for payment, not overdue

Copy link

melvin-bot bot commented Jun 18, 2024

@JmillsExpensify, @grgia, @bernhardoj, @Christinadobrzyn, @ishpaul777 Huh... This is 4 days overdue. Who can take care of this?

@JmillsExpensify
Copy link

Contributors paid out and regression test created. Closing.

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 External Added to denote the issue can be worked on by a contributor
Projects
No open projects
Archived in project
Development

No branches or pull requests

8 participants