Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into 49741-expense-previ…
Browse files Browse the repository at this point in the history
…ew-temporary-hidden
  • Loading branch information
huult committed Nov 7, 2024
2 parents 01a2f1f + f05be95 commit d557c9e
Show file tree
Hide file tree
Showing 109 changed files with 1,603 additions and 922 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1009005800
versionName "9.0.58-0"
versionCode 1009005801
versionName "9.0.58-1"
// Supported language variants must be declared here to avoid from being removed during the compilation.
// This also helps us to not include unnecessary language variants in the APK.
resConfigs "en", "es"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ When you upgrade the Expensify Cards to the new program, you'll have access to e
- Unique naming for each virtual card for simplified expense categorization

{% include info.html %}
The Expensify Card upgrade must be completed by November 1, 2024.
The Expensify Card upgrade must be completed by December 1, 2024.
{% include end-info.html %}

# Upgrade your company’s Expensify Card program
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/SageConnectEnableSage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ios/NewExpensify/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>9.0.58.0</string>
<string>9.0.58.1</string>
<key>FullStory</key>
<dict>
<key>OrgId</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>9.0.58.0</string>
<string>9.0.58.1</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion ios/NotificationServiceExtension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleShortVersionString</key>
<string>9.0.58</string>
<key>CFBundleVersion</key>
<string>9.0.58.0</string>
<string>9.0.58.1</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand Down
11 changes: 6 additions & 5 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": "9.0.58-0",
"version": "9.0.58-1",
"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 @@ -173,7 +173,7 @@
"react-native-url-polyfill": "^2.0.0",
"react-native-view-shot": "3.8.0",
"react-native-vision-camera": "4.0.0-beta.13",
"react-native-web": "^0.19.12",
"react-native-web": "0.19.13",
"react-native-webview": "13.8.6",
"react-plaid-link": "3.3.2",
"react-web-config": "^1.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/node_modules/react-native-web/dist/vendor/react-native/VirtualizedList/index.js b/node_modules/react-native-web/dist/vendor/react-native/VirtualizedList/index.js
index e137def..c3e5054 100644
index 1f52b73..53b1a83 100644
--- a/node_modules/react-native-web/dist/vendor/react-native/VirtualizedList/index.js
+++ b/node_modules/react-native-web/dist/vendor/react-native/VirtualizedList/index.js
@@ -285,7 +285,7 @@ class VirtualizedList extends StateSafePureComponent {
@@ -287,7 +287,7 @@ class VirtualizedList extends StateSafePureComponent {
// REACT-NATIVE-WEB patch to preserve during future RN merges: Support inverted wheel scroller.

constructor(_props) {
Expand All @@ -11,7 +11,7 @@ index e137def..c3e5054 100644
super(_props);
this._getScrollMetrics = () => {
return this._scrollMetrics;
@@ -520,6 +520,11 @@ class VirtualizedList extends StateSafePureComponent {
@@ -522,6 +522,11 @@ class VirtualizedList extends StateSafePureComponent {
visibleLength,
zoomScale
};
Expand All @@ -23,7 +23,7 @@ index e137def..c3e5054 100644
this._updateViewableItems(this.props, this.state.cellsAroundViewport);
if (!this.props) {
return;
@@ -569,7 +574,7 @@ class VirtualizedList extends StateSafePureComponent {
@@ -571,7 +576,7 @@ class VirtualizedList extends StateSafePureComponent {
this._updateCellsToRender = () => {
this._updateViewableItems(this.props, this.state.cellsAroundViewport);
this.setState((state, props) => {
Expand All @@ -32,7 +32,7 @@ index e137def..c3e5054 100644
var renderMask = VirtualizedList._createRenderMask(props, cellsAroundViewport, this._getNonViewportRenderRegions(props));
if (cellsAroundViewport.first === state.cellsAroundViewport.first && cellsAroundViewport.last === state.cellsAroundViewport.last && renderMask.equals(state.renderMask)) {
return null;
@@ -589,7 +594,7 @@ class VirtualizedList extends StateSafePureComponent {
@@ -591,7 +596,7 @@ class VirtualizedList extends StateSafePureComponent {
return {
index,
item,
Expand All @@ -41,7 +41,7 @@ index e137def..c3e5054 100644
isViewable
};
};
@@ -621,12 +626,10 @@ class VirtualizedList extends StateSafePureComponent {
@@ -623,12 +628,10 @@ class VirtualizedList extends StateSafePureComponent {
};
this._getFrameMetrics = (index, props) => {
var data = props.data,
Expand All @@ -55,7 +55,7 @@ index e137def..c3e5054 100644
if (!frame || frame.index !== index) {
if (getItemLayout) {
/* $FlowFixMe[prop-missing] (>=0.63.0 site=react_native_fb) This comment
@@ -650,7 +653,7 @@ class VirtualizedList extends StateSafePureComponent {
@@ -652,7 +655,7 @@ class VirtualizedList extends StateSafePureComponent {

// The last cell we rendered may be at a new index. Bail if we don't know
// where it is.
Expand All @@ -64,7 +64,7 @@ index e137def..c3e5054 100644
return [];
}
var first = focusedCellIndex;
@@ -690,9 +693,15 @@ class VirtualizedList extends StateSafePureComponent {
@@ -692,9 +695,15 @@ class VirtualizedList extends StateSafePureComponent {
}
}
var initialRenderRegion = VirtualizedList._initialRenderRegion(_props);
Expand All @@ -81,7 +81,7 @@ index e137def..c3e5054 100644
};

// REACT-NATIVE-WEB patch to preserve during future RN merges: Support inverted wheel scroller.
@@ -748,6 +757,26 @@ class VirtualizedList extends StateSafePureComponent {
@@ -750,6 +759,26 @@ class VirtualizedList extends StateSafePureComponent {
}
}
}
Expand All @@ -108,7 +108,7 @@ index e137def..c3e5054 100644
static _createRenderMask(props, cellsAroundViewport, additionalRegions) {
var itemCount = props.getItemCount(props.data);
invariant(cellsAroundViewport.first >= 0 && cellsAroundViewport.last >= cellsAroundViewport.first - 1 && cellsAroundViewport.last < itemCount, "Invalid cells around viewport \"[" + cellsAroundViewport.first + ", " + cellsAroundViewport.last + "]\" was passed to VirtualizedList._createRenderMask");
@@ -796,7 +825,7 @@ class VirtualizedList extends StateSafePureComponent {
@@ -798,7 +827,7 @@ class VirtualizedList extends StateSafePureComponent {
}
}
}
Expand All @@ -117,7 +117,7 @@ index e137def..c3e5054 100644
var data = props.data,
getItemCount = props.getItemCount;
var onEndReachedThreshold = onEndReachedThresholdOrDefault(props.onEndReachedThreshold);
@@ -819,17 +848,9 @@ class VirtualizedList extends StateSafePureComponent {
@@ -821,17 +850,9 @@ class VirtualizedList extends StateSafePureComponent {
last: Math.min(cellsAroundViewport.last + renderAhead, getItemCount(data) - 1)
};
} else {
Expand All @@ -138,7 +138,7 @@ index e137def..c3e5054 100644
return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
}
newCellsAroundViewport = computeWindowedRenderLimits(props, maxToRenderPerBatchOrDefault(props.maxToRenderPerBatch), windowSizeOrDefault(props.windowSize), cellsAroundViewport, this.__getFrameMetricsApprox, this._scrollMetrics);
@@ -902,16 +923,36 @@ class VirtualizedList extends StateSafePureComponent {
@@ -904,16 +925,36 @@ class VirtualizedList extends StateSafePureComponent {
}
}
static getDerivedStateFromProps(newProps, prevState) {
Expand Down Expand Up @@ -177,7 +177,7 @@ index e137def..c3e5054 100644
};
}
_pushCells(cells, stickyHeaderIndices, stickyIndicesFromProps, first, last, inversionStyle) {
@@ -934,7 +975,7 @@ class VirtualizedList extends StateSafePureComponent {
@@ -936,7 +977,7 @@ class VirtualizedList extends StateSafePureComponent {
last = Math.min(end, last);
var _loop = function _loop() {
var item = getItem(data, ii);
Expand All @@ -186,7 +186,7 @@ index e137def..c3e5054 100644
_this._indicesToKeys.set(ii, key);
if (stickyIndicesFromProps.has(ii + stickyOffset)) {
stickyHeaderIndices.push(cells.length);
@@ -969,20 +1010,23 @@ class VirtualizedList extends StateSafePureComponent {
@@ -971,20 +1012,23 @@ class VirtualizedList extends StateSafePureComponent {
}
static _constrainToItemCount(cells, props) {
var itemCount = props.getItemCount(props.data);
Expand Down Expand Up @@ -216,8 +216,8 @@ index e137def..c3e5054 100644
if (props.keyExtractor != null) {
return props.keyExtractor(item, index);
}
@@ -1022,7 +1066,12 @@ class VirtualizedList extends StateSafePureComponent {
cells.push( /*#__PURE__*/React.createElement(VirtualizedListCellContextProvider, {
@@ -1024,7 +1068,12 @@ class VirtualizedList extends StateSafePureComponent {
cells.push(/*#__PURE__*/React.createElement(VirtualizedListCellContextProvider, {
cellKey: this._getCellKey() + '-header',
key: "$header"
- }, /*#__PURE__*/React.createElement(View, {
Expand All @@ -230,7 +230,7 @@ index e137def..c3e5054 100644
onLayout: this._onLayoutHeader,
style: [inversionStyle, this.props.ListHeaderComponentStyle]
},
@@ -1124,7 +1173,11 @@ class VirtualizedList extends StateSafePureComponent {
@@ -1126,7 +1175,11 @@ class VirtualizedList extends StateSafePureComponent {
// TODO: Android support
invertStickyHeaders: this.props.invertStickyHeaders !== undefined ? this.props.invertStickyHeaders : this.props.inverted,
stickyHeaderIndices,
Expand All @@ -243,7 +243,7 @@ index e137def..c3e5054 100644
});
this._hasMore = this.state.cellsAroundViewport.last < itemCount - 1;
var innerRet = /*#__PURE__*/React.createElement(VirtualizedListContextProvider, {
@@ -1317,8 +1370,12 @@ class VirtualizedList extends StateSafePureComponent {
@@ -1319,8 +1372,12 @@ class VirtualizedList extends StateSafePureComponent {
onStartReached = _this$props8.onStartReached,
onStartReachedThreshold = _this$props8.onStartReachedThreshold,
onEndReached = _this$props8.onEndReached,
Expand All @@ -258,7 +258,7 @@ index e137def..c3e5054 100644
var _this$_scrollMetrics2 = this._scrollMetrics,
contentLength = _this$_scrollMetrics2.contentLength,
visibleLength = _this$_scrollMetrics2.visibleLength,
@@ -1358,16 +1415,10 @@ class VirtualizedList extends StateSafePureComponent {
@@ -1360,16 +1417,10 @@ class VirtualizedList extends StateSafePureComponent {
// and call onStartReached only once for a given content length,
// and only if onEndReached is not being executed
else if (onStartReached != null && this.state.cellsAroundViewport.first === 0 && isWithinStartThreshold && this._scrollMetrics.contentLength !== this._sentStartForContentLength) {
Expand All @@ -279,7 +279,7 @@ index e137def..c3e5054 100644
}

// If the user scrolls away from the start or end and back again,
@@ -1433,6 +1484,11 @@ class VirtualizedList extends StateSafePureComponent {
@@ -1435,6 +1486,11 @@ class VirtualizedList extends StateSafePureComponent {
*/

_updateViewableItems(props, cellsAroundViewport) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/node_modules/react-native-web/dist/modules/AccessibilityUtil/propsToAccessibilityComponent.js b/node_modules/react-native-web/dist/modules/AccessibilityUtil/propsToAccessibilityComponent.js
index 9c9a533..7794181 100644
index 7d1d587..de51afe 100644
--- a/node_modules/react-native-web/dist/modules/AccessibilityUtil/propsToAccessibilityComponent.js
+++ b/node_modules/react-native-web/dist/modules/AccessibilityUtil/propsToAccessibilityComponent.js
@@ -27,7 +27,8 @@ var roleComponents = {
Expand All @@ -13,7 +13,7 @@ index 9c9a533..7794181 100644
var emptyObject = {};
var propsToAccessibilityComponent = function propsToAccessibilityComponent(props) {
diff --git a/node_modules/react-native-web/dist/vendor/react-native/VirtualizedList/index.js b/node_modules/react-native-web/dist/vendor/react-native/VirtualizedList/index.js
index 7f6c880..b05da08 100644
index 53b1a83..5689220 100644
--- a/node_modules/react-native-web/dist/vendor/react-native/VirtualizedList/index.js
+++ b/node_modules/react-native-web/dist/vendor/react-native/VirtualizedList/index.js
@@ -78,14 +78,6 @@ function scrollEventThrottleOrDefault(scrollEventThrottle) {
Expand All @@ -31,7 +31,7 @@ index 7f6c880..b05da08 100644

/**
* Base implementation for the more convenient [`<FlatList>`](https://reactnative.dev/docs/flatlist)
@@ -1107,7 +1099,8 @@ class VirtualizedList extends StateSafePureComponent {
@@ -1109,7 +1101,8 @@ class VirtualizedList extends StateSafePureComponent {
_keylessItemComponentName = '';
var spacerKey = this._getSpacerKey(!horizontal);
var renderRegions = this.state.renderMask.enumerateRegions();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/node_modules/react-native-web/dist/exports/Image/index.js b/node_modules/react-native-web/dist/exports/Image/index.js
index 9649d27..66ef95c 100644
index 348831d..ca40ee8 100644
--- a/node_modules/react-native-web/dist/exports/Image/index.js
+++ b/node_modules/react-native-web/dist/exports/Image/index.js
@@ -135,7 +135,22 @@ function resolveAssetUri(source) {
@@ -137,7 +137,22 @@ function resolveAssetUri(source) {
}
return uri;
}
Expand All @@ -13,7 +13,7 @@ index 9649d27..66ef95c 100644
+ if (onError) {
+ onError({
+ nativeEvent: {
+ error: "Failed to load resource " + uri + " (404)"
+ error: "Failed to load resource " + uri
+ }
+ });
+ }
Expand All @@ -26,14 +26,14 @@ index 9649d27..66ef95c 100644
var _ariaLabel = props['aria-label'],
accessibilityLabel = props.accessibilityLabel,
blurRadius = props.blurRadius,
@@ -238,16 +253,10 @@ var Image = /*#__PURE__*/React.forwardRef((props, ref) => {
@@ -240,16 +255,10 @@ var Image = /*#__PURE__*/React.forwardRef((props, ref) => {
}
}, function error() {
updateState(ERRORED);
- if (onError) {
- onError({
- nativeEvent: {
- error: "Failed to load resource " + uri + " (404)"
- error: "Failed to load resource " + uri
- }
- });
- }
Expand All @@ -47,7 +47,7 @@ index 9649d27..66ef95c 100644
});
}
function abortPendingRequest() {
@@ -279,10 +288,79 @@ var Image = /*#__PURE__*/React.forwardRef((props, ref) => {
@@ -281,10 +290,79 @@ var Image = /*#__PURE__*/React.forwardRef((props, ref) => {
suppressHydrationWarning: true
}), hiddenImage, createTintColorSVG(tintColor, filterRef.current));
});
Expand Down
Loading

0 comments on commit d557c9e

Please sign in to comment.