forked from Expensify/App
-
Notifications
You must be signed in to change notification settings - Fork 1
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' of https://github.com/Expensify/App into feat/#Ex…
…pensify#23220-bidirectional-pagination
- Loading branch information
Showing
35 changed files
with
701 additions
and
346 deletions.
There are no files selected for viewing
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
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
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
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {StartTrace, StopTrace} from './types'; | ||
|
||
/** Web does not use Firebase for performance tracing */ | ||
const startTrace: StartTrace = () => {}; | ||
const stopTrace: StopTrace = () => {}; | ||
|
||
export default { | ||
startTrace, | ||
stopTrace, | ||
}; |
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,11 @@ | ||
import {FirebasePerformanceTypes} from '@react-native-firebase/perf'; | ||
|
||
type Trace = { | ||
trace: FirebasePerformanceTypes.Trace; | ||
start: number; | ||
}; | ||
type TraceMap = Record<string, Trace>; | ||
type StartTrace = (customEventName: string) => void; | ||
type StopTrace = (customEventName: string) => void; | ||
|
||
export type {StartTrace, StopTrace, TraceMap}; |
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,23 @@ | ||
/** | ||
* Place the cursor at the end of the value (if there is a value in the input). | ||
* | ||
* When a multiline input contains a text value that goes beyond the scroll height, the cursor will be placed | ||
* at the end of the text value, and automatically scroll the input field to this position after the field gains | ||
* focus. This provides a better user experience in cases where the text in the field has to be edited. The auto- | ||
* scroll behaviour works on all platforms except iOS native. | ||
* See https://github.com/Expensify/App/issues/20836 for more details. | ||
* | ||
* @param {Object} input the input element | ||
*/ | ||
export default function updateMultilineInputRange(input) { | ||
if (!input) { | ||
return; | ||
} | ||
|
||
/* | ||
* Adding this iOS specific patch because of the scroll issue in native iOS | ||
* Issue: does not scroll multiline input when text exceeds the maximum number of lines | ||
* For more details: https://github.com/Expensify/App/pull/27702#issuecomment-1728651132 | ||
*/ | ||
input.focus(); | ||
} |
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.