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

Update version to 1.0.88-3 on staging #4914

Merged
merged 123 commits into from
Aug 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
dc8ac78
fix(signin-med-layout): Made container flex1
mananjadhav Aug 14, 2021
ec865b7
fix(signin-med-layout): Added props for medium screen in withWindowDi…
mananjadhav Aug 14, 2021
e4de1ed
fix(signin-med-layout): Fixed hero layout for tablet devices
mananjadhav Aug 14, 2021
88d4cf9
Animation position changed to top
Santhosh-Sellavel Aug 17, 2021
8dc03e3
Only trigger deploy blocker notifications on issues
AndrewGable Aug 17, 2021
6b9172f
Added translations for "edited" label in chats
akshayasalvi Aug 20, 2021
9d22e6b
Web - Attachments Preview_3901
MTN718 Aug 20, 2021
e171217
3901_lint_fix
MTN718 Aug 20, 2021
241941b
Move const zoom width
MTN718 Aug 20, 2021
5f7703c
Added translations for "edited" label in chats
akshayasalvi Aug 20, 2021
860d00c
Added edit label translation to HTML content
akshayasalvi Aug 21, 2021
6cdd40e
Merge branch 'translation-edited-label' of github-personal:akshayasal…
akshayasalvi Aug 21, 2021
5bc0f4f
block system user from Workspaces
parasharrajat Aug 23, 2021
8c6c736
fix silly mistake and correct variable name
parasharrajat Aug 23, 2021
0896cc7
correct copy for multiple users
parasharrajat Aug 23, 2021
242734b
fix: match Phone number users correctly
parasharrajat Aug 23, 2021
3922097
Changed the translate function for html section
akshayasalvi Aug 23, 2021
2a6e5b9
fix(emoji-size-spacing): Reduced emoji spacing and increased emoji size
mananjadhav Aug 23, 2021
9e55117
Scroll issue and Zoom following Device
MTN718 Aug 23, 2021
f238c73
updated the error message
parasharrajat Aug 23, 2021
27024aa
Only let mobile-deployers manually CP
roryabraham Aug 24, 2021
c353dee
Include OSBotify in mobile-deployers without adding to team
roryabraham Aug 24, 2021
684e9b8
Allow mobile-deployers to run platformDeploy
roryabraham Aug 24, 2021
0fdcaa8
Restrict prod deploy permissions to mobile-deployers
roryabraham Aug 24, 2021
b710d97
change copy
parasharrajat Aug 24, 2021
b59caab
Update JSDoc and Variable Name
MTN718 Aug 24, 2021
df52d3f
fix(emoji-size-spacing): Standardized emoji-size and removed unwanted…
mananjadhav Aug 24, 2021
dc2601e
fix(emoji-size-spacing): Removed unused dynamicEmojiSize function
mananjadhav Aug 24, 2021
71671af
fix(emoji-size-spacing): Changed web/desktop emojipicker container size
mananjadhav Aug 24, 2021
99b1bbc
Merge branch 'main' of https://github.com/mananjadhav/App into fix/si…
mananjadhav Aug 24, 2021
1c34004
Get rid of inaccurate note
roryabraham Aug 24, 2021
2e30fab
VBA Loading page updated with header & title
Santhosh-Sellavel Aug 24, 2021
60afb75
Fresco version updated to 2.5.0
Santhosh-Sellavel Aug 24, 2021
bf73f5c
fix Locale Picker and small picker styles
parasharrajat Aug 24, 2021
aabda01
fix: label
parasharrajat Aug 24, 2021
e439423
Merge branch 'main' of github-personal:akshayasalvi/App into translat…
akshayasalvi Aug 25, 2021
04ee1a0
Changed translateLocal to 'withLocalize'
akshayasalvi Aug 25, 2021
4e76e51
Styles h3/h4 missing bold fixed for web, desktop, iOS
Santhosh-Sellavel Aug 25, 2021
c86e282
Forget should not bolded
Santhosh-Sellavel Aug 25, 2021
56919ac
More specific error messages when closing StagingDeployCash
roryabraham Aug 26, 2021
492dfe5
Unwanted line removed
Santhosh-Sellavel Aug 26, 2021
1fb5be3
Fix the Picker styles for firefox
parasharrajat Aug 26, 2021
99a076f
fix(tooltip-icon-button): Fixed icon alignment on ReportComposeAction
mananjadhav Aug 26, 2021
32f41f9
transaltion fix
parasharrajat Aug 26, 2021
d3fbcd7
updare the HTML entity parsing
parasharrajat Aug 26, 2021
56ab0eb
Merge pull request #4839 from Santhosh-Sellavel/Login_Page_Style_Fix
sketchydroide Aug 26, 2021
3b6c378
Don't automatically create a workspace when landing on an invalid url
Aug 26, 2021
dc1f6bd
Remove unused import
Aug 26, 2021
7fdd1c1
Merge branch 'main' of github.com:Expensify/App into amal-invalid-wor…
Aug 26, 2021
aac8036
Update capitalzization of copy to match new guidelines
iwiznia Aug 26, 2021
bc16783
Fix typo
iwiznia Aug 26, 2021
fc5f99b
code refactor
parasharrajat Aug 26, 2021
869289e
Use password when new-password autoComplete is set on Android
Jag96 Aug 26, 2021
b8a3a57
ix(tooltip-icon-button): Removed extra spacing
mananjadhav Aug 26, 2021
5e62d66
Merge branch 'main' of https://github.com/mananjadhav/App into fix/si…
mananjadhav Aug 26, 2021
059d37b
Remove onSubmitEditing if submit button disabled
aldo-expensify Aug 26, 2021
18ad92f
add some comments to explain new-password value
Jag96 Aug 26, 2021
15c3518
prevent warning on iOS
Jag96 Aug 26, 2021
1611e49
Apply suggestions from code review
iwiznia Aug 26, 2021
ef99044
Merge pull request #4852 from Expensify/amal-invalid-workspace-no-create
HorusGoul Aug 26, 2021
d3f5bd3
Merge pull request #4851 from mananjadhav/feat/tooltip-icon-button
iwiznia Aug 26, 2021
1c89136
Merge pull request #4782 from mananjadhav/fix/emoji-size-spacing
chiragsalian Aug 26, 2021
7ddfae4
Merge pull request #4858 from Expensify/aldo_disable-submit-button-di…
luacmartins Aug 26, 2021
7f921ef
Merge pull request #4769 from MTN718/sh_3901
robertjchen Aug 26, 2021
db0e12a
update comment
Jag96 Aug 26, 2021
c1bc5bc
Merge pull request #4862 from Expensify/joe-fix-android-autocomplete
Jag96 Aug 26, 2021
ae38f1b
Merge pull request #4781 from parasharrajat/workspace-invite
roryabraham Aug 26, 2021
2b7fade
fix: count when LHN is open on mobile
parasharrajat Aug 26, 2021
8b52072
changes
parasharrajat Aug 27, 2021
66c2262
Merge branch 'main' into BankAccount_Animation_Issue
Santhosh-Sellavel Aug 27, 2021
ad8fac4
Added fileName to the param
akshayasalvi Aug 27, 2021
d6c9cd1
Added tooltip to the download icon
akshayasalvi Aug 27, 2021
358ff1e
make CLA happy
parasharrajat Aug 27, 2021
b8f0b00
Fix notification preference selector label
nkuoch Aug 27, 2021
2f074b5
Prioritize reports with draft comments in the Most Recent priority mode
meetmangukiya Aug 27, 2021
1f332a6
Merge pull request #4810 from parasharrajat/locale-pick
Beamanator Aug 27, 2021
6d2cdeb
Merge branch 'main' into ionatan_capitalization
iwiznia Aug 27, 2021
bc0ca55
Merge pull request #4854 from Expensify/ionatan_capitalization
MonilBhavsar Aug 27, 2021
230c68a
Merge pull request #4859 from parasharrajat/decode
Beamanator Aug 27, 2021
50b93a1
disable all growls in VBA flow
Julesssss Aug 27, 2021
313d476
Changed spanish translation
akshayasalvi Aug 27, 2021
64deb02
only show Growl for unhandled server errors
Julesssss Aug 27, 2021
60adff6
add function doc, fix formatting
Julesssss Aug 27, 2021
7e926e1
Merge pull request #4873 from meetmangukiya/draft-reports-priority
iwiznia Aug 27, 2021
887778c
Merge pull request #4875 from Expensify/jules-removeGrowlFromVBAFlow
nkuoch Aug 27, 2021
ea4ae8b
ensure 2nd VBA step validation shows error growl
Julesssss Aug 27, 2021
e04a689
Merge pull request #4871 from akshayasalvi/attachment-view-in-comments
sketchydroide Aug 27, 2021
dfa8062
fix(password-error-trans): Fixed errors with the login form, and tran…
mananjadhav Aug 27, 2021
f7bb52a
fix(password-error-trans): Fixed translation issue on PasswordForm
mananjadhav Aug 27, 2021
59e6566
fix(password-error-trans): Hide error onBlur of the form
mananjadhav Aug 27, 2021
94d1c09
fix(password-error-trans): Avoid showing formError as well as API error
mananjadhav Aug 27, 2021
ea65ccf
Merge pull request #4805 from Santhosh-Sellavel/BankAccount_Animation…
Jag96 Aug 27, 2021
6de21b4
Update version to 1.0.88-1
Aug 27, 2021
95b28b4
Merge pull request #4877 from Expensify/version-BUILD-ea65ccf319ceeeb…
OSBotify Aug 27, 2021
e0497e3
Merge pull request #4802 from mananjadhav/fix/signin-page-layout
Aug 27, 2021
d845aba
Merge pull request #4776 from akshayasalvi/translation-edited-label
Julesssss Aug 27, 2021
7e55635
Merge pull request #4865 from parasharrajat/markercount
roryabraham Aug 27, 2021
0446bc6
Update version to 1.0.88-2
Aug 27, 2021
1c88474
Merge pull request #4881 from Expensify/version-BUILD-7e556357b4783f1…
OSBotify Aug 27, 2021
753d9b1
fix(password-error-trans): Return flags in form
mananjadhav Aug 27, 2021
5abbbff
Show growl without waiting onyx merge
aldo-expensify Aug 27, 2021
4f9b57f
fix(password-error-trans): Fix iOS terms overflow
mananjadhav Aug 27, 2021
1461f9e
Merge pull request #4879 from Expensify/jules-removeGrowlFromVBAFlow
marcaaron Aug 27, 2021
686100c
fix(password-error-trans): Rolled back isFormValid changes
mananjadhav Aug 27, 2021
2ec759f
prevent errorAttemptsCount from being wiped out by JSON.stringify
NikkiWines Aug 27, 2021
b9300c7
Merge pull request #4880 from mananjadhav/fix/password-error-trans
Jag96 Aug 27, 2021
2257b67
Merge pull request #4796 from Expensify/Rory-MobileDeployerPermissions
AndrewGable Aug 27, 2021
a47f3e8
Merge branch 'main' into andrew-deploy-blocker-fix
AndrewGable Aug 27, 2021
f4851e6
Remove dead code
AndrewGable Aug 27, 2021
70f8208
Merge pull request #4707 from Expensify/andrew-deploy-blocker-fix
roryabraham Aug 28, 2021
f0cb999
Get rid of unnecessary code to hopefully fix persistent splash screen
roryabraham Aug 28, 2021
f928158
Merge pull request #4872 from Expensify/nat-notifpref
nkuoch Aug 29, 2021
5bc9333
Fixed alignment issue for Workspace name
akshayasalvi Aug 29, 2021
dafdef0
Merge pull request #4901 from akshayasalvi/trim-long-workspace-name
nkuoch Aug 30, 2021
c67f12a
remove sms Domain from login
thesahindia Aug 30, 2021
96ec07c
dlt the comment when it's empty
aman-atg Aug 30, 2021
8de4463
Merge pull request #4907 from thesahindia/thesahindia/bug/requestCall…
Beamanator Aug 30, 2021
a3b2069
Merge pull request #4909 from aman-atg/aman-atg-editedBug
pecanoro Aug 30, 2021
ea3643e
Merge pull request #4889 from Expensify/nikki-prevent-errorsAttemptCo…
Aug 30, 2021
9a69ff7
Merge pull request #4895 from Expensify/Rory-TryToFixSplashScreen
cead22 Aug 30, 2021
8eff40a
Update version to 1.0.88-3
Aug 30, 2021
cb70eb7
Merge pull request #4913 from Expensify/version-BUILD-9a69ff716a5f943…
OSBotify Aug 30, 2021
13202d9
Merge branch 'main' into update-staging-from-main
Aug 30, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cherryPick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
validateActor:
runs-on: ubuntu-latest
outputs:
IS_DEPLOYER: ${{ steps.isUserDeployer.outputs.isTeamMember }}
IS_DEPLOYER: ${{ steps.isUserDeployer.outputs.isTeamMember || github.actor == 'OSBotify' }}
steps:
- id: isUserDeployer
uses: tspascoal/get-user-teams-membership@baf2e6adf4c3b897bd65a7e3184305c165aec872
with:
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}
username: ${{ github.actor }}
team: expensify-cash-deployers
team: mobile-deployers

createNewVersion:
needs: validateActor
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/deployBlocker.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Update Deploy Blockers

on:
pull_request:
types:
- labeled
issues:
types:
- labeled
Expand All @@ -26,13 +23,6 @@ jobs:
echo "DEPLOY_BLOCKER_NUMBER=${{ github.event.issue.number }}" >> $GITHUB_ENV
echo "DEPLOY_BLOCKER_TITLE=$(sed -e "s/'/'\\\\''/g; s/\`/\\\\\`/g; 1s/^/'/; \$s/\$/'/" <<< "'${{ github.event.issue.title }}'")" >> $GITHUB_ENV

- name: Get URL, title, & number of new deploy blocker (pull request)
if: ${{ github.event_name == 'pull_request' }}
run: |
echo "DEPLOY_BLOCKER_URL=${{ github.event.pull_request.html_url }}" >> $GITHUB_ENV
echo "DEPLOY_BLOCKER_NUMBER=${{ github.event.pull_request.number }}" >> $GITHUB_ENV
echo "DEPLOY_BLOCKER_TITLE=$(sed -e "s/'/'\\\\''/g; s/\`/\\\\\`/g; 1s/^/'/; \$s/\$/'/" <<< "'${{ github.event.pull_request.title }}'")" >> $GITHUB_ENV

- name: Update StagingDeployCash with new deploy blocker
uses: Expensify/App/.github/actions/createOrUpdateStagingDeploy@main
with:
Expand Down
35 changes: 26 additions & 9 deletions .github/workflows/finishReleaseCycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,42 @@ on:

# The updateProduction and createNewStagingDeployCash jobs are executed when a StagingDeployCash is closed.
jobs:
checkDeployBlockers:
validate:
runs-on: ubuntu-latest
if: contains(github.event.issue.labels.*.name, 'StagingDeployCash')

outputs:
hasDeployBlockers: ${{ steps.checkDeployBlockers.outputs.HAS_DEPLOY_BLOCKERS }}
isValid: ${{ steps.validateActor.outputs.isTeamMember && steps.checkDeployBlockers.outputs.HAS_DEPLOY_BLOCKERS == 'false' }}

steps:
- name: Validate actor is deployer
id: validateActor
uses: tspascoal/get-user-teams-membership@baf2e6adf4c3b897bd65a7e3184305c165aec872
with:
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}
username: ${{ github.actor }}
team: mobile-deployers

- name: Reopen and comment on issue
if: ${{ !steps.validateActor.outputs.isTeamMember }}
uses: Expensify/App/.github/actions/reopenIssueWithComment@main
with:
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
COMMENT: |
Sorry, only members of @Expensify/Mobile-Deployers can close deploy checklists.
Reopening!

- name: Check for any deploy blockers
if: ${{ steps.validateActor.outputs.isTeamMember }}
id: checkDeployBlockers
uses: Expensify/App/.github/actions/checkDeployBlockers@main
with:
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}
ISSUE_NUMBER: ${{ github.event.issue.number }}

- name: Reopen and comment on issue
if: ${{ steps.checkDeployBlockers.outputs.HAS_DEPLOY_BLOCKERS == 'true' }}
if: ${{ steps.validateActor.outputs.isTeamMember && steps.checkDeployBlockers.outputs.HAS_DEPLOY_BLOCKERS == 'true' }}
uses: Expensify/App/.github/actions/reopenIssueWithComment@main
with:
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}
Expand All @@ -34,10 +53,8 @@ jobs:
# Update the production branch to trigger the production deploy.
updateProduction:
runs-on: ubuntu-latest

# Note: Anyone with Triage access to the New Expensify repo can trigger a production deploy
needs: checkDeployBlockers
if: ${{ needs.checkDeployBlockers.outputs.hasDeployBlockers == 'false' }}
needs: validate
if: ${{ needs.validate.outputs.isValid }}
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
Expand All @@ -54,8 +71,8 @@ jobs:
# Deploy deferred PRs to staging and create a new StagingDeployCash for the next release cycle.
createNewStagingDeployCash:
runs-on: macos-11
needs: checkDeployBlockers
if: ${{ needs.checkDeployBlockers.outputs.hasDeployBlockers == 'false' }}
needs: validate
if: ${{ needs.validate.outputs.isValid }}
steps:
# Version: 2.3.4
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
Expand Down
26 changes: 21 additions & 5 deletions .github/workflows/platformDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,22 @@ env:
DEVELOPER_DIR: /Applications/Xcode_12.5.app/Contents/Developer

jobs:
validateActor:
runs-on: ubuntu-latest
outputs:
IS_DEPLOYER: ${{ steps.isUserDeployer.outputs.isTeamMember || github.actor == 'OSBotify' }}
steps:
- id: isUserDeployer
uses: tspascoal/get-user-teams-membership@baf2e6adf4c3b897bd65a7e3184305c165aec872
with:
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}
username: ${{ github.actor }}
team: mobile-deployers

android:
name: Build and deploy Android
if: github.actor == 'OSBotify'
needs: validateActor
if: ${{ needs.validateActor.outputs.IS_DEPLOYER }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -78,7 +91,8 @@ jobs:

desktop:
name: Build and deploy Desktop
if: github.actor == 'OSBotify'
needs: validateActor
if: ${{ needs.validateActor.outputs.IS_DEPLOYER }}
runs-on: macos-11
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -133,7 +147,8 @@ jobs:

iOS:
name: Build and deploy iOS
if: github.actor == 'OSBotify'
needs: validateActor
if: ${{ needs.validateActor.outputs.IS_DEPLOYER }}
runs-on: macos-11
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -216,7 +231,8 @@ jobs:

web:
name: Build and deploy Web
if: github.actor == 'OSBotify'
needs: validateActor
if: ${{ needs.validateActor.outputs.IS_DEPLOYER }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -368,7 +384,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ github.token }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

- name: 'Announces a production deploy in the #expensify-open-source Slack room'
uses: 8398a7/action-slack@v3
if: ${{ env.SHOULD_DEPLOY_PRODUCTION == 'true' }}
Expand Down
8 changes: 4 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1001008802
versionName "1.0.88-2"
versionCode 1001008803
versionName "1.0.88-3"
}
splits {
abi {
Expand Down Expand Up @@ -238,8 +238,8 @@ dependencies {
implementation "com.google.firebase:firebase-perf"

// GIF support
implementation 'com.facebook.fresco:fresco:2.3.0'
implementation 'com.facebook.fresco:animated-gif:2.3.0'
implementation 'com.facebook.fresco:fresco:2.5.0'
implementation 'com.facebook.fresco:animated-gif:2.5.0'

// Android support library
implementation 'com.android.support:support-core-utils:28.0.0'
Expand Down
2 changes: 1 addition & 1 deletion ios/NewExpensify/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.0.88.2</string>
<string>1.0.88.3</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/NewExpensifyTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0.88.2</string>
<string>1.0.88.3</string>
</dict>
</plist>
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
"version": "1.0.88-2",
"version": "1.0.88-3",
"author": "Expensify, Inc.",
"homepage": "https://new.expensify.com",
"description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",
Expand Down Expand Up @@ -60,7 +60,7 @@
"electron-log": "^4.3.5",
"electron-serve": "^1.0.0",
"electron-updater": "^4.3.4",
"expensify-common": "git://github.com/Expensify/expensify-common.git#a88a45c68947da7ea769a6ee6a6d3b04d6f62dd7",
"expensify-common": "git://github.com/Expensify/expensify-common.git#e5a22b54cde72ff3b9b6b085ea4374144e8937b2",
"expo-haptics": "^10.0.0",
"file-loader": "^6.0.0",
"html-entities": "^1.3.1",
Expand Down
12 changes: 11 additions & 1 deletion src/CONST.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions src/Expensify.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,7 @@ class Expensify extends PureComponent {
}

if (this.getAuthToken() && this.props.initialReportDataLoaded && this.props.isSidebarLoaded) {
BootSplash.getVisibilityStatus()
.then((value) => {
if (value !== 'visible') {
return;
}

this.hideSplash();
});
this.hideSplash();
}
}

Expand Down
4 changes: 4 additions & 0 deletions src/components/ExpensiTextInput/index.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const ExpensiTextInput = forwardRef((props, ref) => (
<BaseExpensiTextInput
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}

// Setting autoCompleteType to new-password throws an error on Android, so fall back to password in that case
// eslint-disable-next-line react/jsx-props-no-multi-spaces
autoCompleteType={props.autoCompleteType === 'new-password' ? 'password' : props.autoCompleteType}
innerRef={ref}
inputStyle={[
styles.expensiTextInput,
Expand Down
4 changes: 4 additions & 0 deletions src/components/ExpensiTextInput/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const ExpensiTextInput = forwardRef((props, ref) => (
<BaseExpensiTextInput
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}

// Setting autoCompleteType to new-password throws an error on iOS, so fall back to password in that case
// eslint-disable-next-line react/jsx-props-no-multi-spaces
autoCompleteType={props.autoCompleteType === 'new-password' ? 'password' : props.autoCompleteType}
innerRef={ref}
inputStyle={[styles.expensiTextInput]}
/>
Expand Down
6 changes: 4 additions & 2 deletions src/components/HTMLEngineProvider/BaseHTMLEngineProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import ThumbnailImage from '../ThumbnailImage';
import variables from '../../styles/variables';
import themeColors from '../../styles/themes/default';
import Text from '../Text';
import withLocalize from '../withLocalize';

const propTypes = {
/** Whether text elements should be selectable */
Expand Down Expand Up @@ -136,7 +137,7 @@ function EditedRenderer(props) {
>
{/* Native devices do not support margin between nested text */}
<Text style={styles.w1}>{' '}</Text>
(edited)
{props.translate('reportActionCompose.edited')}
</Text>
);
}
Expand Down Expand Up @@ -211,7 +212,7 @@ const renderers = {
a: AnchorRenderer,
code: CodeRenderer,
img: ImgRenderer,
edited: EditedRenderer,
edited: withLocalize(EditedRenderer),
};

const renderersProps = {
Expand All @@ -233,6 +234,7 @@ const defaultViewProps = {style: {alignItems: 'flex-start'}};
const BaseHTMLEngineProvider = ({children, textSelectable}) => {
// We need to memoize this prop to make it referentially stable.
const defaultTextProps = useMemo(() => ({selectable: textSelectable}), [textSelectable]);

return (
<TRenderEngineProvider
customHTMLElementModels={customHTMLElementModels}
Expand Down
Loading