summaryrefslogtreecommitdiffstats
path: root/web_src/js/features
diff options
context:
space:
mode:
authorDenys Konovalov <kontakt@denyskon.de>2024-03-27 21:54:32 +0100
committerGitHub <noreply@github.com>2024-03-27 20:54:32 +0000
commite5160185ed65fd1c2bcb2fc7dc7e0b5514ddb299 (patch)
tree445f8d17503819eca709297093832c69ee1830a3 /web_src/js/features
parent4eb86d68233241d53cff1009ecff17ac35efccd4 (diff)
downloadgitea-e5160185ed65fd1c2bcb2fc7dc7e0b5514ddb299.tar.gz
gitea-e5160185ed65fd1c2bcb2fc7dc7e0b5514ddb299.zip
Add default board to new projects, remove uncategorized pseudo-board (#29874)
On creation of an empty project (no template) a default board will be created instead of falling back to the uneditable pseudo-board. Every project now has to have exactly one default boards. As a consequence, you cannot unset a board as default, instead you have to set another board as default. Existing projects will be modified using a cron job, additionally this check will run every midnight by default. Deleting the default board is not allowed, you have to set another board as default to do it. Fixes #29873 Fixes #14679 along the way Fixes #29853 Co-authored-by: delvh <dev.lh@web.de>
Diffstat (limited to 'web_src/js/features')
-rw-r--r--web_src/js/features/repo-projects.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/web_src/js/features/repo-projects.js b/web_src/js/features/repo-projects.js
index fc688bb695..1747cb2b3a 100644
--- a/web_src/js/features/repo-projects.js
+++ b/web_src/js/features/repo-projects.js
@@ -58,7 +58,6 @@ async function initRepoProjectSortable() {
createSortable(mainBoard, {
group: 'project-column',
draggable: '.project-column',
- filter: '[data-id="0"]',
animation: 150,
ghostClass: 'card-ghost',
delayOnTouchOnly: true,