feat(S04/T02): Made the job table show actionable follow-up/package nex…

- job-tracker-ui/src/components/JobTable.tsx
- job-tracker-ui/src/daily-control-loop.test.tsx
- job-tracker-ui/src/i18n/translations.ts
- .gsd/milestones/M001/slices/S04/S04-PLAN.md
- .gsd/milestones/M001/slices/S04/tasks/T02-PLAN.md
This commit is contained in:
2026-03-24 13:56:42 +01:00
parent 8c9fb5b71f
commit 85fa373ba4
9 changed files with 236 additions and 31 deletions
+17 -5
View File
@@ -160,13 +160,25 @@ test('reminders open action routes tailored-cv gaps into the tailored cv workspa
expect(await screen.findByText(/build the package here, then save the working copy back onto this job/i)).toBeInTheDocument();
});
test('job table urgency chips route into the correct workspace tab', async () => {
renderLoop('/jobs');
test('job table urgency signals and next actions route into the shared workspace flow', async () => {
const firstRender = renderLoop('/jobs');
const followUpChip = await screen.findByText(/follow up/i);
fireEvent.click(followUpChip);
fireEvent.click(await screen.findByRole('button', { name: /backend developer — follow up signal/i }));
await waitFor(() => {
expect(screen.getByText(/follow-up context/i)).toBeInTheDocument();
expect(screen.getByTestId('location-indicator')).toHaveTextContent('/jobs');
});
expect(await screen.findByText(/follow-up context/i)).toBeInTheDocument();
expect(await screen.findByText(/saved cover letter available/i)).toBeInTheDocument();
firstRender.unmount();
renderLoop('/jobs');
fireEvent.click(await screen.findByRole('button', { name: /next action: platform engineer — build package/i }));
await waitFor(() => {
expect(screen.getByTestId('location-indicator')).toHaveTextContent('/jobs');
});
expect(await screen.findByText(/build the package here, then save the working copy back onto this job/i)).toBeInTheDocument();
expect(await screen.findByText(/platform work/i)).toBeInTheDocument();
});