Feat: Identify and update all read-only push rows to be copiable via long-press or right click#59731
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-app-2025-04-10_15.44.58.mp4Android: mWeb Chromeandroid-chrome-2025-04-10_15.49.41.mp4iOS: Nativeios-app-2025-04-10_15.54.27.mp4iOS: mWeb Safariios-safari-2025-04-10_15.56.42.mp4MacOS: Chrome / Safaridesktop-chrome-2025-04-10_14.46.25.mp4MacOS: Desktopdesktop-app-2025-04-10_15.36.35.mp4 |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
@sosek108 Sorry for not bringing this up earlier, but why are we adding copy functionality to |
@sosek108 Could you clarify what this means? I don't see any copy functionality here, for example: |
This comment was marked as resolved.
This comment was marked as resolved.
Fields were already listed. I bolded them for visibility |
This field is read only if workspace is not owned by you. Updated test steps |
Yeah, I've missed that one. I've updated that and created new entry in test steps After this commit a component CommunicationsLink is not used anymore. Should I delete it? |
Honestly this one I had to guess as I have no access to Expensify Cards page. These information you are looking for should be hidden somewhere under button: I am more than happy to update test steps for that but can you help me with clarifing them? |
I've added screenshots for iOS Native and desktop Web as functionality is same at others platforms |
|
@jjcoffee Please be informed that I'll be out of office until monday |
@blimpich Any ideas about this? I can only see the reveal details on the wallet page if I assign a card to another user, on the |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
|
@sosek108 Here are the steps to get an
|
@sosek108 Yup, seems fine to me! |
@sosek108 Seems like this would be fairly easy to implement? Only enable copy if the row is not interactive, I guess. |
Here is commit where I remove this func for active fields |
a8c8177 done here |
|
Nice, thanks! I'll have to retest tomorrow, I currently can't sign in. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
0b5828c to
c6b8a13
Compare
|
@jjcoffee both styling and additional fields are fixed/added |
jjcoffee
left a comment
There was a problem hiding this comment.
Thanks for the fixes! LGTM!
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.1.29-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.1.29-10 🚀
|

Explanation of Change
Across whole application users sees plenty of information which he could want to use outside of the application. To ensure seamingless experience it’s in best interest that important data is easy to copy and user has the same way to do so across whole application. To do so we’ve implemented mobile „long press to copy” or desktop „right click to copy” functionality on several application’s views.
1. Profile details
We can add this functionality to email field.
2. Preview of expense report
We can add this functionality to merchant and distance.
3. Workspace overview
We can add this functionality to company address
4. Card details
We can add this functionality to card number field.
5. Wallet page
We can add this functionality to balance field.
Fixed Issues
$ #58234
PROPOSAL: #58234 (comment)
Tests
Profile page
Workspace overview
Workspace members page
Expense report preview
merchantprovideddistanceprovidedCard details
Wallet page
Offline tests
N/A
QA Steps
Profile page
Workspace overview
Workspace members page
Expense report preview
merchantprovideddistanceprovidedCard details
Wallet page
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
    iOS: mWeb Safari
MacOS: Chrome / Safari
    MacOS: Desktop