Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(*): schema desc transformation in plugin forms #1021

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

sumimakito
Copy link
Member

Summary

This PR makes the plugin form use descriptions from backend schemas when descriptions are not defined in frontend schemas. It also fixes some current issues with tooltips.

Tooltips for schema fields

Example: request-validator

Before After
Screenshot 2023-12-20 at 13 58 47 Screenshot 2023-12-20 at 14 00 12

Tooltips for nested fields

Example: rate-limiting-advanced

Before After
Screenshot 2023-12-20 at 13 59 12 Screenshot 2023-12-20 at 13 59 44

Missing tooltips

Example: jwt (some descriptions are missing from Konnect API but available in the Gateway Admin API)

Before After
Screenshot 2023-12-20 at 13 57 47 Screenshot 2023-12-20 at 14 00 47

Outdated tooltips

Example: kafka-upstream

Screenshot 2023-12-20 at 13 57 31

KAG-3347

@sumimakito sumimakito marked this pull request as draft December 20, 2023 07:05
@sumimakito sumimakito force-pushed the chore/KAG-3347-plugin-desc branch from f9f6315 to 1f67076 Compare December 20, 2023 07:26
@sumimakito sumimakito force-pushed the chore/KAG-3347-plugin-desc branch from 1f67076 to 76961f0 Compare December 20, 2023 07:26
@sumimakito
Copy link
Member Author

Note: although it seems that we are not using packages/core/forms/src/forms/ACMEForm.vue by default anymore, I just updated that component in case it is used

@sumimakito sumimakito marked this pull request as ready for review December 20, 2023 09:15
Copy link
Contributor

@kaiarrowood kaiarrowood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all makes sense to me, but I did not functional test 🚀

Copy link
Member

@adamdehaven adamdehaven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sumimakito, @hl782 would like to test this before merge. I'm pulling the package into this khcp-ui PR; and blocking merge until he signs off (no actual issues).

Copy link
Member

@adamdehaven adamdehaven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified by @hl782

@Leopoldthecoder Leopoldthecoder merged commit afad420 into main Dec 22, 2023
7 checks passed
@Leopoldthecoder Leopoldthecoder deleted the chore/KAG-3347-plugin-desc branch December 22, 2023 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants