0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-20 08:18:03 +01:00
gitea/models/issues
Giteabot 084bec89ed
Fix various problems around projects board view () ()
Backport  by @lunny

# The problem
The previous implementation will start multiple POST requests from the
frontend when moving a column and another bug is moving the default
column will never be remembered in fact.

# What's changed

- [x] This PR will allow the default column to move to a non-first
position
- [x] And it also uses one request instead of multiple requests when
moving the columns
- [x] Use a star instead of a pin as the icon for setting the default
column action
- [x] Inserted new column will be append to the end
- [x] Fix  the newly added issue will be append to the end of the
default column
- [x] Fix when deleting a column, all issues in it will be displayed
from UI but database records exist.
- [x] Add a limitation for columns in a project to 20. So the sorting
will not be overflow because it's int8.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-05-08 15:46:21 +00:00
..
assignees_test.go Remove deadcode under models/issues () 2023-12-19 20:12:02 +01:00
assignees.go Add user blocking () 2024-03-04 08:16:03 +00:00
comment_code.go Load attachments for code comments () 2024-03-27 04:44:26 +00:00
comment_list.go Add container.FilterSlice function () 2024-04-09 20:27:30 +08:00
comment_test.go More db.DefaultContext refactor () 2023-09-29 12:12:54 +00:00
comment.go Add container.FilterSlice function () 2024-04-09 20:27:30 +08:00
content_history_test.go Fix issue & comment history bugs () 2024-03-01 16:46:02 +00:00
content_history.go Fix issue & comment history bugs () 2024-03-01 16:46:02 +00:00
dependency_test.go Penultimate round of db.DefaultContext refactor () 2023-10-11 04:24:07 +00:00
dependency.go Penultimate round of db.DefaultContext refactor () 2023-10-11 04:24:07 +00:00
issue_index.go Another round of db.DefaultContext refactor () 2023-09-25 13:17:37 +00:00
issue_label_test.go Penultimate round of db.DefaultContext refactor () 2023-10-11 04:24:07 +00:00
issue_label.go Penultimate round of db.DefaultContext refactor () 2023-10-11 04:24:07 +00:00
issue_list_test.go
issue_list.go Refactor more filterslice () 2024-04-10 04:18:41 +00:00
issue_lock.go Penultimate round of db.DefaultContext refactor () 2023-10-11 04:24:07 +00:00
issue_project.go Fix various problems around projects board view () () 2024-05-08 15:46:21 +00:00
issue_search.go Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues () 2024-03-24 18:51:08 +00:00
issue_stats.go Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues () 2024-03-24 18:51:08 +00:00
issue_test.go Allow non-admin users to delete review requests () 2024-02-24 12:38:43 +00:00
issue_update.go Fix no edit history after editing issue's title and content () () 2024-05-03 14:43:16 +00:00
issue_user_test.go
issue_user.go Add combined index for issue_user.uid and issue_id () 2023-12-14 09:26:59 +00:00
issue_watch_test.go Next round of db.DefaultContext refactor () 2023-09-16 14:39:12 +00:00
issue_watch.go Even more db.DefaultContext refactor () 2023-10-03 10:30:41 +00:00
issue_xref_test.go
issue_xref.go Add user blocking () 2024-03-04 08:16:03 +00:00
issue.go Performance improvements for pull request list page () 2024-03-21 14:13:08 +01:00
label_test.go Remove deadcode under models/issues () 2023-12-19 20:12:02 +01:00
label.go Refactor label.IsArchived() () 2024-03-13 07:04:07 +01:00
main_test.go make writing main test easier () 2023-09-28 01:38:53 +00:00
milestone_list.go remove util.OptionalBool and related functions () 2024-03-02 16:42:31 +01:00
milestone_test.go remove util.OptionalBool and related functions () 2024-03-02 16:42:31 +01:00
milestone.go remove util.OptionalBool and related functions () 2024-03-02 16:42:31 +01:00
pull_list.go Allow everyone to read or write a wiki by a repo unit setting () 2024-04-17 15:58:37 +00:00
pull_test.go Refactor StringsToInt64s () 2024-03-21 15:07:35 +00:00
pull.go Update misspell to 0.5.1 and add misspellings.csv () 2024-04-27 08:03:49 +00:00
reaction.go Add container.FilterSlice function () 2024-04-09 20:27:30 +08:00
review_list.go Add container.FilterSlice function () 2024-04-09 20:27:30 +08:00
review_test.go Prevent re-review and dismiss review actions on closed and merged PRs () 2024-03-28 15:19:24 +00:00
review.go Enable more revive linter rules () 2024-04-22 11:48:42 +00:00
stopwatch_test.go Next round of db.DefaultContext refactor () 2023-09-16 14:39:12 +00:00
stopwatch.go Remove deadcode under models/issues () 2023-12-19 20:12:02 +01:00
tracked_time_test.go remove util.OptionalBool and related functions () 2024-03-02 16:42:31 +01:00
tracked_time.go Update misspell to 0.5.1 and add misspellings.csv () 2024-04-27 08:03:49 +00:00