feat(projects): add a Kanban board per repository and one for the organization
Boards live in SQLite rather than in Gitea, whose project API is not stable across versions: a board that stops working whenever the forge hiccups is worse than no board, and this one has hiccupped already. A card can still point at an issue — `owner/repo#12` — and its real state is resolved when the forge answers, one request per repository rather than per card. Open issues can also be imported in bulk, skipping those already on the board. Columns follow the ones the README describes, and carry an optional card limit which warns rather than refuses: stopping someone mid-gesture to enforce a convention is not what a limit is for. Moving a card rebuilds the order explicitly — take the column without it, insert at the wanted rank, renumber — because fractional positions get the same-column case wrong, as the tests showed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
6 files changed
+1133
No files matched your search
@@ -11,6 +11,7 @@ import { registerDiscordRoutes } from './discord.js';
|
||||
import { registerLogRoutes } from './logs.js';
|
||||
import { registerOrganizationRoutes } from './organization.js';
|
||||
import { registerOverviewRoutes } from './overview.js';
|
||||
import { registerProjectRoutes } from './projects.js';
|
||||
import { registerReleaseRoutes } from './releases.js';
|
||||
import { registerRepositoryRoutes } from './repositories.js';
|
||||
import { registerSettingsRoutes } from './settings.js';
|
||||
@@ -107,6 +108,7 @@ export function registerApiRoutes(router, { setupOnly = false } = {}) {
|
||||
|
||||
registerOverviewRoutes(router);
|
||||
registerOrganizationRoutes(router);
|
||||
registerProjectRoutes(router);
|
||||
registerRepositoryRoutes(router);
|
||||
registerReleaseRoutes(router);
|
||||
registerDeploymentRoutes(router);
|
||||
|
||||
Reference in new issue
Block a user