-
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 image from opening in both a new tab and app modal #52013
base: main
Are you sure you want to change the base?
fix image from opening in both a new tab and app modal #52013
Conversation
src/components/HTMLEngineProvider/HTMLRenderers/AnchorRenderer.tsx
Outdated
Show resolved
Hide resolved
src/components/HTMLEngineProvider/HTMLRenderers/ImageRenderer.tsx
Outdated
Show resolved
Hide resolved
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
src/components/Attachments/AttachmentCarousel/extractAttachments.ts
Outdated
Show resolved
Hide resolved
@huult The QA Step doesn't match with this issue |
@suneox , I've updated QA step |
@huult Could you please handle an issue the attachmentLink still show on image without link? Screen.Recording.2024-11-07.at.12.49.50.movStep reproduce: S1: Paste image with link: |
@suneox Your case tests the uniqueSources logic. With the attachment carousel, we display only the unique attachment source. In the tested case, we have the same source with different subtitle links, so we will still show two attachments with the same source but different subtitles, correct? |
Details
Fixed Issues
$ #50260
PROPOSAL: #50260 (comment)
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
Screen.Recording.2024-11-05.at.12.46.07.mp4
Android: mWeb Chrome
Screen.Recording.2024-11-05.at.12.48.00.mp4
iOS: Native
Screen.Recording.2024-11-05.at.12.40.23.mp4
iOS: mWeb Safari
Screen.Recording.2024-11-05.at.12.41.51.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-11-05.at.12.34.42.mp4
MacOS: Desktop
Screen.Recording.2024-11-05.at.12.36.38.mp4