-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
move issue filters to shared template #25729
Conversation
Can you add the screenshots if available? |
There isn't really anything to screenshot :) |
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.
It's quite tricky and uses a lot of {{if not .Milestone}}
to construct different elements.
But I guess it's not worse than before ..... As long as there is a real requirement to use the "toolbar" on different pages, I think it could be good, and refactor next time when the page breaks in the future.
@wxiaoguang Would it be better to simply ignore the |
I think it's fine. And force the |
Done. The backend code doesn't even read that parameter, so there was no need to change it. The milestone ID is read from the page URL. |
Co-authored-by: 6543 <[email protected]>
@denyskon |
@puni9869 here you go :) |
* giteaofficial/main: Fix incorrect release count (go-gitea#25879) Add Github related extensions in devcontainer (go-gitea#25800) Add error info if no user can fork the repo (go-gitea#25820) Fix wrong usage of PathEscapeSegments in branch list page (go-gitea#25864) fix incorrect repo url when changed the case of ownername (go-gitea#25733) Upgrade go dependencies (go-gitea#25819) Don't stack PR tab menu on small screens (go-gitea#25789) Link to list of vulnerabilities (go-gitea#25872) [skip ci] Updated translations via Crowdin move issue filters to shared template (go-gitea#25729) [skip ci] Updated translations via Crowdin Remove `git.FileBlame` (go-gitea#25841) Fix empty project displayed in issue sidebar (go-gitea#25802) Update blog links (go-gitea#25843) Fix margin on the `new/edit milestone` page (go-gitea#25801) Do not "guess" the file encoding/BOM when using API to upload files (go-gitea#25828)
Issue filters are being used on repo list page and on milestone issues page, and the code is mostly duplicated.
This PR does the following changes: