From f2c17141ce0c9a46295679539a62d5581d8231a9 Mon Sep 17 00:00:00 2001 From: Huu Le <20178761+huult@users.noreply.github.com> Date: Sat, 28 Sep 2024 13:28:21 +0700 Subject: [PATCH 1/5] fix deleted expense still visible offline Signed-off-by: Huu Le <20178761+huult@users.noreply.github.com> --- src/libs/Middleware/SaveResponseInOnyx.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/Middleware/SaveResponseInOnyx.ts b/src/libs/Middleware/SaveResponseInOnyx.ts index f895542df481..02532d11e412 100644 --- a/src/libs/Middleware/SaveResponseInOnyx.ts +++ b/src/libs/Middleware/SaveResponseInOnyx.ts @@ -7,6 +7,7 @@ import type Middleware from './types'; // date because all these requests are updating the app to the most current state. const requestsToIgnoreLastUpdateID: string[] = [ WRITE_COMMANDS.OPEN_APP, + WRITE_COMMANDS.DELETE_MONEY_REQUEST, SIDE_EFFECT_REQUEST_COMMANDS.RECONNECT_APP, WRITE_COMMANDS.CLOSE_ACCOUNT, SIDE_EFFECT_REQUEST_COMMANDS.GET_MISSING_ONYX_MESSAGES, From b9e4554ee19baa00c04aa6833853ad14c17b8c88 Mon Sep 17 00:00:00 2001 From: Huu Le <20178761+huult@users.noreply.github.com> Date: Sat, 28 Sep 2024 14:07:42 +0700 Subject: [PATCH 2/5] chore run prettier Signed-off-by: Huu Le <20178761+huult@users.noreply.github.com> --- help/index.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/help/index.markdown b/help/index.markdown index e5d075402ecb..b198c5e20781 100644 --- a/help/index.markdown +++ b/help/index.markdown @@ -1,5 +1,7 @@ --- title: New Expensify Help --- + Pages: -* [Expensify Superapp](/superapp.html) + +- [Expensify Superapp](/superapp.html) From 5fef1cb688e16e73e800fdf509c5cf09c7bfba82 Mon Sep 17 00:00:00 2001 From: Huu Le <20178761+huult@users.noreply.github.com> Date: Mon, 30 Sep 2024 16:57:14 +0700 Subject: [PATCH 3/5] revert help file and move the DELETE_MONEY_REQUEST command under CLOSE_ACCOUNT --- help/index.md | 4 +--- src/libs/Middleware/SaveResponseInOnyx.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/help/index.md b/help/index.md index b198c5e20781..e5db0e676835 100644 --- a/help/index.md +++ b/help/index.md @@ -1,7 +1,5 @@ --- title: New Expensify Help --- - Pages: - -- [Expensify Superapp](/superapp.html) +* [Expensify Superapp](/superapp.html) \ No newline at end of file diff --git a/src/libs/Middleware/SaveResponseInOnyx.ts b/src/libs/Middleware/SaveResponseInOnyx.ts index 02532d11e412..12c1931b0199 100644 --- a/src/libs/Middleware/SaveResponseInOnyx.ts +++ b/src/libs/Middleware/SaveResponseInOnyx.ts @@ -7,9 +7,9 @@ import type Middleware from './types'; // date because all these requests are updating the app to the most current state. const requestsToIgnoreLastUpdateID: string[] = [ WRITE_COMMANDS.OPEN_APP, - WRITE_COMMANDS.DELETE_MONEY_REQUEST, SIDE_EFFECT_REQUEST_COMMANDS.RECONNECT_APP, WRITE_COMMANDS.CLOSE_ACCOUNT, + WRITE_COMMANDS.DELETE_MONEY_REQUEST, SIDE_EFFECT_REQUEST_COMMANDS.GET_MISSING_ONYX_MESSAGES, ]; From d0fc60bb72018f229e4d292b91a447cc0323733d Mon Sep 17 00:00:00 2001 From: Huu Le <20178761+huult@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:00:47 +0700 Subject: [PATCH 4/5] revert file index.md --- help/index.markdown | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 help/index.markdown diff --git a/help/index.markdown b/help/index.markdown new file mode 100644 index 000000000000..e5d075402ecb --- /dev/null +++ b/help/index.markdown @@ -0,0 +1,5 @@ +--- +title: New Expensify Help +--- +Pages: +* [Expensify Superapp](/superapp.html) From 2c9835694dd3cae34d0dd901ce400ed20668bcf5 Mon Sep 17 00:00:00 2001 From: Huu Le <20178761+huult@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:03:03 +0700 Subject: [PATCH 5/5] delete file index.markdown --- help/index.markdown | 5 ----- help/index.md | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 help/index.markdown diff --git a/help/index.markdown b/help/index.markdown deleted file mode 100644 index e5d075402ecb..000000000000 --- a/help/index.markdown +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: New Expensify Help ---- -Pages: -* [Expensify Superapp](/superapp.html) diff --git a/help/index.md b/help/index.md index e5db0e676835..e5d075402ecb 100644 --- a/help/index.md +++ b/help/index.md @@ -2,4 +2,4 @@ title: New Expensify Help --- Pages: -* [Expensify Superapp](/superapp.html) \ No newline at end of file +* [Expensify Superapp](/superapp.html)