feat: add importedAt-based repository sorting (#226)

* repositories: add importedAt sorting

* repositories: use tanstack table for repo list
This commit is contained in:
ARUNAVO RAY
2026-03-15 08:52:45 +05:30
committed by GitHub
parent 1bca7df5ab
commit 6f53a3ed41
20 changed files with 2370 additions and 40 deletions

View File

@@ -187,6 +187,7 @@ export const POST: APIRoute = async ({ request, locals }) => {
status: "imported" as RepoStatus,
lastMirrored: null,
errorMessage: null,
importedAt: new Date(),
createdAt: repo.created_at ? new Date(repo.created_at) : new Date(),
updatedAt: repo.updated_at ? new Date(repo.updated_at) : new Date(),
};