-
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
Use reportName for invoice reports #54031
Use reportName for invoice reports #54031
Conversation
@hungvu193 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-12-13.at.15.04.38.movAndroid: mWeb ChromeiOS: NativeScreen.Recording.2024-12-13.at.14.46.16.moviOS: mWeb SafariScreen.Recording.2024-12-13.at.14.50.07.movMacOS: Chrome / SafariScreen.Recording.2024-12-13.at.14.15.21.movMacOS: DesktopScreen.Recording.2024-12-13.at.14.19.26.mov |
If we create a workspace offline and request an invoice, when clicking the invoice header, the sender is empty: Staging.movHere's an example in our PR: Screen.Recording.2024-12-13.at.14.56.37.mp4Here's the steps:
|
…/53694-invoice-report-title
@hungvu193, I've understood why we have the issue. The app does not generate the |
To clarify: the app optimistically generates the Video
Name.mp4 |
I think it looks good to me 👍 |
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.
All yours @cristipaval
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.
This seems to modify the invoice report name for all invoices, including those sent via NewDot. I don't think we want that.
We have 2 invoice types:
- Invoices sent via NewDot, linked to an invoice room. Those need to have the same name as before.
- Invoices sent via OldDot (they are not linked to an invoice room). They need to have the name in format:
Invoice AAAA-MM-DD
@cristipaval, I've fixed - 95e6276. Video
Test.mp4 |
Thanks a lot, @rezkiy37! 🙏 |
I can confirm it's fixed 🎉 Screen.Recording.2024-12-18.at.14.33.11.movScreen.Recording.2024-12-18.at.14.39.54.mov |
…/53694-invoice-report-title
Thank you both! |
✋ 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/cristipaval in version: 9.0.77-0 🚀
|
Explanation of Change
The PR unifies the name of the report the app uses for invoice reports.
reportName
will be used as a primary everywhere.Fixed Issues
$ #53914
$ #53694
PROPOSAL: N/A
Tests
Precondition:
Invoices are enabled.
Offline tests
Same as Tests.
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as Tests.
PR 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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop