Skip to content

Commit

Permalink
WIP: 1777d7e Merge pull request Expensify#43140 from Expensify/cmarti…
Browse files Browse the repository at this point in the history
…ns-fixButtonWidthDisableTaxSorting
  • Loading branch information
allroundexperts committed Jun 27, 2024
2 parents 9fe0582 + 5e464ea commit d11ae96
Show file tree
Hide file tree
Showing 69 changed files with 1,503 additions and 617 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1009000200
versionName "9.0.2-0"
versionCode 1009000203
versionName "9.0.2-3"
// 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 @@ -46,6 +46,12 @@ Log in to QuickBooks Online and ensure all of your employees are setup as either
<li>Enter your Intuit login details to import your settings from QuickBooks Online to Expensify.</li>
</ol>

![The toggle location to enable accounting integrations like QuickBooks Online]({{site.url}}/assets/images/ExpensifyHelp-QBO-1.png){:width="100%"}

![How to enable accounting integrations like QuickBooks Online]({{site.url}}/assets/images/ExpensifyHelp-QBO-2.png){:width="100%"}

![The QuickBooks Online Connect button]({{site.url}}/assets/images/ExpensifyHelp-QBO-3.png){:width="100%"}

# Step 3: Configure import settings

The following steps help you determine how data will be imported from QuickBooks Online to Expensify.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ To set up your Xero connection, complete the 4 steps below.
<li>Enter your Xero login details to import your settings from Xero to Expensify.</li>
</ol>

![The toggle location to enable accounting integrations like QuickBooks Online]({{site.url}}/assets/images/ExpensifyHelp-Xero-1.png){:width="100%"}

![How to enable accounting integrations like QuickBooks Online]({{site.url}}/assets/images/ExpensifyHelp-Xero-2.png){:width="100%"}

![The QuickBooks Online Connect button]({{site.url}}/assets/images/ExpensifyHelp-Xero-3.png){:width="100%"}

# Step 2: Configure import settings

The following steps help you determine how data will be imported from Xero to Expensify.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ To approve an expense,
{% include info.html %}
Admins can modify an expense, if needed.
{% include end-info.html %}


![The approve button in an expense]({{site.url}}/assets/images/ExpensifyHelp_ApproveExpense_1.png){:width="100%"}

![The approve button when you click into the expense]({{site.url}}/assets/images/ExpensifyHelp_ApproveExpense_2.png){:width="100%"}

You’re now ready to pay the expense.

# Hold an expense
Expand Down
Binary file modified ios/NewApp_AdHoc.mobileprovision.gpg
Binary file not shown.
Binary file modified ios/NewApp_AdHoc_Notification_Service.mobileprovision.gpg
Binary file not shown.
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.2.0</string>
<string>9.0.2.3</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.2.0</string>
<string>9.0.2.3</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.2</string>
<key>CFBundleVersion</key>
<string>9.0.2.0</string>
<string>9.0.2.3</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand Down
126 changes: 124 additions & 2 deletions package-lock.json

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

7 changes: 5 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.2-0",
"version": "9.0.2-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 @@ -36,7 +36,7 @@
"android-build-e2edelta": "bundle exec fastlane android build_e2edelta",
"test": "TZ=utc NODE_OPTIONS=--experimental-vm-modules jest",
"typecheck": "tsc",
"lint": "eslint . --max-warnings=0 --cache --cache-location=node_modules/.cache/eslint",
"lint": "NODE_OPTIONS=--max_old_space_size=8192 eslint . --max-warnings=0 --cache --cache-location=node_modules/.cache/eslint",
"lint-changed": "eslint --fix $(git diff --diff-filter=AM --name-only main -- \"*.js\" \"*.ts\" \"*.tsx\")",
"lint-watch": "npx eslint-watch --watch --changed",
"shellcheck": "./scripts/shellCheck.sh",
Expand Down Expand Up @@ -208,6 +208,9 @@
"@octokit/core": "4.0.4",
"@octokit/plugin-paginate-rest": "3.1.0",
"@octokit/plugin-throttling": "4.1.0",
"@perf-profiler/profiler": "^0.10.9",
"@perf-profiler/reporter": "^0.8.1",
"@perf-profiler/types": "^0.8.0",
"@react-native-community/eslint-config": "3.2.0",
"@react-native/babel-preset": "^0.73.21",
"@react-native/metro-config": "^0.73.5",
Expand Down
54 changes: 54 additions & 0 deletions patches/@perf-profiler+android+0.12.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
diff --git a/node_modules/@perf-profiler/android/dist/src/commands.js b/node_modules/@perf-profiler/android/dist/src/commands.js
old mode 100755
new mode 100644
diff --git a/node_modules/@perf-profiler/android/dist/src/commands/platforms/UnixProfiler.js b/node_modules/@perf-profiler/android/dist/src/commands/platforms/UnixProfiler.js
index 77b9ee0..59aeed9 100644
--- a/node_modules/@perf-profiler/android/dist/src/commands/platforms/UnixProfiler.js
+++ b/node_modules/@perf-profiler/android/dist/src/commands/platforms/UnixProfiler.js
@@ -134,7 +134,20 @@ class UnixProfiler {
}
const subProcessesStats = (0, getCpuStatsByProcess_1.processOutput)(cpu, pid);
const ram = (0, pollRamUsage_1.processOutput)(ramStr, this.getRAMPageSize());
- const { frameTimes, interval: atraceInterval } = frameTimeParser.getFrameTimes(atrace, pid);
+
+ let output;
+ try {
+ output = frameTimeParser.getFrameTimes(atrace, pid);
+ } catch (e) {
+ console.error(e);
+ }
+
+ if (!output) {
+ return;
+ }
+
+ const { frameTimes, interval: atraceInterval } = output;
+
if (!initialTime) {
initialTime = timestamp;
}
diff --git a/node_modules/@perf-profiler/android/src/commands/platforms/UnixProfiler.ts b/node_modules/@perf-profiler/android/src/commands/platforms/UnixProfiler.ts
index d6983c1..ccacf09 100644
--- a/node_modules/@perf-profiler/android/src/commands/platforms/UnixProfiler.ts
+++ b/node_modules/@perf-profiler/android/src/commands/platforms/UnixProfiler.ts
@@ -136,7 +136,19 @@ export abstract class UnixProfiler implements Profiler {
const subProcessesStats = processOutput(cpu, pid);

const ram = processRamOutput(ramStr, this.getRAMPageSize());
- const { frameTimes, interval: atraceInterval } = frameTimeParser.getFrameTimes(atrace, pid);
+
+ let output;
+ try {
+ output = frameTimeParser.getFrameTimes(atrace, pid);
+ } catch (e) {
+ console.error(e);
+ }
+
+ if (!output) {
+ return;
+ }
+
+ const { frameTimes, interval: atraceInterval } = output;

if (!initialTime) {
initialTime = timestamp;
25 changes: 25 additions & 0 deletions patches/@perf-profiler+reporter+0.8.1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
diff --git a/node_modules/@perf-profiler/reporter/dist/src/index.d.ts b/node_modules/@perf-profiler/reporter/dist/src/index.d.ts
index 2f84d84..14ae688 100644
--- a/node_modules/@perf-profiler/reporter/dist/src/index.d.ts
+++ b/node_modules/@perf-profiler/reporter/dist/src/index.d.ts
@@ -4,4 +4,6 @@ export * from "./reporting/Report";
export * from "./utils/sanitizeProcessName";
export * from "./utils/round";
export * from "./reporting/cpu";
+export * from "./reporting/ram";
+export * from "./reporting/fps";
export { canComputeHighCpuUsage } from "./reporting/highCpu";
diff --git a/node_modules/@perf-profiler/reporter/dist/src/index.js b/node_modules/@perf-profiler/reporter/dist/src/index.js
index 4b50e3a..780963a 100644
--- a/node_modules/@perf-profiler/reporter/dist/src/index.js
+++ b/node_modules/@perf-profiler/reporter/dist/src/index.js
@@ -21,6 +21,8 @@ __exportStar(require("./reporting/Report"), exports);
__exportStar(require("./utils/sanitizeProcessName"), exports);
__exportStar(require("./utils/round"), exports);
__exportStar(require("./reporting/cpu"), exports);
+__exportStar(require("./reporting/fps"), exports);
+__exportStar(require("./reporting/ram"), exports);
var highCpu_1 = require("./reporting/highCpu");
Object.defineProperty(exports, "canComputeHighCpuUsage", { enumerable: true, get: function () { return highCpu_1.canComputeHighCpuUsage; } });
//# sourceMappingURL=index.js.map
\ No newline at end of file
1 change: 1 addition & 0 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ const CONST = {
ONFIDO_TERMS_OF_SERVICE_URL: 'https://onfido.com/terms-of-service/',
LIST_OF_RESTRICTED_BUSINESSES: 'https://community.expensify.com/discussion/6191/list-of-restricted-businesses',
TRAVEL_TERMS_URL: `${USE_EXPENSIFY_URL}/travelterms`,
PRICING: `https://www.expensify.com/pricing`,

// Use Environment.getEnvironmentURL to get the complete URL with port number
DEV_NEW_EXPENSIFY_URL: 'https://dev.new.expensify.com:',
Expand Down
Loading

0 comments on commit d11ae96

Please sign in to comment.