-
Notifications
You must be signed in to change notification settings - Fork 3k
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: not here page when clicking attachment from email #56908
base: main
Are you sure you want to change the base?
Conversation
@allroundexperts 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] |
There's some issues with the unit test file, I will fix it soon And one question: Should we re/fetch the report each time the user open the attachment or only once if the user has not yet opened? If we refetch the report each time the user open because if something change like report actions we will retrieve the new one instead of the old one if something else is changed (from another device) |
I think we should do it only once. For the remaining time, the pusher should send us the correct update automatically. |
Can you maybe try to mock the usePageScrollHandler hook? |
I feel not well today, I will do it when I got recovered cc: @allroundexperts |
Done, I think you can start reviewing & testing cc: @allroundexperts |
Explanation of Change
Allow attachment source from origin urls and fetch report automatically from the reportID route if the report is not yet loaded/opened by the user
Fixed Issues
$ #53770
PROPOSAL: #53770 (comment)
Tests
Same as QA
Offline tests
Same as QA
QA Steps
Not here
page is not displayedPR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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_native.mp4
Android: mWeb Chrome
android_mweb.1.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_mweb.mp4
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov