-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix linked message visibility in offline mode #42396
Fix linked message visibility in offline mode #42396
Conversation
@dukenv0307 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@narefyev91 Can you reproduce the original issue (User is stuck on the same page)? When I click on the link, I just see the empty screen. Is it what you fixed in this issue? Thanks |
Yeah - original issue was fixed by some earlier code, but a situation started to be like you describe - user just sees empty screen. Probably opening linking message in offline was missed during refactoring ReportActionView and introducing pagination |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-05-23.at.10.53.12.movAndroid: mWeb Chromeweb-resize.mp4iOS: NativeScreen.Recording.2024-05-23.at.10.54.14.moviOS: mWeb Safariweb-resize.mp4MacOS: Chrome / Safariweb-resize.mp4MacOS: Desktopweb-resize.mp4 |
@narefyev91 After pressing the link, I saw the error |
Yeah good point - we should not see that message - let me double check! |
@dukenv0307 updated! |
Code looks good and tests well. Just left one minor suggestion. @narefyev91 |
updated thanks! |
We did not find an internal engineer to review this PR, trying to assign a random engineer to #41063 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
@MariaHCD As you got assigned on the issue, can you help review and merge it? Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good to me. We've got a conflict, though.
# Conflicts: # src/libs/actions/Report.ts
Resolved! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, we've got a merge freeze happening now, requesting this week's App deployer to review this.
This PR introduces a lint warning on main so i had to revert it so that i could continue merging other PRs without ESLint failing. Further explained here. Please recreate the PR and address the ESLint error when working on this. Can be tested locally using,
and confirm you don't see any errors or warnings. |
🚀 Deployed to staging by https://github.com/chiragsalian in version: 1.4.76-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.76-7 🚀
|
Details
Linked message in report is not showing in offline mode and user stuck in the same screen without option to go back
Fixed Issues
$ #41063
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
android.mov
Android: mWeb Chrome
android-web.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-web.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov