diff --git a/web/src/components/InterviewCard.vue b/web/src/components/InterviewCard.vue index e2f6d81..7a8561f 100644 --- a/web/src/components/InterviewCard.vue +++ b/web/src/components/InterviewCard.vue @@ -90,6 +90,14 @@ async function reclassifySignal(sig: StageSignal, newLabel: StageSignal['stage_s body: JSON.stringify({ stage_signal: newLabel }), }) await useApiFetch(`/api/stage-signals/${sig.id}/dismiss`, { method: 'POST' }) + // Digest-only: add to browsable queue (fire-and-forget; sig.id === job_contacts.id) + if (newLabel === 'digest') { + useApiFetch('/api/digest-queue', { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ job_contact_id: sig.id }), + }).catch(() => {}) + } } else { const prev = sig.stage_signal sig.stage_signal = newLabel diff --git a/web/src/views/InterviewsView.vue b/web/src/views/InterviewsView.vue index 0cdb5a6..f3f829b 100644 --- a/web/src/views/InterviewsView.vue +++ b/web/src/views/InterviewsView.vue @@ -108,6 +108,14 @@ async function reclassifyPreSignal(job: PipelineJob, sig: StageSignal, newLabel: body: JSON.stringify({ stage_signal: newLabel }), }) await useApiFetch(`/api/stage-signals/${sig.id}/dismiss`, { method: 'POST' }) + // Digest-only: add to browsable queue (fire-and-forget; sig.id === job_contacts.id) + if (newLabel === 'digest') { + useApiFetch('/api/digest-queue', { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ job_contact_id: sig.id }), + }).catch(() => {}) + } } else { const prev = sig.stage_signal sig.stage_signal = newLabel