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
SDK - add plain yaml editor #11840
SDK - add plain yaml editor #11840
Conversation
/retest |
2442324
to
1891601
Compare
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.
Hi, I'm OK exposing this component, but we need to make sure it's lazy-loaded and add more complete documentation. Assume the person reading this is a developer who only has the doc and can't inspect the code to see how the props are used.
frontend/packages/console-dynamic-plugin-sdk/src/api/dynamic-core-api.ts
Outdated
Show resolved
Hide resolved
frontend/packages/console-dynamic-plugin-sdk/src/api/dynamic-core-api.ts
Outdated
Show resolved
Hide resolved
frontend/packages/console-dynamic-plugin-sdk/src/api/dynamic-core-api.ts
Outdated
Show resolved
Hide resolved
frontend/packages/console-dynamic-plugin-sdk/src/api/dynamic-core-api.ts
Outdated
Show resolved
Hide resolved
frontend/packages/console-dynamic-plugin-sdk/src/api/dynamic-core-api.ts
Outdated
Show resolved
Hide resolved
frontend/packages/console-dynamic-plugin-sdk/src/api/dynamic-core-api.ts
Outdated
Show resolved
Hide resolved
1891601
to
77cfdfd
Compare
77cfdfd
to
7e1c0ba
Compare
Hei @spadgett thanks for your feedback. |
/retest |
1 similar comment
/retest |
Hey @upalatucci you'll need to add the updated API docs to your commit.
|
406dd65
to
3d95763
Compare
/lgtm |
/retest |
/retest |
1 similar comment
/retest |
/assign @yapei @OliviaHY @RickJWagner |
/label px-approved |
consume
|
/label qe-approved |
3d95763
to
8524729
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: upalatucci, vojtechszocs The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/label docs-approved |
/retest |
/retest |
/retest |
1 similar comment
/retest |
@upalatucci: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Hei guys!!
for this ticket i need to expose the YAMLEditor.
The ResourceYAMLEditor has a lot of other things that I don't need like toolbar, buttons, alerts when something changes, and so on.
ResourceYAMLEditor use YAMLEditor so there will be no issue.
Why don't you just add the monaco-editor or patternly react editor into the plugins repo?
Because the editor ( in particular using YAML language) needs some additional configurations using
yaml-language-server
andmonaco-editor-webpack-plugins
that maybe it's not great to have in the plugin repo.WDYT? @vojtechszocs