feat(tests): remove Time Log, move Tempo sync to Phase Timeline
Some checks failed
Aegis CI / lint-and-test (push) Has been cancelled
Some checks failed
Aegis CI / lint-and-test (push) Has been cancelled
- 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
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -28,7 +28,6 @@ import TeamTabs from "../components/test-detail/TeamTabs";
|
||||
import ValidationModal from "../components/test-detail/ValidationModal";
|
||||
import ConfirmDialog from "../components/ConfirmDialog";
|
||||
import JiraLinkPanel from "../components/JiraLinkPanel";
|
||||
import WorklogTimeline from "../components/WorklogTimeline";
|
||||
import TestPhaseTimeline from "../components/TestPhaseTimeline";
|
||||
|
||||
// ── Page Component ─────────────────────────────────────────────────
|
||||
@@ -541,11 +540,8 @@ export default function TestDetailPage() {
|
||||
{/* Jira Integration */}
|
||||
<JiraLinkPanel entityType="test" entityId={testId!} />
|
||||
|
||||
{/* Phase Timeline (read-only, derived from test timestamps) */}
|
||||
<TestPhaseTimeline test={test} />
|
||||
|
||||
{/* Time Tracking (manual worklogs) */}
|
||||
<WorklogTimeline entityType="test" entityId={testId!} />
|
||||
{/* Phase Timeline (read-only, with Tempo sync) */}
|
||||
<TestPhaseTimeline test={test} testId={testId} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user