Fix split translations in workspace.companyCards#72887
Fix split translations in workspace.companyCards#72887mollfpr merged 11 commits intoExpensify:mainfrom
Conversation
|
@jayeshmangwani Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Please hold this one since we decided in slack to use a new cc: @roryabraham |
Why cannot we use this already built-in function in react-native-render-html?
|
|
flaky test failure |
|
bump for review @jayeshmangwani |
|
@twilight2294 , on our PR, the text isn’t selectable by double or triple-clicking, and it also can’t be selected using the touchpad. It’s working fine on staging though. text-not-selectable.mov |
| // We set fontFamily directly in order to avoid overriding fontWeight and fontStyle. | ||
| fontFamily: FontUtils.fontFamily.platform.EXP_NEUE.fontFamily, | ||
| // We do not want to have underline on links | ||
| textDecorationLine: 'none', |
There was a problem hiding this comment.
This style is used in many places, so can we please apply textDecorationLine: 'none' only where it’s actually needed?
There was a problem hiding this comment.
@jayeshmangwani `textDecorationLine: 'none' implies no underline on the link, in the product, we do not underline link anywhere afaik, @dannymcclain @dubielzyk-expensify can you confirm this once please :)
There was a problem hiding this comment.
@twilight2294 I don’t remember if we use underline it anywhere, but why take the risk of regression when we’re not sure? Since link styling is used in 87 places, I’d suggest avoiding adding the textDecorationLine styling here.
There was a problem hiding this comment.
Correct, we do not underline any links in the product AFAIK.
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
@jayeshmangwani this should be fixed; Screen.Recording.2025-10-30.at.9.06.31.AM.mov |
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 3 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
@dannymcclain, just needs a quick visual confirmation for this PR. The behavior’s a bit different from the staging version - on the current prod build, tapping I’m adding videos for both the PR and prod versions for comparison. Existing press effect of the link staging-behavior.movPress effect on this PR PR.behavior.movVisual effect on link
So I just wanted to confirm , since this press effect only shows up on iOS, do we need to remove it? |
|
I don't think anything needs to be fixed on the press effect. That's just how iOS works so that looks by design to me 👍 |
Reviewer Checklist
Screenshots/Videos |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
@dannymcclain @mollfpr @jayeshmangwani Can this be tested internally, We can't have a card with broken connection |
|
🚀 Deployed to staging by https://github.com/mollfpr in version: 9.2.43-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.2.43-2 🚀
|








Explanation of Change
Fixed Issues
$ #72043
PROPOSAL: #72043 (comment)
Tests
Offline tests
QA Steps
Precondition: Have a workspace with broken card connection
Verify that the error message of broken connection is displayed and the link to login your bank account is clickable
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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