Skip to content

Commit e63af3c

Browse files
committed
Merge branch 'main' into fix/70660-enable-unreported-expenses-restore
2 parents 110e327 + 3e4193a commit e63af3c

88 files changed

Lines changed: 11211 additions & 12427 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,5 +390,11 @@ module.exports = {
390390
'rulesdir/boolean-conditional-rendering': 'error',
391391
},
392392
},
393+
{
394+
files: ['src/**/*.ts', 'src/**/*.tsx'],
395+
rules: {
396+
'rulesdir/prefer-locale-compare-from-context': 'error',
397+
},
398+
},
393399
],
394400
};

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
with:
7676
token: ${{ steps.load-codecov-token.outputs.CODECOV_TOKEN }}
7777
files: coverage/shard-${{ matrix.chunk }}/coverage-final.json,coverage/shard-${{ matrix.chunk }}/lcov.info
78-
flags: unit,shard-${{ matrix.chunk }}
78+
flags: unit
7979
name: jest-${{ matrix.chunk }}
8080
disable_search: true
8181
fail_ci_if_error: true

Mobile-Expensify

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ android {
114114
minSdkVersion rootProject.ext.minSdkVersion
115115
targetSdkVersion rootProject.ext.targetSdkVersion
116116
multiDexEnabled rootProject.ext.multiDexEnabled
117-
versionCode 1009021806
118-
versionName "9.2.18-6"
117+
versionCode 1009021900
118+
versionName "9.2.19-0"
119119
// Supported language variants must be declared here to avoid from being removed during the compilation.
120120
// This also helps us to not include unnecessary language variants in the APK.
121121
resConfigs "en", "es"

codecov.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ coverage:
99
default:
1010
informational: true
1111
target: auto
12+
threshold: 1%
1213

1314
codecov:
1415
notify:
@@ -17,8 +18,9 @@ codecov:
1718

1819
comment:
1920
require_changes: "coverage_drop OR uncovered_patch"
20-
layout: "condensed_header, condensed_files, condensed_footer"
21+
layout: "condensed_header, diff, condensed_footer"
2122
behavior: default
23+
hide_project_coverage: true
2224

2325
flags:
2426
unit:

contributingGuides/STYLING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44

55
Styles can either be theme-related or not. "Theme-related" means that a style contains some sort of color attributes (backgroundColor, color, borderColor). "Non-theme-related" styles may not contain no color attributes.
66

7-
All non-theme-related styles must be defined in the `/styles` directory and `styles.js` contains the final export after gathering all appropriate styles. Unlike some React Native applications, we are not using `StyleSheet.create()` and instead store styles as plain JS objects. There are also many helper styles available for direct use in components.
7+
All non-theme-related styles must be defined in the `/styles` directory and `styles.js` contains the final export after gathering all appropriate styles. There are also many helper styles available for direct use in components.
8+
9+
The styles are grouped into:
10+
- `staticStyles` - object wrapped into `StyleSheet.create()` which contains static styles based on the `theme`.
11+
- `dynamicStyles` - object that contains functions which return dynamic styles
812

913
All styles that contain theme colors have to be defined in the `ThemeStylesProvider` component, as those need to be dynamically created and animated.
1014

contributingGuides/philosophies/ROUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ Aim for the shortest possible URL that is also still human readable.
2121
Exceptions:
2222
- When abbreviated paths are used in specific instances like `r/` (for reports) and `a/` (for accounts) for strategic purposes
2323

24+
### - SHOULD use human readable names before using IDs
25+
Example:
26+
1. `domain/expensify.com/settings` - It's better to use the domain name "expensify.com" rather than an ID because it is readable, won't ever change, and is not a privacy or security concern
27+
28+
Exceptions:
29+
- When there would be PII (personally identifiable information) that would leak in the URL like email addresses, use an ID instead
30+
- When the name can be updated but the path remains the same (eg. a workspace name), use an ID instead
31+
2432
### - MUST use kebab-case for all parts of a URL (eg. words separated by hyphens)
2533
### - MUST use all lower case words
2634
### - MUST be defined in `ROUTES.ts`

ios/NewExpensify/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<key>CFBundlePackageType</key>
2424
<string>APPL</string>
2525
<key>CFBundleShortVersionString</key>
26-
<string>9.2.18</string>
26+
<string>9.2.19</string>
2727
<key>CFBundleSignature</key>
2828
<string>????</string>
2929
<key>CFBundleURLTypes</key>
@@ -44,7 +44,7 @@
4444
</dict>
4545
</array>
4646
<key>CFBundleVersion</key>
47-
<string>9.2.18.6</string>
47+
<string>9.2.19.0</string>
4848
<key>FullStory</key>
4949
<dict>
5050
<key>OrgId</key>

ios/NotificationServiceExtension/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<key>CFBundleName</key>
1212
<string>$(PRODUCT_NAME)</string>
1313
<key>CFBundleShortVersionString</key>
14-
<string>9.2.18</string>
14+
<string>9.2.19</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.2.18.6</string>
16+
<string>9.2.19.0</string>
1717
<key>NSExtension</key>
1818
<dict>
1919
<key>NSExtensionPointIdentifier</key>

ios/ShareViewController/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<key>CFBundleName</key>
1212
<string>$(PRODUCT_NAME)</string>
1313
<key>CFBundleShortVersionString</key>
14-
<string>9.2.18</string>
14+
<string>9.2.19</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.2.18.6</string>
16+
<string>9.2.19.0</string>
1717
<key>NSExtension</key>
1818
<dict>
1919
<key>NSExtensionAttributes</key>

0 commit comments

Comments
 (0)