-
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
Add submit action #53641
Add submit action #53641
Conversation
@ishpaul777 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] |
@DylanDylann @ One of you needs to 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] |
@luacmartins does this require c+ review ? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
Yes, we're still waiting on some backend PRs that add the additional policy keys though. So you might see some weird behaviour when we try to get the managerID to submit the report to. |
@luacmartins Can you please add unit tests? |
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.
Left one NAB comment, otherwise looks good!
BE PR is still in review. I'll let you know once it's deployed |
@ishpaul777 BE PR is deployed |
i am on it! |
bug: Employee expense submitted by owner submits the expense but submit button still appears Screen.Recording.2024-12-12.at.1.21.15.AM.mov |
Screenshots/VideosAndroid: NativeRecord_2024-12-12-01-55-35.mp4Android: mWeb ChromeRecord_2024-12-12-02-05-06.mp4iOS: NativeScreen.Recording.2024-12-12.at.1.28.27.AM.moviOS: mWeb SafariScreen.Recording.2024-12-12.at.1.30.35.AM.movMacOS: Chrome / SafariScreen.Recording.2024-12-12.at.1.15.08.AM.movMacOS: DesktopScreen.Recording.2024-12-12.at.1.37.37.AM.mov |
Looking |
Hmm that response doesn't have any |
Interesting thing is that I see it updating for the employee |
Weird, I see that we're queuing those report updates in the API, but for some reason the response we're getting is completely different. Investigating. |
@ishpaul777 I think the issue is in the backend. Let's continue with review here |
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.
LGTM!
Rest seems to be working well! |
Yea, the issue is in the backend. I'm not sure how to solve it yet, but I don't think we need to block this PR on it. |
I have a BE PR to address the admin force submit issue |
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.
LGTM
✋ 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/luacmartins in version: 9.0.75-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.75-6 🚀
|
Explanation of Change
Adds the submit action to inline search items
Fixed Issues
$ #53640
Tests
Delay submissions
Offline tests
N/A
QA Steps
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
Screen.Recording.2024-12-06.at.1.55.21.PM.mov
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop