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

[$250] iOS - Group counter in split preview and invite member page blends with the background #41036

Open
1 of 6 tasks
lanitochka17 opened this issue Apr 25, 2024 · 26 comments
Open
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Apr 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: 1.4.66-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Action Performed:

  1. Launch New Expensify app
  2. Go to FAB > Split expense
  3. Split expense with 5 users
  4. Note the group counter
  5. Go to workspace member page
  6. Invite at least 9 users
  7. Note the counter in Invite message page

Expected Result:

The group counter in split preview and invite member page should be legible

Actual Result:

The group counter in split preview and invite member page is illegible as the counter blends with the background

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

Bug6461992_1714071498092!IMG_5E083B914E9E-1

Bug6461992_1714071498091!IMG_33ABF3F00EB6-1

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a9c1b738d03ceaae
  • Upwork Job ID: 1783618748524285952
  • Last Price Increase: 2024-04-25
  • Automatic offers:
    • jayeshmangwani | Reviewer | 0
    • neonbhai | Contributor | 0
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 25, 2024
Copy link

melvin-bot bot commented Apr 25, 2024

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

@lanitochka17
Copy link
Author

@lschurr 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

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-split

@lschurr lschurr added the External Added to denote the issue can be worked on by a contributor label Apr 25, 2024
Copy link

melvin-bot bot commented Apr 25, 2024

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

@melvin-bot melvin-bot bot changed the title iOS - Group counter in split preview and invite member page blends with the background [$250] iOS - Group counter in split preview and invite member page blends with the background Apr 25, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 25, 2024
Copy link

melvin-bot bot commented Apr 25, 2024

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

@neonbhai
Copy link
Contributor

Proposal

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

Group counter in split preview and invite member page blends with the background

What is the root cause of that problem?

The text rendered here seems to get behind the overlay causing it to appear blurred.

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

We should increase the zIndex of counter text to a resonable value:
so for avatar inner text

here:

avatarInnerText: {

and here:
avatarInnerTextSmall: {

zIndex: 10

This works perfectly:

Image Screenshot 2024-04-26 at 5 27 52 AM Screenshot 2024-04-26 at 5 27 06 AM

@nkdengineer
Copy link
Contributor

Proposal

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

The group counter in split preview and invite member page is illegible as the counter blends with the background

What is the root cause of that problem?

We have zIndex: 6 for the wrap View of counter text here

zIndex: 6,

But in IOS zIndex may require Views to be siblings of each other for it to work as expected.

Ref: https://reactnative.dev/docs/next/layout-props#zindex

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

We should add zIndex style for the counter text here greater than or equal to the zIndex of the wrap View

style={[styles.avatarInnerTextSmall, StyleUtils.getAvatarExtraFontSizeStyle(size), styles.userSelectNone]}

We can add this style to avatarInnerTextSmall here.

What alternative solutions did you explore? (Optional)

NA

@lschurr
Copy link
Contributor

lschurr commented Apr 26, 2024

Hi @jayeshmangwani - Can you review the proposals here?

@jayeshmangwani
Copy link
Contributor

Thanks for the proposal @neonbhai @nkdengineer, here both the proposals suggests to increase zIndex for avatarInnerTextSmall style , we can go with the first proposal of @neonbhai

🎀 👀 🎀 C+ reviewed

Copy link

melvin-bot bot commented Apr 26, 2024

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

@nkdengineer
Copy link
Contributor

@jayeshmangwani The RCA of selected proposal isn't clear. It doesn't explain why the bug only happen on IOS. You can test on other platforms and see that this bug doesn't happen.

@melvin-bot melvin-bot bot added the Overdue label Apr 29, 2024
@lschurr
Copy link
Contributor

lschurr commented Apr 29, 2024

@jayeshmangwani @jasperhuangg can you review @nkdengineer comment? #41036 (comment)

@melvin-bot melvin-bot bot removed the Overdue label Apr 29, 2024
@jayeshmangwani
Copy link
Contributor

For the child View missing the zIndex, I think @neonbhai 's RCA is valid, though it's not detailed as @nkdengineer, as they have attached a link for the how iOS zIndex prop work differently, but for this simple bug of missing the child View zIndex, I still think @neonbhai 's Proposal is good, what's your thought on this @jasperhuangg

@melvin-bot melvin-bot bot removed 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

📣 @jayeshmangwani 🎉 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 Apr 29, 2024

📣 @neonbhai 🎉 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 📖

@jayeshmangwani
Copy link
Contributor

@neonbhai Please raise the PR

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels May 3, 2024
@neonbhai
Copy link
Contributor

neonbhai commented May 3, 2024

PR ready for review

@jayeshmangwani
Copy link
Contributor

@lschurr This issue is ready to be a payout; PR was on the production 10 days ago.

Please HOLD my payment for this issue. We are trying to set up the NewDot Payment for me, And I have requested payment for this issue on NewDot.

@JmillsExpensify
Copy link

Ready to pay this out via New Expensify as soon as we have a payment summary.

@lschurr
Copy link
Contributor

lschurr commented May 20, 2024

Thanks @jayeshmangwani - looks like the automation didn't work on this one. I'll post the payment summary here.

@lschurr
Copy link
Contributor

lschurr commented May 20, 2024

Just clarifying @jayeshmangwani - you accepted the offer in Upwork for the job, so it will be paid there rather than in Newdot. Is this incorrect?

@jayeshmangwani
Copy link
Contributor

I accepted the offer three weeks ago, and the NewDot payment setup was done two days back, so is there any way to cancel the offer at Upwork, and paid through NewDot ?

@jayeshmangwani
Copy link
Contributor

I accepted the offer three weeks ago, and the NewDot payment setup was done two days back, so is there any way to cancel the offer at Upwork, and paid through NewDot ?

@lschurr @JmillsExpensify

@lschurr
Copy link
Contributor

lschurr commented May 20, 2024

Ah, yeah that sounds good. I'll retract the offer in Upwork.

@lschurr
Copy link
Contributor

lschurr commented May 20, 2024

Payment summary:

@JmillsExpensify
Copy link

$250 approved for @jayeshmangwani

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants