-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(FTM): New UVE Toolbar - Implement Workflows Action button (#30908)
This pull request introduces several changes to the `DotEmaShellComponent` and related components to integrate the `DotWorkflowsActionsService` and enhance workflow actions functionality. The most important changes include adding the new service to multiple components, updating component templates, and refactoring the `DotUveWorkflowActionsComponent`. ### Integration of `DotWorkflowsActionsService`: * Added `DotWorkflowsActionsService` to the imports and providers in `dot-ema-shell.component.ts` and `dot-ema-shell.component.spec.ts` to enable workflow actions. [[1]](diffhunk://#diff-8843e3a4ce8c16e83408b1a6dcc3ad54eaddd17f8e986bbdb502e11bd4446ab4R24) [[2]](diffhunk://#diff-8843e3a4ce8c16e83408b1a6dcc3ad54eaddd17f8e986bbdb502e11bd4446ab4R212-R217) [[3]](diffhunk://#diff-677330662fea6dadc7e48fd8455ec2a6fe60d624c7ed1f01f0a3e985aacd05c6L22-R23) [[4]](diffhunk://#diff-677330662fea6dadc7e48fd8455ec2a6fe60d624c7ed1f01f0a3e985aacd05c6R62) ### Component Template Updates: * Replaced the workflows button with the `dot-uve-workflow-actions` component in `dot-uve-toolbar.component.html` to improve the user interface for workflow actions. * Updated the `dot-uve-workflow-actions.component.html` to disable actions when editing is not allowed. ### Refactoring `DotUveWorkflowActionsComponent`: * Renamed `dot-edit-ema-workflow-actions` to `dot-uve-workflow-actions` and refactored the component to use `UVEStore` for managing state and actions. [[1]](diffhunk://#diff-0c14a7beca853a53da6f640191eefa9d4b9564b2473879c4cbd391d7ff091c1cL1-R1) [[2]](diffhunk://#diff-0c14a7beca853a53da6f640191eefa9d4b9564b2473879c4cbd391d7ff091c1cL22-R45) [[3]](diffhunk://#diff-0c14a7beca853a53da6f640191eefa9d4b9564b2473879c4cbd391d7ff091c1cL70-L75) [[4]](diffhunk://#diff-0c14a7beca853a53da6f640191eefa9d4b9564b2473879c4cbd391d7ff091c1cL102-L116) [[5]](diffhunk://#diff-0c14a7beca853a53da6f640191eefa9d4b9564b2473879c4cbd391d7ff091c1cL141-R111) [[6]](diffhunk://#diff-0c14a7beca853a53da6f640191eefa9d4b9564b2473879c4cbd391d7ff091c1cL150-R120) ### Test Updates: * Added mock providers and updated test cases in `dot-ema-info-display.component.spec.ts` and `dot-uve-toolbar.component.spec.ts` to accommodate the new service and component changes. [[1]](diffhunk://#diff-164a62c130e772cc25a858a58ce4c6d8099d21b119ce0ec61e9c297b94ba4297L24-R25) [[2]](diffhunk://#diff-164a62c130e772cc25a858a58ce4c6d8099d21b119ce0ec61e9c297b94ba4297R57-R62) [[3]](diffhunk://#diff-3eaa147616a5d1ff374a5fa27b0f38f0159a9039ef7e8d672dec43631f48a9e1L16-R17) [[4]](diffhunk://#diff-3eaa147616a5d1ff374a5fa27b0f38f0159a9039ef7e8d672dec43631f48a9e1R45) [[5]](diffhunk://#diff-3eaa147616a5d1ff374a5fa27b0f38f0159a9039ef7e8d672dec43631f48a9e1L95-R98) [[6]](diffhunk://#diff-3eaa147616a5d1ff374a5fa27b0f38f0159a9039ef7e8d672dec43631f48a9e1L110-R125) [[7]](diffhunk://#diff-3eaa147616a5d1ff374a5fa27b0f38f0159a9039ef7e8d672dec43631f48a9e1L363-R373) ### Codebase Simplification: * Simplified `DotUveToolbarComponent` by removing unused properties and methods, and integrating the new workflow actions component. [[1]](diffhunk://#diff-217a9e619d6590c4f652e85353b9637ba5e464ddeb0424be35aef39bb8dceb30R30) [[2]](diffhunk://#diff-217a9e619d6590c4f652e85353b9637ba5e464ddeb0424be35aef39bb8dceb30L49-R67) [[3]](diffhunk://#diff-217a9e619d6590c4f652e85353b9637ba5e464ddeb0424be35aef39bb8dceb30L74-L75) [[4]](diffhunk://#diff-217a9e619d6590c4f652e85353b9637ba5e464ddeb0424be35aef39bb8dceb30R86-R92) #### Videos https://github.com/user-attachments/assets/0d2f3692-1377-41ba-bd2f-443dcb13ee4b
- Loading branch information
Showing
30 changed files
with
639 additions
and
330 deletions.
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
File renamed without changes.
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.