8000 feat: Add sorting by exclusive labels (issue priority) by telackey · Pull Request #33206 · go-gitea/gitea · GitHub
[go: up one dir, main page]

Skip to content

feat: Add sorting by exclusive labels (issue priority) #33206

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 68 commits into from
Apr 10, 2025
Merged
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
bbf913a
Add sorting of exlusive labels.
telackey Jan 10, 2025
104e4c5
Adjust format
telackey Jan 10, 2025
182aed4
yaml support
telackey Jan 10, 2025
2fa535d
fmt
telackey Jan 10, 2025
041b352
fmt
telackey Jan 10, 2025
4e89634
sirt
telackey Jan 10, 2025
7b4563c
refactor
telackey Jan 10, 2025
6feba52
Merge branch 'go-gitea:main' into telackey/sort
telackey Jan 14, 2025
de58736
Tabs not spaces
telackey Feb 17, 2025
d1586e5
Lint
telackey Feb 17, 2025
591acd4
Lint
telackey Feb 17, 2025
fe195e2
Merge branch 'main' into telackey/sort
telackey Feb 17, 2025
f3d2f67
Migration
telackey Feb 17, 2025
f4d8bfb
Merge branch 'main' into telackey/sort
telackey Feb 17, 2025
b1c413f
Merge branch 'main' into telackey/sort
telackey Feb 18, 2025
71e4c27
Merge branch 'main' into telackey/sort
telackey Feb 18, 2025
f54af1e
Merge branch 'main' into telackey/sort
telackey Feb 19, 2025
cee7c08
Merge branch 'main' into telackey/sort
telackey Feb 21, 2025
b22ae56
Merge branch 'main' into telackey/sort
telackey Feb 28, 2025
b384bb1
fix ui
wxiaoguang Feb 28, 2025
89b56b8
fine tune
wxiaoguang Feb 28, 2025
209d0f9
fine tune style
wxiaoguang Feb 28, 2025
dc495e4
Bump migration up
telackey Mar 5, 2025
13fd9cd
Merge branch 'main' into telackey/sort
telackey Mar 5, 2025
817fc88
Lint
telackey Mar 5, 2025
8da23e7
Make sure to pull org labels too.
telackey Mar 6, 2025
6bd0e2d
Merge branch 'main' into telackey/sort
telackey Mar 6, 2025
d12ea5f
Add const for 'scope-' prefix.
telackey Mar 6, 2025
7df700e
Merge branch 'telackey/sort' of ssh://github.com/telackey/gitea into …
telackey Mar 6, 2025
83078ed
Add const for 'scope-' prefix.
telackey Mar 6, 2025
6e03264
Show sort order on the rendered label.
telackey Mar 6, 2025
c2c057d
Switch to DB indexer if the sort is based on label scope.
telackey Mar 6, 2025
385d454
Merge branch 'main' into telackey/sort
telackey Mar 7, 2025
5e74d78
Merge branch 'main' into telackey/sort
telackey Mar 10, 2025
1216ff9
Merge branch 'main' into telackey/sort
telackey Mar 11, 2025
b615d1b
Merge branch 'main' into telackey/sort
telackey Mar 12, 2025
8bf059f
Rename file
telackey Mar 25, 2025
012cb9e
Merge branch 'main' into telackey/sort
telackey Mar 25, 2025
31eff1f
Merge branch 'main' into telackey/sort
telackey Mar 25, 2025
ec91d65
lint
telackey Mar 25, 2025
6bbda85
Merge branch 'main' into telackey/sort
telackey Mar 26, 2025
399be95
Merge branch 'main' into telackey/sort
telackey Mar 26, 2025
fdb2dd0
Re-use results of a keyword search as list of matching IDs for an 'IN…
telackey Apr 3, 2025
f8d395c
Merge branch 'telackey/sort' of github.com:telackey/gitea into telack…
telackey Apr 3, 2025
d0faa52
Typo in comment
telackey Apr 3, 2025
25c0718
Use COALESCE to make sure nulls are last regardless of DB.
telackey Apr 4, 2025
e90725e
Use COALESCE to make sure nulls are last regardless of DB.
telackey Apr 4, 2025
2937c6d
Don't support options.IssuesIDs outside the DB indexer for now
telackey Apr 4, 2025
271e65b
Missed processing ExclusiveOrder when creating a new label from the o…
telackey Apr 4, 2025
c5bb344
Rename migration
telackey Apr 4, 2025
a2e355e
Rename migration
telackey Apr 4, 2025
c666ad8
Merge branch 'main' into telackey/sort
telackey Apr 4, 2025
28895b2
lint
telackey Apr 4, 2025
36ad3d6
lint
telackey Apr 4, 2025
3490d1c
lint
telackey Apr 4, 2025
864ba8b
lint
telackey Apr 4, 2025
54f6d71
Merge branch 'main' into telackey/sort
telackey Apr 4, 2025
d9ea3e4
Merge branch 'main' into telackey/sort
telackey Apr 7, 2025
898828a
Treat 0 as a null value for exclusive order.
telackey Apr 7, 2025
e95c60b
Treat 0 as a null value for exclusive order.
telackey Apr 7, 2025
1b81927
lint
telackey Apr 7, 2025
a713b4c
Merge branch 'main' into telackey/sort
wxiaoguang Apr 9, 2025
259f134
fix
wxiaoguang Apr 9, 2025
ef94ae9
fix typo
wxiaoguang Apr 9, 2025
3c71376
fix render, fix access token scope
wxiaoguang Apr 9, 2025
61e2015
avoid duplicate label queries
wxiaoguang Apr 9, 2025
f3b9dd4
fix search issue with ids
wxiaoguang Apr 9, 2025
13f2203
Merge branch 'main' into telackey/sort
wxiaoguang Apr 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Tabs not spaces
  • Loading branch information
telackey A5FB committed Feb 17, 2025
commit de58736eae96458caef878193f9c9a2e70e82a51
6 changes: 3 additions & 3 deletions templates/repo/issue/filter_list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@
<div class="divider"></div>
<div class="header">{{ctx.Locale.Tr "repo.issues.filter_label"}}</div>
{{range .ExclusiveLabelScopes}}
{{ $scope := . }}
{{ $sortType := (printf "scope-%s" $scope) }}
<a class="{{if eq $.SortType $sortType }}active {{end}}item" href="{{QueryBuild $queryLink "sort" $sortType}}">{{$scope}}</a>
{{ $scope := . }}
{{ $sortType := (printf "scope-%s" $scope) }}
<a class="{{if eq $.SortType $sortType }}active {{end}}item" href="{{QueryBuild $queryLink "sort" $sortType}}">{{$scope}}</a>
{{end}}
</div>
</div>
Loading
0