-
Notifications
You must be signed in to change notification settings - Fork 211
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: allow to use x-tagGroups
extension to define tree structure
#2603
base: main
Are you sure you want to change the base?
Conversation
Allow to use the `x-tagGroups` and `x-displayName` vendor extensions to define the structure of table of contents
✅ Deploy Preview for stoplight-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for stoplight-elements-demo ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…ents into add-taggroups-support * 'add-taggroups-support' of github.com:weyert/elements: feat: default boolean schema value is not shown in parameters dropdown (stoplightio#2600)
@weyert Can you provide an explanation of what this does and some documentation please. |
@mnaumanali94 If the or see: https://deploy-preview-2603--stoplight-elements.netlify.app/?path=/story/public-api--with-tag-groups The relevant vendor extension definition in the spec:
|
This doesn't solve the problem of showing description for tags? Did you intend to add that too? |
@mnaumanali94 It allows you use a different text for a tag in the site navigation. I am not sure what intended use case of showing a description alongside the tag name is. |
…ents into add-taggroups-support
Any update on this PR because I would like this to be a feature on stoplight elements as I am trying to group tags underneath another tag. So what I mean is I have an endpoint title named Order and underneath that I want subtags that say IN PROD, IN DEV, etc. This PR does exactly what I am looking for. So if this can be implemented into stoplight, that would be great. |
@weyert Storybook shows me this. I'm guessing something broke? |
Sorry, I missed your comment. I will have a look when I am back from the office |
Allow to use the
x-tagGroups
andx-displayName
vendor extensions to define the structure of table of contentsfixes #1390
Elements Default PR Template
In general, make sure you have: (check the boxes to acknowledge you've followed this template)
CONTRIBUTING.md