-
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: replace attachmentInfo with isAttachmentWithText #45043
Conversation
@hoangzinh 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] |
Co-authored-by: Vinh Hoang <hoangzinhvn@gmail.com>
Co-authored-by: Vinh Hoang <hoangzinhvn@gmail.com>
@hoangzinh I updated. Please help to check again. |
Hi @nkdengineer do you see this type error on your editor? |
it looks like we missing this place App/tests/utils/ReportTestUtils.ts Line 14 in cdbb01b
|
@hoangzinh I updated. Please check again and let me know if you still see this error. |
Co-authored-by: Vinh Hoang <hoangzinhvn@gmail.com>
@hoangzinh You're right, I updated. |
Bug 1: Able to edit loading text while uploading image Screen.Recording.2024-07-19.at.16.09.51.mov |
@hoangzinh I updated to fix this bug. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-07-24.at.17.58.05.android.movAndroid: mWeb ChromeScreen.Recording.2024-07-24.at.18.01.13.android.chrome.moviOS: NativeScreen.Recording.2024-07-24.at.17.51.05.ios.moviOS: mWeb SafariScreen.Recording.2024-07-24.at.17.52.57.ios.safari.movMacOS: Chrome / SafariScreen.Recording.2024-07-24.at.17.37.23.web.movMacOS: DesktopScreen.Recording.2024-07-24.at.17.40.14.desktop.mov |
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.
Do we need to do anything about existing data in the onyxDB that have isAttachment
and attachmentInfo
?
Co-authored-by: Ionatan Wiznia <iwiznia@hotmail.com>
@hoangzinh What do you think? |
I think it should be fine for existing data in the onyxDB that have App/src/libs/ReportActionsUtils.ts Lines 1037 to 1049 in 4c18661
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/iwiznia in version: 9.0.13-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.13-4 🚀
|
Details
Replace
attachmentInfo
withisAttachmentWithText
Fixed Issues
$ #44603
PROPOSAL: #44603 (comment)
Tests
Offline tests
Same as above
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-07-09.at.12.02.14.mov
Android: mWeb Chrome
Screen.Recording.2024-07-09.at.11.59.16.mov
iOS: Native
Screen.Recording.2024-07-09.at.12.01.19.mp4
iOS: mWeb Safari
Screen.Recording.2024-07-09.at.12.00.16.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-07-09.at.11.03.39.mp4
MacOS: Desktop
Screen.Recording.2024-07-09.at.12.03.18.mp4