-
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
[CRITICAL] Implement <WorkspaceWorkflowsApprovalsCreatePage /> for Workflow Creation #46798
Merged
tgolen
merged 50 commits into
Expensify:main
from
software-mansion-labs:approval-workflows/create-edit-screen
Aug 13, 2024
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
88e2519
Test navigation
blazejkustra b0878c5
Fix navigating between screens for create flow
blazejkustra 66c99d3
Attach API action
blazejkustra a0c289b
Merge branch 'Guccio163/45951_implementApprovalWorkflowSection' into …
blazejkustra 11372db
Fix small mistakes and old comments
blazejkustra d243bd5
Add translations
blazejkustra d1f0dce
Add one more translation
blazejkustra 5108e12
Add an option to parse text in formHelpMessage component
blazejkustra 062e45a
Adjust MenuItem component to allow parsing text in formHelpMessage co…
blazejkustra c0734c8
Fix minor errors
blazejkustra 89f6ee0
Create a new type for ApprovalWorkflow that is kept in onyx
blazejkustra 8405648
Take care of all edge cases and error handling
blazejkustra 3a39deb
Allow to deselect an approver
blazejkustra c4da7e3
Clean the expenses from page logic
blazejkustra dbb4311
Create an ApprovalWorkflowEditor and adjust CreatePage logic
blazejkustra e92b654
Merge branch 'main' into approval-workflows/create-edit-screen
blazejkustra d4ae460
Bring back Permissions.ts
blazejkustra 77555f3
Remove backTo from WORKSPACE_WORKFLOWS_APPROVALS_NEW screen
blazejkustra 1c6ae4b
Fix tests
blazejkustra 31d8863
Do final corrections
blazejkustra faee4e3
Merge branch 'main' into approval-workflows/create-edit-screen
blazejkustra ebd1e05
Fix displaying errors and sorting default workflow
blazejkustra 9fa7889
Fix lint
blazejkustra 69c31e2
Change util name to calculateApprovers, fix that circular approver wa…
blazejkustra b67e8b8
Address comments after initial review
blazejkustra ba8a3d3
Merge branch 'main' into approval-workflows/create-edit-screen
blazejkustra 755954c
Fix copilot mistake 🙄
blazejkustra 603b6ff
Adjust a comment
blazejkustra 230080e
Remove role from CreateWorkspaceApprovalParams
blazejkustra 54453fb
Filter out the default approver when selecting the first approver for…
blazejkustra b9b7937
Fix how form errors are displayed
blazejkustra 68d5caf
Fix lint
blazejkustra 64e7f0b
Improve error handling
blazejkustra cd36817
Implement the logic similar to other function
blazejkustra 436457b
Merge branch 'main' into approval-workflows/create-edit-screen
blazejkustra 4c0078a
Merge branch 'main' into approval-workflows/create-edit-screen
blazejkustra 17cab91
Use const for flow and mode options
blazejkustra f554da6
Clean the logic for displaying hints
blazejkustra 6707500
Fix that additionalApprover error is cleared
blazejkustra c38d5d7
Revert "Clean the logic for displaying hints"
blazejkustra d74ed36
Improve isInMultipleWorkflows logic
blazejkustra f9ea365
Rename consts
blazejkustra 9bde486
Enable submit button when offline
blazejkustra e732c6c
Implement offline pattern B
blazejkustra 05c552f
Remove redundant code
blazejkustra 914bb1f
Fix code formatting
blazejkustra 30d8a6a
Remove unnecessary test case
blazejkustra 14f6eb2
Move key further up
blazejkustra 69ab537
Merge branch 'main' into approval-workflows/create-edit-screen
blazejkustra 5f3f64f
Rename variables
blazejkustra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 Do you confirm this translation with the internal team before?
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.
Yes, here's a doc