Skip to content

[Due for payment 2025-04-25] [$250] Identify and update all read-only push rows to be copiable via long-press or right click #58234

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

Closed
blimpich opened this issue Mar 11, 2025 · 38 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.

Comments

@blimpich
Copy link
Contributor

blimpich commented Mar 11, 2025

Coming from this issue, we want all menu items in the app that are readonly to be copiable using the same pattern as shown here:

CleanShot.2025-03-07.at.10.23.09.mp4

There are many places where we have read-only menu items that are either not copiable or they are copiable but they use an old pattern that shows a copy icon that they user clicks in order to get the value copied to their clipboard. Example below.

Image

The responsibility of this issue is to:

  1. find all instances where we have read-only rows that could we could feasibly want to have copied, and list them out in this issue for other people to double check.
  2. make all these instances copiable using the long press (for mobile) and right click (for desktop) pattern.

cc: @Expensify/design

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021904624205290928803
  • Upwork Job ID: 1904624205290928803
  • Last Price Increase: 2025-03-25
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @lydiabarclay
@blimpich blimpich added the NewFeature Something to build that is a new item. label Mar 11, 2025
@blimpich blimpich self-assigned this Mar 11, 2025
Copy link

melvin-bot bot commented Mar 11, 2025

Triggered auto assignment to @lydiabarclay (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added the Weekly KSv2 label Mar 11, 2025
Copy link

melvin-bot bot commented Mar 11, 2025

⚠️ It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time ⚠️

Copy link

melvin-bot bot commented Mar 11, 2025

Triggered auto assignment to Design team member for new feature review - @dubielzyk-expensify (NewFeature)

@blimpich
Copy link
Contributor Author

Holding until this issue is done since it'll give us an example of the new pattern. Once that is done we can add the external label and get this started.

@blimpich blimpich moved this to Bugs and Follow Up Issues in #expensify-bugs Mar 11, 2025
@melvin-bot melvin-bot bot added the Overdue label Mar 20, 2025
@lydiabarclay
Copy link

still holding, above issue is still open

@melvin-bot melvin-bot bot removed the Overdue label Mar 20, 2025
@blimpich blimpich changed the title [HOLD #57800] Identify and update all read-only push rows to be copiable via long-press or right click Identify and update all read-only push rows to be copiable via long-press or right click Mar 25, 2025
@blimpich
Copy link
Contributor Author

Unblocking since #57800 is now merged in it's PR and deployed to production

@blimpich blimpich added the External Added to denote the issue can be worked on by a contributor label Mar 25, 2025
@melvin-bot melvin-bot bot changed the title Identify and update all read-only push rows to be copiable via long-press or right click [$250] Identify and update all read-only push rows to be copiable via long-press or right click Mar 25, 2025
Copy link

melvin-bot bot commented Mar 25, 2025

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

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

melvin-bot bot commented Mar 25, 2025

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Mar 25, 2025
@sosek108
Copy link
Contributor

Hi, I'm Hubert from Callstack - expert contributor group - and I would like to take a look at this issue.

@sosek108
Copy link
Contributor

sosek108 commented Mar 26, 2025

At this moment I've identified at least three places where read-only properties are shown:

  1. Profile details
  2. Preview of expense report
  3. Workspace's overview.

I imagine there are more such places on views related to special functionalities such as travels, credit cards, accountant integrations etc. Is there any possibility I'd have access to an account with these functionalities enabled? @blimpich


My initial though was to add new prop to component rendering these detail but I quickly found out that there is no such component reused in these places.

There are two ways to do that:

  1. create one component to show readonly properties with this look: top-lable, botton-value, but in each place these vary in visual and functional properties so it can be hard to do generic "do it all" component
  2. create High Order Component with CopiableValue-ish name which will wrap component and add desired functionality.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 26, 2025
@blimpich
Copy link
Contributor Author

@sosek108 it might be helpful to browse through https://help.expensify.com/new-expensify and see if you can find the UI components you're looking for. That'll have lots of examples of features that might have a read-only row that we want to modify.

I'll try to setup an account for you on my local machine, but some of those flows you mention aren't easily testable. I can add you to a travel policy in staging that is testable, and I can create an account on my local machine that has access to card feeds and expensify cards, but it's not simple to get you access to an account that would let you manually explore all advanced features of the app. That's why I think looking through the documentation on help.expensify.com will probably be easiest.

Let me know the email you'd like added to the travel testing account on staging.

@sosek108
Copy link
Contributor

[email protected] is my main account, I'm using for test. Thank you in advance!

Copy link

melvin-bot bot commented Apr 7, 2025

@jjcoffee Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot melvin-bot bot added the Overdue label Apr 7, 2025
@jjcoffee
Copy link
Contributor

jjcoffee commented Apr 7, 2025

The proposal LGTM!

🎀👀🎀 C+ reviewed

@melvin-bot melvin-bot bot removed the Overdue label Apr 7, 2025
Copy link

melvin-bot bot commented Apr 7, 2025

Current assignee @blimpich is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.

@sosek108
Copy link
Contributor

sosek108 commented Apr 7, 2025

Pull request: #59731

@sosek108
Copy link
Contributor

sosek108 commented Apr 9, 2025

@jjcoffee @blimpich Please be informed that I'll be out of office until monday

Copy link

melvin-bot bot commented Apr 17, 2025

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Apr 18, 2025
@melvin-bot melvin-bot bot changed the title [$250] Identify and update all read-only push rows to be copiable via long-press or right click [Due for payment 2025-04-25] [$250] Identify and update all read-only push rows to be copiable via long-press or right click Apr 18, 2025
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 18, 2025
Copy link

melvin-bot bot commented Apr 18, 2025

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

Copy link

melvin-bot bot commented Apr 18, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.29-10 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 2025-04-25. 🎊

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

  • @sosek108 does not require payment (Contractor)
  • @jjcoffee requires payment through NewDot Manual Requests

Copy link

melvin-bot bot commented Apr 18, 2025

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

@jjcoffee
Copy link
Contributor

Regression Test Proposal

Precondition:

  • Have an Expensify Card assigned to your user
  • Be a member of a workspace not owned by you
  • Have a paid distance expense with a merchant provided

Test:

Verify that copy functionality is available in all of the following locations, and that they follow exactly the same pattern (right click->copy for desktop, long-press->copy for mobile).

  1. Go to Account and select any Workspace -> Members and select a member, check the email field
  2. Select Profile and check the email field
  3. Go to any Workspace not owned by the user, check the address field
  4. Go to any paid report, with a merchant provided, check the merchant field
  5. Go to any paid distance expense, check the distance, rate and date fields
  6. Go to settings -> Wallet, open the card under Assigned cards, reveal the details and check the card number field
  7. Check the Balance field on the Wallet page

Do we agree 👍 or 👎

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Apr 25, 2025
@lydiabarclay
Copy link

Payment Summary

Contributor: @sosek108 does not require payment (Contractor)
Contributor+: @jjcoffee due $250 via NewDot

...

Paid, regression test filed: https://github.com/Expensify/Expensify/issues/493889

@garrettmknight
Copy link
Contributor

$250 approved for @jjcoffee

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 Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
Status: DONE
Development

No branches or pull requests

6 participants