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

[$500] Android-Workspace-In reimbursement page, WS name truncated in different way compared to other pages #31359

Closed
1 of 6 tasks
izarutskaya opened this issue Nov 15, 2023 · 23 comments
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

@izarutskaya
Copy link

izarutskaya commented Nov 15, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.3.99-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:
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
  2. Tap profile icon
  3. Tap Workspaces--Workspace
  4. Tap New Workspace
  5. Tap Workspace
  6. Enter name - Test Workspace testingtestingtestingtestingtestingtesting)
  7. Tap Save
  8. Tap card/Members/Bills/Travels/Members
  9. Note Workspace name in header is truncated in same format (Test Workspac...)
  10. Tap reimbursements
  11. Note the truncated format of Workspace name in header is different from other pages (Test Workspace testingtesti...)

Expected Result:

In all pages, Workspace name in header must be truncated and displayed in the same manner.

Actual Result:

In card/Members/Bills/Travels/Members page, Workspace name in header is truncated in same format (Test Workspac...). But in reimbursements page, the truncated format of Workspace name in header is different from other pages (Test Workspace testingtesti...).

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

Bug6276960_1700031517788.reimbursement.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~015ab700b1fc46d0d1
  • Upwork Job ID: 1724762358824095744
  • Last Price Increase: 2023-11-15
  • Automatic offers:
    • dukenv0307 | Contributor | 27705715
@izarutskaya izarutskaya 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 Nov 15, 2023
@melvin-bot melvin-bot bot changed the title Android-Workspace-In reimbursement page, WS name truncated in different way compared to other pages [$500] Android-Workspace-In reimbursement page, WS name truncated in different way compared to other pages Nov 15, 2023
Copy link

melvin-bot bot commented Nov 15, 2023

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

Copy link

melvin-bot bot commented Nov 15, 2023

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 15, 2023
Copy link

melvin-bot bot commented Nov 15, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Copy link

melvin-bot bot commented Nov 15, 2023

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

@dukenv0307
Copy link
Contributor

dukenv0307 commented Nov 15, 2023

Proposal

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

In card/Members/Bills/Travels/Members page, Workspace name in header is truncated in same format (Test Workspac...). But in reimbursements page, the truncated format of Workspace name in header is different from other pages (Test Workspace testingtesti...).

What is the root cause of that problem?

The width of those subtitle components are different, so it truncates differently.

The width are different because in here, we only set max-width 100, so the actual width of that whole component will depend on the width of the text of title and subtitle. The Reimbursements text is longer than Cards text, so the width of the View wrapper of Reimbursements text is longer than that of Cards text.

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

Change mw100 to w100 to the wrapper of those subtitle components here.

We've had these issues many times in the past in other components and w100 was always the way to maintain consistency across platforms.

What alternative solutions did you explore? (Optional)

If this issue happens for other places, it can be fixed similarly. We particularly need to look at all usage of mw100 to make sure this problem doesn't happen there.

Alternatively, adding styles.flex1 should also work.

@mananjadhav
Copy link
Collaborator

Bug is straightforward @dukenv0307's proposal looks good.

🎀 👀 🎀 C+ reviewed.

Copy link

melvin-bot bot commented Nov 16, 2023

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

@deetergp
Copy link
Contributor

Agreed! Adding @dukenv0307

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

@deetergp Accidentally closed this?

@deetergp deetergp reopened this Nov 16, 2023
@deetergp deetergp added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 16, 2023
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 16, 2023
Copy link

melvin-bot bot commented Nov 16, 2023

📣 @mananjadhav Please request via NewDot manual requests for the Reviewer role ($500)

Copy link

melvin-bot bot commented Nov 16, 2023

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

@deetergp
Copy link
Contributor

Nice catch @mananjadhav — I'm not sure how that happened 😅 I think everything looks in order now. Thanks!

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Nov 17, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Nov 17, 2023
@dukenv0307
Copy link
Contributor

@mananjadhav The PR is ready for review

@mananjadhav
Copy link
Collaborator

@izarutskaya @dukenv0307 @isabelastisser Are you folks able to reproduce this in the latest version. I can't.

android-workspace-name.mov

@mananjadhav
Copy link
Collaborator

mananjadhav commented Nov 26, 2023

@isabelastisser @izarutskaya Did you folks get a chance to look at my previous comment? Are you still able to reproduce this?

And @dukenv0307 I raised a comment on the PR.

@isabelastisser
Copy link
Contributor

@mananjadhav, I can no longer reproduce this! Should I close the issue since it seems to be fixed?

@deetergp, how should I handle the payments in this case?

@mananjadhav
Copy link
Collaborator

Waiting on @deetergp to confirm about the payouts.

@isabelastisser
Copy link
Contributor

Hey @deetergp, can you please see my comment above? Thanks!

@deetergp
Copy link
Contributor

deetergp commented Dec 1, 2023

Hey @isabelastisser I had to ask myself, but it sounds like the right thing to do in this situation is to pay out the contributor and C+ for the work done as the problem being fixed elsewhere is out of their control.

@isabelastisser
Copy link
Contributor

Thanks, Scott! I sent the offers in Upwork now. All set!

@mananjadhav
Copy link
Collaborator

@isabelastisser I raise my request on NewDot. Can you please rescind the Upwork offer for me and instead post a payment summary here?

@isabelastisser
Copy link
Contributor

Payment summary:

@mananjadhav $500 - C+ review (NewDot payment)
@dukenv0307 $500 - Accepted proposal (paid in Upwork)

@JmillsExpensify
Copy link

$500 payment approved for @mananjadhav based on summary above.

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

6 participants