Skip to content

Fix label display on new issues #13590

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

Merged
merged 5 commits into from
Nov 17, 2020
Merged

Fix label display on new issues #13590

merged 5 commits into from
Nov 17, 2020

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Nov 16, 2020

PR #13570 broke label rendering for new issues and pulls because I missed the fact that the code was relying on the DOM elements being toggled by JavaScript.

On top of that, the label rendering for new issues and pull was using an outdated template which I consolidated in a new shared template.

PR go-gitea#13570 broke label rendering for new issues and pulls because
missed the fact that the code was relying on the DOM elements being
toggled by JavaScript.

On top of that, the label rendering for new issues and pull was using
an outdated template which I consolidated in a new shared template.
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Nov 16, 2020
@lafriks lafriks added type/bug skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Nov 16, 2020
@lafriks lafriks added this to the 1.14.0 milestone Nov 16, 2020
@silverwind
Copy link
Member Author

One more adjustment pushed. Removal of wrapper element and 1px more margin between labels:

image

@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 Nov 17, 2020
@lafriks
Copy link
Member

lafriks commented Nov 17, 2020

🚀

@lafriks lafriks merged commit b838252 into go-gitea:master Nov 17, 2020
@silverwind silverwind deleted the labelsfix branch November 17, 2020 06:47
@go-gitea go-gitea locked and limited conversation to collaborators Jan 18, 2021
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. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants