feat: GitHub-link op DONE-card + pushed_at doorvoer
- lib/job-status-url.ts: getBranchUrl(repoUrl, branch) → GitHub tree URL - JobState + ClaudeJobEvent: pushed_at? veld toegevoegd - realtime/solo/route.ts: pushed_at in Prisma-select, JobPayload en mapping - SoloBoardProps + TaskDetailDialog: repoUrl prop doorgevoerd - task-detail-dialog: "Open op GitHub"-link als done + pushed_at + branch + repoUrl - 3 unit-tests voor getBranchUrl; totaal 261 tests groen Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
120a05347b
commit
f59f4754df
7 changed files with 55 additions and 9 deletions
4
lib/job-status-url.ts
Normal file
4
lib/job-status-url.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export function getBranchUrl(repoUrl: string, branch: string): string {
|
||||
const base = repoUrl.replace(/\.git$/, '').replace(/\/$/, '')
|
||||
return `${base}/tree/${branch}`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue