feat: group luzern jobs in daily digest

This commit is contained in:
2026-11-03 15:35:01 +01:00
parent 73840cad04
commit b5cf8931ea
+2 -1
View File
@@ -133,9 +133,10 @@ const area = (r: Row) => {
if (text.includes("basel")) return "🟢 Basel"; if (text.includes("basel")) return "🟢 Basel";
if (text.includes("zürich") || text.includes("zurich")) return "🔵 Zürich"; if (text.includes("zürich") || text.includes("zurich")) return "🔵 Zürich";
if (text.includes("bern")) return "🟣 Bern"; if (text.includes("bern")) return "🟣 Bern";
if (text.includes("luzern") || text.includes("lucerne")) return "🟠 Luzern";
return "⚪️ Other"; return "⚪️ Other";
}; };
const order = ["🟢 Basel", "🌍 Remote", "🔵 Zürich", "🟣 Bern", "⚪️ Other"]; const order = ["🟢 Basel", "🌍 Remote", "🔵 Zürich", "🟣 Bern", "🟠 Luzern", "⚪️ Other"];
const groups = new Map<string, Row[]>(); const groups = new Map<string, Row[]>();
for (const r of matched) { for (const r of matched) {
const k = area(r); const k = area(r);