feat: kanban tui
runner nix smoke / nix label and flake smoke (push) Failing after 1m12s

This commit is contained in:
2026-09-27 15:42:51 +00:00
parent 4c9611a2d2
commit 335a74010d
28 changed files with 4636 additions and 100 deletions
@@ -6,6 +6,7 @@ package project
import (
"context"
"errors"
"math"
"gitea.dev/models/db"
"gitea.dev/modules/util"
@@ -46,6 +47,9 @@ func GetColumnIssueNextSorting(ctx context.Context, projectID, columnID int64) (
Get(&res); err != nil {
return 0, err
}
if res.IssueCount > 0 && res.MaxSorting == math.MaxInt64 {
return 0, util.NewInvalidArgumentErrorf("project column sorting is exhausted")
}
return util.Iif(res.IssueCount > 0, res.MaxSorting+1, 0), nil
}