-
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
[CP Staging][CRITICAL] Implement <WorkspaceWorkflowsApprovalsEditPage /> for Editing Workflow #47249
[CP Staging][CRITICAL] Implement <WorkspaceWorkflowsApprovalsEditPage /> for Editing Workflow #47249
Conversation
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
…rkflows/edit-screen
…rkflows/edit-screen
…rkflows/edit-screen
The strange bug: Not found page when removing the first approver and add another approver again Uploading Screen Recording 2024-08-14 at 13.55.40.mov… Resend video to Slack |
src/libs/actions/Workflow.ts
Outdated
@@ -169,7 +170,13 @@ function updateApprovalWorkflow(policyID: string, approvalWorkflow: ApprovalWork | |||
}, | |||
]; | |||
|
|||
const parameters: UpdateWorkspaceApprovalParams = {policyID, authToken, employees: JSON.stringify(Object.values(updatedEmployees))}; | |||
// const newDefaultApprover = approvalWorkflow.isDefault ? approvalWorkflow.approvers[0].email : undefined; |
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.
@blazejkustra What problem 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.
This 😢 #47344 (comment)
Reviewer Checklist
I can't upload video to GH today Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariUploading Screen Recording 2024-08-14 at 16.06.47.mov… MacOS: DesktopUploading Screen Recording 2024-08-14 at 16.07.17.mov… |
Asked for CP here: https://expensify.slack.com/archives/C07J32337/p1723635196903979 |
…ws/edit-screen [CRITICAL] Implement <WorkspaceWorkflowsApprovalsEditPage /> for Editing Workflow (cherry picked from commit 5cd5c16) (CP triggered by mountiny)
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.0.20-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
Is the above not happening anymore? 🤔 |
FYI I believe this was deployed to prod yesterday, from this checklist - #47356 |
Details
Link to the doc.
UI changes
Fixed Issues
$ #45953
PROPOSAL: N/A
Tests
More features
settings page)canUseWorkflowsAdvancedApproval
function to return true (or usecanUseWorkflowsAdvancedApproval
beta)Offline tests
While offline make sure Offline Pattern B is used, approval workflow sections should be greyed out after removing/updating a workflow.
QA Steps
Same as tests
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.webm
Android: mWeb Chrome
android-web.webm
iOS: Native
ios.mp4
iOS: mWeb Safari
ios-web.mp4
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov