Closed chesterkmr closed 2 months ago
Latest commit: 21864d5b58b3622ea35223efd24e854a1cc9b2a3
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
The recent changes enhance the functionality of the EditorCard
and UIDefinitionEditor
components within the workflows dashboard. The EditorCard
now dynamically calls an onUpgrade
function when the "Upgrade" button is clicked, replacing a static alert. Meanwhile, the UIDefinitionEditor
introduces a mutation function for upgrading the workflow definition, along with a new "Upgrade" button that operates alongside a "Save" button, improving user interaction and interface cohesion.
Files | Change Summary |
---|---|
.../EditorCard/EditorCard.tsx .../UIDefinitionEditor/UIDefinitionEditor.tsx |
Improved interactivity in EditorCard with dynamic upgrade functionality; added upgrade functionality and UI enhancements in UIDefinitionEditor . |
sequenceDiagram
participant User
participant EditorCard
participant UIDefinitionEditor
User->>EditorCard: Clicks "Upgrade"
EditorCard->>EditorCard: Calls onUpgrade function
User->>UIDefinitionEditor: Clicks "Upgrade"
UIDefinitionEditor->>UIDefinitionEditor: Executes upgradeVersion mutation
UIDefinitionEditor->>User: Displays success or error message
In a garden where upgrades bloom,
A rabbit hops with zest and zoom.
With buttons bright, they click away,
Enhancing workflows every day.
With joy and cheer, they make it right,
Hopping high with pure delight! 🐇✨
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
EditorCard
component, enhancing interactivity with dynamic upgrade functionality.UIDefinitionEditor
component, allowing users to upgrade the workflow definition version directly alongside saving changes.Improvements