-
-
Notifications
You must be signed in to change notification settings - Fork 90
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: Enhancement of Visual Json Schema Editor #1065
base: master
Are you sure you want to change the base?
Conversation
…ses which path contain `array<object>`
|
✅ Deploy Preview for modest-rosalind-098b67 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for asyncapi-studio-design-system ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
✅ Deploy Preview for studio-next ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hey @princerajpoot20 it is done and ready for review cc @Amzani |
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.
Good work @utnim2 .
Have you tested this with all the sample JSON schemas?
- There is no option to
add property
to thearray<object>
type. - In the UI for array properties, we should not have
Array Items
as text. - If we are changing the type of an existing property, when I change it to type array of string, it directly assigns the same value. For example:
"type": "array<string>"
.
Instead, it should be like
"type": "array",
"items": {
"type": "number"
}
Could you make the code editor text be beautify
after performing any operation
… removed "Array Items", fixed changing of type for array types
Done all the reviewed changes @princerajpoot20
could you explain this more what exactly do you want, ig i have matched the design provided |
fixed 👍 |
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.
LGTM
@Gmin2, Good work! Just a few changes:
Like for example:
In this JSON schema, we will not have an
You can add these JSON schemas to the stories as well.⬇︎
|
as we are using radix Dropdown component (can you check this), not sure if we can implement it, we might have a workaround but i am constantly trying with introducing state but multi-select is not working.
|
I have tested this through the Netlify deploy link in the PR, there it is not rendering in a readable form. |
netlify is not rendering the latest commits, you can use github cli and then see the changes |
it is working fine in my machine, idk why netlify is parsing it as a string rather then schemaObject |
Hey @princerajpoot20 in the deploy preview also it is showing right |
@Gmin2 I'm talking about editor after making changes through visual editor. screen.recording.mov |
@princerajpoot20 is that necessary? we will have something nicer like a Codemirror editor and an easy-to- edit format like YAML over there anyway. |
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.
LGTM!
@KhudaDad414 Sure, this sounds good. |
This reverts commit 2be5cb0.
Quality Gate passedIssues Measures |
Description
Related issue(s)
Resolves Enhance the Visual JSON Schema Editor #1023