-
Notifications
You must be signed in to change notification settings - Fork 0
feat(gui): show default value from code and documentation in selection view #947
feat(gui): show default value from code and documentation in selection view #947
Conversation
…ion will be showed, now.
MegaLinter status: ✅ SUCCESS
See errors details in artifact MegaLinter reports on CI Job page |
…-selection-view-of-parameters
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.
The current solution does not work well if the fields are empty:
If the code field is empty, the message "The parameter is required." should be shown and both fields omitted:
If the documentation field is empty, the message "The documentation does not specify a default value." should be shown.
Both should be formatted like the text about missing documentation:
…mentation-in-selection-view-of-parameters' into 902-show-default-value-from-documentation-in-selection-view-of-parameters # Conflicts: # api-editor/gui/src/features/packageData/selectionView/ParameterView.tsx
Changes were applied. |
🎉 This PR is included in version 1.52.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Closes #902
Summary of Changes
See Issue.
Screenshots (if necessary)
JSON File of API - data:
Result in API-Eidtor:
Testing Instructions