forked from Expensify/App
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ts-migration/HTMLRenderers
# Conflicts: # src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js
- Loading branch information
Showing
92 changed files
with
4,588 additions
and
1,015 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type {FirebaseCrashlyticsTypes} from '@react-native-firebase/crashlytics'; | ||
|
||
type CrashlyticsModule = Pick<FirebaseCrashlyticsTypes.Module, 'log' | 'recordError' | 'setCrashlyticsCollectionEnabled'>; | ||
|
||
type CrashlyticsMock = () => CrashlyticsModule; | ||
|
||
// <App> uses <ErrorBoundary> and we need to mock the imported crashlytics module | ||
// due to an error that happens otherwise https://github.com/invertase/react-native-firebase/issues/2475 | ||
const crashlyticsMock: CrashlyticsMock = () => ({ | ||
log: jest.fn(), | ||
recordError: jest.fn(), | ||
setCrashlyticsCollectionEnabled: jest.fn(), | ||
}); | ||
|
||
export default crashlyticsMock; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
type PerfMock = () => void; | ||
|
||
const perfMock: PerfMock = () => {}; | ||
|
||
export default perfMock; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import type {Freeze as FreezeComponent} from 'react-freeze'; | ||
|
||
const Freeze: typeof FreezeComponent = (props) => props.children as JSX.Element; | ||
|
||
export { | ||
// eslint-disable-next-line import/prefer-default-export | ||
Freeze, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 0 additions & 65 deletions
65
docs/articles/expensify-classic/getting-started/Using-The-App.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "new.expensify", | ||
"version": "1.4.38-0", | ||
"version": "1.4.38-4", | ||
"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.", | ||
|
@@ -59,7 +59,7 @@ | |
}, | ||
"dependencies": { | ||
"@dotlottie/react-player": "^1.6.3", | ||
"@expensify/react-native-live-markdown": "git+ssh://[email protected]/Expensify/react-native-live-markdown.git#2ed4240336e50abb4a7fa9ff6a3c180f8bc9ce5b", | ||
"@expensify/react-native-live-markdown": "git+ssh://[email protected]/Expensify/react-native-live-markdown.git#77f85a5265043c6100f1fa65edd58901724faf08", | ||
"@expo/metro-runtime": "~3.1.1", | ||
"@formatjs/intl-datetimeformat": "^6.10.0", | ||
"@formatjs/intl-getcanonicallocales": "^2.2.0", | ||
|
32 changes: 32 additions & 0 deletions
32
patches/@react-native+virtualized-lists+0.73.4+001+onStartReched.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
diff --git a/node_modules/@react-native/virtualized-lists/Lists/VirtualizedList.js b/node_modules/@react-native/virtualized-lists/Lists/VirtualizedList.js | ||
index 0516679..e338d90 100644 | ||
--- a/node_modules/@react-native/virtualized-lists/Lists/VirtualizedList.js | ||
+++ b/node_modules/@react-native/virtualized-lists/Lists/VirtualizedList.js | ||
@@ -1546,7 +1546,7 @@ class VirtualizedList extends StateSafePureComponent<Props, State> { | ||
// Next check if the user just scrolled within the start threshold | ||
// and call onStartReached only once for a given content length, | ||
// and only if onEndReached is not being executed | ||
- else if ( | ||
+ if ( | ||
onStartReached != null && | ||
this.state.cellsAroundViewport.first === 0 && | ||
isWithinStartThreshold && | ||
@@ -1558,13 +1558,11 @@ class VirtualizedList extends StateSafePureComponent<Props, State> { | ||
|
||
// If the user scrolls away from the start or end and back again, | ||
// cause onStartReached or onEndReached to be triggered again | ||
- else { | ||
- this._sentStartForContentLength = isWithinStartThreshold | ||
- ? this._sentStartForContentLength | ||
- : 0; | ||
- this._sentEndForContentLength = isWithinEndThreshold | ||
- ? this._sentEndForContentLength | ||
- : 0; | ||
+ if (!isWithinStartThreshold) { | ||
+ this._sentStartForContentLength = 0; | ||
+ } | ||
+ if (!isWithinEndThreshold) { | ||
+ this._sentEndForContentLength = 0; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.