-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
feat: add minor improvements #604
feat: add minor improvements #604
Conversation
you do not like to split PR to make it easier for reviewers don't you?
isn't it left? maybe there should be a props to control that behaviour, like collapse by default?
this doesn't look good, could be disabled by default and enabled only be props
doesn't work |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@derberg Thanks for review and sorry for such a delay.
I wouldn't want to split this into 5 separate PRs. I know about problems for reviewers, but the changes are very small, but due to having to do an update of the styles, html as well as the js itself there is much more changed code than there should be. For example, anchors resulted in update of several components because I had to add new functionality for each.
Yeah... left 🤦🏼♂️ I also added prop
I don't want to add special prop for something like this and don't know why it looks bad. You have the address of the channel and a short description of it. Probably on live preview it should be more friendly for eyes.
yeah I know, because each preview is created in separate workspace, and after some hours it's deleted. Better will be if you will open https://gitpod.io/#https://github.com/asyncapi/asyncapi-react/pull/604 login by Github, wait for installing deps and open |
yeah, you can definitely get some inspiration from @jonaslagoni and NATS template https://github.com/asyncapi/dotnet-nats-template/pulls?q=is%3Apr+is%3Aclosed. He did a pro work there, separate PR per each feature and each fix
I wrote it doesn't look good, not that it looks bad 😆 it just looks cluttered. Left nav is not very "wide" so descriptions make it look super cluttered. This is why I vote for prop that by default disables it. We should not throw something like this at users |
@magicmatatjahu I see you're splitting this PR already, which is awesome 🙏 Please don't forget to close this one. |
I'm closing this PR in favor of other, smaller ones. |
Description
Changes proposed in this pull request:
Set the left menu collapsable:
expanded:
collapsed
add collapse button for nested subschemas in the Schema component:
add operation's summary to the left navigation:
add anchors in headers:
Related issue(s)
Resolves #441
Resolves #440
Resolves #599
Resolves #605
Preview: https://3000-magicmatatj-asyncapirea-pl74cof8gqr.ws-eu46.gitpod.io/
Gitpod url (you need to login by github accout): https://gitpod.io/#https://github.com/asyncapi/asyncapi-react/pull/604
cc @mcturco @derberg