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

Collapse Swagger UI tags by default #12428

Merged
merged 4 commits into from
Aug 5, 2020
Merged

Conversation

silverwind
Copy link
Member

This makes is slightly faster to navigate through the swagger docs by initially collapsing the tags like 'admin' or 'miscellaneous'.

Before:

image

After:

image

This makes is slightly faster to navigate through the swagger docs by
initially collapsing the tags like 'admin' or 'miscellaneous'.
@6543
Copy link
Member

6543 commented Aug 4, 2020

@silverwind I dont know how hard this is but can we add an symbol to show it is colapsed? like :chevron-down:

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 4, 2020
@silverwind
Copy link
Member Author

silverwind commented Aug 4, 2020

It's already there provided by swagger ui, I just omitted it in the screenshot:

image

Copy link
Member

@6543 6543 left a comment

Choose a reason for hiding this comment

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

how could I missed this :)

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Aug 4, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Aug 4, 2020
@techknowlogick techknowlogick added this to the 1.13.0 milestone Aug 5, 2020
@techknowlogick techknowlogick added the topic/ui Change the appearance of the Gitea UI label Aug 5, 2020
@zeripath
Copy link
Contributor

zeripath commented Aug 5, 2020

Make lg-tm work

@zeripath zeripath merged commit 28a7708 into go-gitea:master Aug 5, 2020
@silverwind silverwind deleted the docex branch August 5, 2020 21:43
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants