Rich apply summary with per-job details (title, company, link)
Each job now shows title @ company with a clickable link, grouped by status category. Only non-empty categories are shown. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -53,7 +53,8 @@ async function main() {
|
||||
const results = {
|
||||
submitted: 0, failed: 0, needs_answer: 0, total: 0,
|
||||
skipped_recruiter: 0, skipped_external: 0, skipped_no_apply: 0, skipped_other: 0,
|
||||
already_applied: 0, atsCounts: {}
|
||||
already_applied: 0, closed: 0, atsCounts: {},
|
||||
jobDetails: [], // { title, company, url, status } per job for summary
|
||||
};
|
||||
|
||||
lock.onShutdown(() => {
|
||||
@@ -245,6 +246,9 @@ async function handleResult(job, result, results, settings, profile, apiKey) {
|
||||
const title = meta?.title || job.title || '?';
|
||||
const company = meta?.company || job.company || '?';
|
||||
|
||||
// Track per-job detail for summary
|
||||
results.jobDetails.push({ title, company, url: job.url, status });
|
||||
|
||||
switch (status) {
|
||||
case 'submitted':
|
||||
console.log(` ✅ Applied!`);
|
||||
|
||||
Reference in New Issue
Block a user