Repository navigation
Conversation
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@MonilBhavsar it's new version of #73208 but without any additional changes |
|
Nice, thanks!
|
|
I've found out that there's still issue with duplicated "CREATED" action. I have to find a method to replace the optimistically created one with the one created on backend |
|
Okey @MonilBhavsar I've faced the wall :/ Also it doesn't work in case where we have workspace and we move transaction to selfDM. There backend isn't don't even gets information about optimistic ids so it would require potentially big changes to adapt. I think the correct solution is to push selfDM report and its actions when the app is opened. I feel like trying to optimistically create something on FE that already exists on BE will lead to many corner cases and fixes will be fragile. What do you think? |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Makes sense from a product perspective 👍
|
Regarding #76511 (comment) Let's talk 1:1 to expedite |
|
@MonilBhavsar I've made changes in https://github.com/Expensify/Auth/pull/18537 PR and added new delete-offline.movmove-from-report-offline.movtrack-offline.mov |
|
@jnowakow is this required, or can we close this? |
|
@MonilBhavsar it can be closed |

@MonilBhavsar
Explanation of Change
After https://github.com/Expensify/Auth/pull/17757 selfDM reports are created during account creation. Let's use existing selfDM report id during optimistic report creation
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/556957
PROPOSAL: N/A
Tests
Test 1.
Test 2.
Create new account
Fill onboarding using any path
Verify that it's possible to find selfDM
Verify that after any action selfDM notification preference is updated to muted.
Offline tests
Same as tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
selfDm.mov