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-02-26] [$500] Android -In offline, "pay elsewhere" is clearly visible in mweb but less visible in Android #34354

Closed
1 of 6 tasks
lanitochka17 opened this issue Jan 11, 2024 · 43 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 Internal Requires API changes or must be handled by Expensify staff

Comments

@lanitochka17
Copy link

lanitochka17 commented Jan 11, 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.24
Reproducible in staging?: Y
Reproducible in production?: Y
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. Launch app in both mweb and app
  2. Tap on a Workspace chat
  3. Tap plus icon ---- Request money --- manual
  4. Enter an amount and tap next
  5. Enter Merchant field and tap save
  6. Tap request
  7. Select Pay elsewhere option
  8. Turn off mobile data
  9. Note "pay elsewhere" text in both mweb and Android

Expected Result:

In WS chat, "pay elsewhere" text must be clearly visible in both mweb and Android in offline

Actual Result:

In WS chat, "pay elsewhere" text is clearly visible in mweb but less visible in Android in offline

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

Bug6338891_1704981158532.az_recorder_20240111_023130.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ae616c384617e80b
  • Upwork Job ID: 1745446040782819328
  • Last Price Increase: 2024-02-01
@lanitochka17 lanitochka17 added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 11, 2024
@melvin-bot melvin-bot bot changed the title IOU-In offline, "pay elsewhere" is clearly visible in mweb but less visible in Android [$500] IOU-In offline, "pay elsewhere" is clearly visible in mweb but less visible in Android Jan 11, 2024
Copy link

melvin-bot bot commented Jan 11, 2024

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

Copy link

melvin-bot bot commented Jan 11, 2024

Triggered auto assignment to @miljakljajic (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

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

melvin-bot bot commented Jan 11, 2024

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

@bernhardoj
Copy link
Contributor

bernhardoj commented Jan 11, 2024

Proposal

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

When we create a money request to our own policy expense chat while offline, the "Pay elsewhere" button text is not really visible on Android.

What is the root cause of that problem?

This is a common issue on Android (one of the examples #15283) where a stacking component with opacity is applied to the parent, all of its children "inherit" that opacity. So, the opacity is applied to the button and the text too.

(more info, the same reference I put in #15283 (comment))

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

We can use the same solution from the previous issue, that is by setting needsOffscreenAlphaCompositing to ReportPreview OfflineWithFeedback.

In MoneyRequestPreview, we already set the needsOffscreenAlphaCompositing, but the component used in this case is ReportPreview which doesn't have it yet

@abdulrahuman5196
Copy link
Contributor

abdulrahuman5196 commented Jan 16, 2024

Will take a look today.

@melvin-bot melvin-bot bot removed the Overdue label Jan 16, 2024
Copy link

melvin-bot bot commented Jan 18, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Jan 18, 2024
@abdulrahuman5196
Copy link
Contributor

Sorry for the delay. Will close out the review.

@melvin-bot melvin-bot bot removed the Overdue label Jan 18, 2024
@kbecciv kbecciv changed the title [$500] IOU-In offline, "pay elsewhere" is clearly visible in mweb but less visible in Android [$500] Android -In offline, "pay elsewhere" is clearly visible in mweb but less visible in Android Jan 19, 2024
@melvin-bot melvin-bot bot added the Overdue label Jan 22, 2024
@abdulrahuman5196
Copy link
Contributor

abdulrahuman5196 commented Jan 22, 2024

Reviewing now

@miljakljajic
Copy link
Contributor

Being reviewed

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jan 22, 2024
Copy link

melvin-bot bot commented Jan 25, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@miljakljajic
Copy link
Contributor

How are we doing with this one?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jan 25, 2024
@abdulrahuman5196
Copy link
Contributor

Hi, Will review proposals today.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Overdue labels Feb 12, 2024
@bernhardoj
Copy link
Contributor

PR is ready

cc: @abdulrahuman5196

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Feb 19, 2024
@melvin-bot melvin-bot bot changed the title [$500] Android -In offline, "pay elsewhere" is clearly visible in mweb but less visible in Android [HOLD for payment 2024-02-26] [$500] Android -In offline, "pay elsewhere" is clearly visible in mweb but less visible in Android Feb 19, 2024
Copy link

melvin-bot bot commented Feb 19, 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 Feb 19, 2024
Copy link

melvin-bot bot commented Feb 19, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.42-5 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-02-26. 🎊

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

Copy link

melvin-bot bot commented Feb 19, 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:

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

@abdulrahuman5196
Copy link
Contributor

The PR that introduced the bug has been identified. Link to the PR:
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:
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:

Seems to be the issue from start.

Determine if we should create a regression test for this bug.
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.

No. Won't be beneficial for this minor issue.

@miljakljajic

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 26, 2024
Copy link

melvin-bot bot commented Feb 26, 2024

Payment Summary

Upwork Job

BugZero Checklist (@miljakljajic)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1745446040782819328/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@melvin-bot melvin-bot bot added the Overdue label Feb 28, 2024
@hayata-suenaga
Copy link
Contributor

melvin, we're just waiting for payment

@melvin-bot melvin-bot bot removed the Overdue label Feb 28, 2024
@abdulrahuman5196
Copy link
Contributor

@miljakljajic Gentle ping on payment processing here

@miljakljajic
Copy link
Contributor

Apologies, sharing payment summaries for both of you based on this comment: #34354 (comment)

@abdulrahuman5196 is owed 500 USD
@bernhardoj is owed 500 USD

@abdulrahuman5196
Copy link
Contributor

@miljakljajic I am still paid on upwork. Could you kindly process the upwork request?

@miljakljajic
Copy link
Contributor

Of course - is that your proposal on the job posting?

@abdulrahuman5196
Copy link
Contributor

Upwork Job

@miljakljajic Applied on the job above now.

@miljakljajic
Copy link
Contributor

sent an offer!

@abdulrahuman5196
Copy link
Contributor

Accepted the offer

@miljakljajic
Copy link
Contributor

Paid :)

@abdulrahuman5196
Copy link
Contributor

Thank you. @miljakljajic

@bernhardoj
Copy link
Contributor

Applied to the job too.

@bernhardoj
Copy link
Contributor

@miljakljajic can you process mine too, thanks

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 Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

5 participants