feat(tests): remove Time Log, move Tempo sync to Phase Timeline
- Remove WorklogTimeline (manual time log) from test detail page
- TestPhaseTimeline now accepts testId, fetches its own worklogs,
and shows Tempo sync status on the Red Team Execution row:
• green badge if already synced (with worklog ID tooltip)
• 'Sync to Tempo' button (blue) if not yet synced
- Add POST /tests/{id}/sync-tempo backend endpoint for manual sync:
finds unsynced red_team_execution worklogs and pushes them to Tempo
This commit is contained in:
@@ -53,6 +53,11 @@ export async function getWorklog(worklogId: string): Promise<Worklog> {
|
||||
return data;
|
||||
}
|
||||
|
||||
/** List worklogs for a specific test (shorthand). */
|
||||
export async function listTestWorklogs(testId: string): Promise<Worklog[]> {
|
||||
return listWorklogs({ entity_type: "test", entity_id: testId });
|
||||
}
|
||||
|
||||
/** Verify a worklog's integrity hash. */
|
||||
export async function verifyWorklogIntegrity(
|
||||
worklogId: string,
|
||||
|
||||
Reference in New Issue
Block a user