Add dedicated 'closed' status for listings no longer accepting applications
Distinguishes closed listings from missing apply buttons. Shows in summary as a separate line item. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -95,7 +95,7 @@ export function formatSearchSummary(added, skipped, platforms) {
|
||||
export function formatApplySummary(results) {
|
||||
const { submitted, failed, needs_answer, total,
|
||||
skipped_recruiter, skipped_external, skipped_no_apply,
|
||||
skipped_other, already_applied, atsCounts } = results;
|
||||
skipped_other, already_applied, closed, atsCounts } = results;
|
||||
|
||||
const lines = [
|
||||
`✅ *Apply Run Complete* — ${total} jobs processed`,
|
||||
@@ -106,6 +106,7 @@ export function formatApplySummary(results) {
|
||||
// Only show non-zero categories to keep the summary clean
|
||||
if (needs_answer) lines.push(`💬 Needs your answer: ${needs_answer}`);
|
||||
if (failed) lines.push(`❌ Failed: ${failed}`);
|
||||
if (closed) lines.push(`🚫 Closed: ${closed}`);
|
||||
if (skipped_no_apply) lines.push(`⏭️ No apply button: ${skipped_no_apply}`);
|
||||
if (skipped_recruiter) lines.push(`🚫 Recruiter-only: ${skipped_recruiter}`);
|
||||
if (already_applied) lines.push(`🔁 Already applied: ${already_applied}`);
|
||||
|
||||
Reference in New Issue
Block a user