Closed alonp99 closed 2 months ago
Latest commit: 95ca04b760fc63bad85d9895af4f8cecfc93d5d8
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
This update brings significant improvements to the application's components and services, emphasizing user experience. Key changes include refined read-only state handling in the JSON editor, the incorporation of toast notifications, and enhanced capabilities for managing workflow definitions. New API endpoints have been created for updating workflow definitions and extensions, contributing to greater flexibility and functionality.
Files | Change Summary |
---|---|
apps/backoffice-v2/src/common/components/molecules/DateRangePicker/DateRangePicker.tsx , apps/backoffice-v2/src/pages/Entity/components/Case/Case.Actions.tsx |
Minor updates to class name orders in JSX elements without affecting functionality. |
apps/workflows-dashboard/package.json |
Added sonner dependency for toast notifications. |
apps/workflows-dashboard/src/App.tsx |
Integrated Toaster component for displaying notifications. |
apps/workflows-dashboard/src/components/organisms/JsonEditor/JsonEditor.tsx |
Updated useEffect hooks to better manage read-only prop changes. |
apps/workflows-dashboard/src/domains/workflow-definitions/... |
Introduced new functions and DTOs for updating workflow definitions and extensions. |
apps/workflows-dashboard/src/pages/WorkflowDefinition/... |
Major refactoring to improve clarity and functionality in workflow definition management. |
services/workflows-service/... |
Enhanced filters and workflow definition services with new methods and parameters for improved project handling. |
services/workflows-service/src/workflow/workflow.controller.external.ts |
Updated getWorkflowDefinitionById method to include UI definitions in the response; added example to documentation. |
sequenceDiagram
participant User
participant App
participant Toaster
participant WorkflowService
User->>App: Trigger workflow update
App->>WorkflowService: Request update with ID and project IDs
WorkflowService-->>App: Return updated workflow definition
App->>Toaster: Show success notification
Toaster-->>User: Display notification
🐰 In fields of change, we dance and play,
New features sprout, brightening the day.
Toasts that pop with a joyful sound,
Workflows refreshed, new delights abound!
So hop with glee, let our voices ring,
For every update, a reason to spring! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
DateRangePicker
andActions
components for improved consistency.getWorkflowDefinitionById
method to return UI definitions alongside workflow definitions.Bug Fixes
Documentation
WorkflowRunDto
for better guidance on workflow run data structure.Chores