Repository navigation
fix: disappearing workflow inputs in UI builder - #4748
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Contributor
Author
Contributor
There was a problem hiding this comment.
PR Summary
This PR implements a comprehensive fix for workflow inputs persistence in the UI builder by enhancing the parsing and schema validation logic.
- Added
WorkflowInputSchemain/keep-ui/entities/workflows/model/schema.tsto properly validate input properties including name, type, and visual requirements - Updated
/keep-ui/entities/workflows/lib/parser.tsto handle input extraction and enhancement with proper null checks - Added test coverage in
/keep-ui/entities/workflows/lib/__tests__/parser.test.tswith newworkflowWithInputstest fixture - Modified field ordering in
/keep-ui/entities/workflows/lib/yaml-utils.tsto maintain consistent workflow input positions - Consolidated workflow definition schemas by deprecating
YamlProviderinterface in favor ofYamlWorkflowDefinition
6 file(s) reviewed, 3 comment(s)
Edit PR Review Bot Settings | Greptile
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4748 +/- ##
=======================================
Coverage 31.03% 31.03%
=======================================
Files 93 93
Lines 10818 10822 +4
=======================================
+ Hits 3357 3359 +2
- Misses 7461 7463 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Matvey-Kuk
approved these changes
May 11, 2025
wsimon1982
pushed a commit
to wsimon1982/keep
that referenced
this pull request
May 12, 2026
Co-authored-by: Tal <[email protected]>
This branch was successfully deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #4747
Before
Screen.Recording.2025-05-08.at.22.12.45.mov
After
Screen.Recording.2025-05-08.at.22.51.50.mov