-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 optimistic report amount in title #37617
Fix optimistic report amount in title #37617
Conversation
@mananjadhav 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] |
Let's give it another try. The Untitled-compressed.mp4 |
@paultsimura Can we update the QA steps to focus on the specific test case that's failing? |
@thienlnam Any idea about this one? |
The {repoirt:id} field behaves weirdly – the BE sends some strange (encoded?) data into that field instead of the report.reportID, so I've removed this formula support from the optimistic flow.
Ah, that is the base 62 version of the reportID R00I7J3xs5fn = 1404991094319641876499 |
So we're okay to use base64 or we should be decoding it? |
Actually nevermind - that looks like our old format of reportIDs. We don't have any way currently to generate that on the FE so we're fine to move forward without that for now |
@mananjadhav I think we can proceed with the review here based on the last comment. |
I'll be up in a few hours to review the PR. |
Reviewer Checklist
Screenshots/VideosMacOS: Desktopdesktop-total-title.mov |
@thienlnam looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
✋ 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/thienlnam in version: 1.4.48-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.48-0 🚀
|
Details
When creating an expense report in a Policy that supports report fields, build the expense report name using the formula.
Fixed Issues
$ #36267
PROPOSAL: #36267 (comment)
Tests
Same as QA
Offline tests
Same as QA
QA Steps
Preconditions: be a member of a collect policy, have no active expense report with this policy, and have the "report fields" beta turned on.
{report:total}
{report:currency}
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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-compressed.mp4
Android: mWeb Chrome
chrome-compressed.mp4
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-02-23.at.23.42.32-compressed.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-02-23.at.23.41.26-compressed.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-02-23.at.22.52.16.mov
MacOS: Desktop
Screen.Recording.2024-02-23.at.23.22.57-compressed.mp4