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-11-22] [$250] Attachment - Image moves to the bottom when swiping down slightly #51465

Closed
2 of 8 tasks
izarutskaya opened this issue Oct 25, 2024 · 38 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

@izarutskaya
Copy link

izarutskaya commented Oct 25, 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: 9.0.54-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
Email or phone of affected tester (no customers): applausetester+kh2010001@applause.expensifail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

  1. Launch ND app.
  2. Go to DM.
  3. Upload an image.
  4. Tap on the image preview.
  5. Swipe down from the top slightly.

Expected Result:

The image will be dismissed (production behavior).

Actual Result:

The image moves to the bottom.

Workaround:

Unknown

Platforms:

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

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6645372_1729849782889.swiipe.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021849822965045405568
  • Upwork Job ID: 1849822965045405568
  • Last Price Increase: 2024-10-25
  • Automatic offers:
    • brunovjk | Reviewer | 104693785
Issue OwnerCurrent Issue Owner: @CortneyOfstad
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 25, 2024
Copy link

melvin-bot bot commented Oct 25, 2024

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

Copy link

melvin-bot bot commented Oct 25, 2024

Triggered auto assignment to @CortneyOfstad (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 Oct 25, 2024

💬 A slack conversation has been started in #expensify-open-source

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Oct 25, 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.

@izarutskaya
Copy link
Author

Production

P.2.MP4

@izarutskaya izarutskaya changed the title iOS Attachment - Image moves to the bottom when swiping down slightly Attachment - Image moves to the bottom when swiping down slightly Oct 25, 2024
@Julesssss Julesssss added Daily KSv2 Hourly KSv2 and removed Hourly KSv2 DeployBlockerCash This issue or pull request should block deployment Daily KSv2 labels Oct 25, 2024
@Julesssss
Copy link
Contributor

Thanks! This is annoying, and I will seek out the cause, but I won't mark this as a blocker.

@Julesssss Julesssss added Daily KSv2 and removed Hourly KSv2 labels Oct 25, 2024
@Julesssss
Copy link
Contributor

Reverting the 'Swipe attatchement' PR didn't resolve the issue

@Julesssss Julesssss added the External Added to denote the issue can be worked on by a contributor label Oct 25, 2024
@melvin-bot melvin-bot bot changed the title Attachment - Image moves to the bottom when swiping down slightly [$250] Attachment - Image moves to the bottom when swiping down slightly Oct 25, 2024
Copy link

melvin-bot bot commented Oct 25, 2024

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

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

melvin-bot bot commented Oct 25, 2024

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

@Julesssss
Copy link
Contributor

Nice, yeah lets replace all uses please.

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

melvin-bot bot commented Nov 1, 2024

📣 @brunovjk 🎉 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

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Nov 2, 2024
@bernhardoj
Copy link
Contributor

PR is ready

cc: @brunovjk

@CortneyOfstad
Copy link
Contributor

PR actively being worked on so no update

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 15, 2024
@melvin-bot melvin-bot bot changed the title [$250] Attachment - Image moves to the bottom when swiping down slightly [HOLD for payment 2024-11-22] [$250] Attachment - Image moves to the bottom when swiping down slightly Nov 15, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 15, 2024
Copy link

melvin-bot bot commented Nov 15, 2024

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

Copy link

melvin-bot bot commented Nov 15, 2024

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

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

Copy link

melvin-bot bot commented Nov 15, 2024

@brunovjk @CortneyOfstad @brunovjk The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@brunovjk
Copy link
Contributor

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

  • 1a. Result of the original design (eg. a case wasn't considered)
  • 1b. Mistake during implementation
  • 1c. Backend bug
  • 1z. Other:

Where bug was reported:

  • 2a. Reported on production
  • 2b. Reported on staging (deploy blocker)
  • 2c. Reported on both staging and production
  • 2d. Reported on a PR
  • 2z. Other:

Who reported the bug:

  • 3a. Expensify user
  • 3b. Expensify employee
  • 3c. Contributor
  • 3d. QA
  • 3z. Other: Applause-Internal team
  • [Contributor] 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: No PR directly introduce the bug.

  • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: Discussion not started, as regression was not critical.

  • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

Regression Test Proposal

Precondition:

  • Send at least 2 attachments to any chat.

Test:

  1. Open one of the attachments.
  2. Verify you can't swipe left/right while swiping down.
  3. Verify you can't swipe down while swiping left/right.
  4. Swipe the image down a little.
    • Verify it goes back to its initial position.
  5. Swipe the image down completely.
    • Verify it closes the image.

Web/Desktop: Verify there is no swipe.

Do we agree 👍 or 👎

@bernhardoj
Copy link
Contributor

Does it make sense if the price for this issue is increased since we cover other things (only allow one swipe gesture at a time) on the issue too? Appreciate any decision, thanks 🙇

cc: @Julesssss

@Julesssss
Copy link
Contributor

Hey @bernhardoj. I appreciate that we took time to add the additional fix, but I think in this case it could be considered to be refining the solution. Let me know if you have any other thoughts here, though 👍

@brunovjk
Copy link
Contributor

brunovjk commented Nov 21, 2024

To provide more context to support @bernhardoj's request: The initial issue was resolved, but during testing, we noticed the same symptom (freezing the image when swiping) caused by a different root. I researched similar apps to see how they handle this and found they block swiping in two directions. We suggested this approach, and after team approval, we moved to implement and test it. Anyway I am in favor of any decision. Thank you.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Nov 22, 2024
@Julesssss
Copy link
Contributor

Thanks @brunovjk. It definately took extra effort and that is appreciated. I think in this case it falls just on the side of not getting an increased payment. I believe they balance over multiple jobs.

I believe other internal engineers would vote the same way, but I can ask for quick second opinion if you'd like.

@brunovjk
Copy link
Contributor

but I can ask for quick second opinion if you'd like.

No it's fine :D I totally agree, thanks for clarifying 🚀

@CortneyOfstad
Copy link
Contributor

Payment Summary

@bernhardoj — to be paid $250 via NewDot
@brunovjk — paid $250 via Upwork

Regression Test

https://github.com/Expensify/Expensify/issues/447135

Link to check list — #51465 (comment)

@bernhardoj
Copy link
Contributor

Requested in ND.

@JmillsExpensify
Copy link

$250 approved for @bernhardoj

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
None yet
Development

No branches or pull requests

9 participants