A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
fix: keep interview agenda available in phone browsers (#3725)
Amruth Pillaie6234aafc3d7
diff --git a/apps/mobile/scripts/experience.test.mjs b/apps/mobile/scripts/experience.test.mjsindex ec0ed49a5..ebc309659 100644--- a/apps/mobile/scripts/experience.test.mjs+++ b/apps/mobile/scripts/experience.test.mjs@@ -588,6 +588,99 @@ discardPrior().onConfirm();assert.deepEqual(calls, ["close-draft", "/applications/previous"], "explicit discard opens the prior application");console.log("PASS native prior-application draft confirmation and save lock");+// Default calendar month/day follows the account clock; explicit navigation remains pinned.+const calendarSchedule = load("features/reminders/schedule.ts", { "@reactive-resume/utils/timezone": {} });+const nativeCalendar = load("features/applications-board/calendar.ts", {+ "../reminders/schedule.ts": calendarSchedule,+});+const calendarTokens = load("ui/tokens.ts", { "react-native": { Easing: { bezier: () => null } } });+let calendarNow = new Date("2026-10-31T22:59:30Z");+const calendarRows = [+ {+ id: "calendar-application",+ company: "Fictional Labs",+ role: "Engineer",+ status: "interview",+ activity: ["2026-10-31T22:30:00Z", "2026-11-01T09:00:00Z", "2026-11-04T14:00:00Z"].map((at, index) => ({+ id: `calendar-${index}`,+ type: "interview",+ at,+ durationMinutes: 60,+ kind: "technical",+ timezone: "UTC",+ })),+ },+];+const { CalendarScreen } = load("features/applications-board/calendar-screen.tsx", {+ "react-native": { View: "View", Pressable: "Pressable", ScrollView: "ScrollView", RefreshControl: "RefreshControl" },+ "@lingui/react/macro": { useLingui: () => ({ t: tag, i18n: { locale: "en-GB" } }) },+ "@lingui/core/macro": {+ plural: (value, forms) => (forms[value] ?? forms[value === 1 ? "one" : "other"]).replace("#", String(value)),+ },+ "./calendar": nativeCalendar,+ "./search": { useApplicationSearch: () => ({ search: "" }) },+ "./views": { ApplicationsViewFrame: "ApplicationsViewFrame" },+ "@/features/application-detail/hooks": {+ useNow: () => calendarNow,+ useUserTime: () => ({ timeZone: "Europe/Berlin", time: () => "" }),+ interviewTypeLabel: (kind) => kind,+ },+ "@/features/application-detail/interview-sheet": { InterviewSheet: "InterviewSheet" },+ "@/features/application-detail/sheets": { FollowUpSheet: "FollowUpSheet" },+ "@/features/applications/error": { applicationError: () => "offline" },+ "@/features/applications/list": { filterApplications: (rows) => rows },+ "@/features/applications/queries": {+ useApplications: () => ({ data: calendarRows, isError: false, isPending: false, refetch() {} }),+ },+ "@/shell/use-is-tablet": { useIsTablet: () => false },+ "@/ui": {+ ...ui,+ EmptyState: "EmptyState",+ Sheet: "Sheet",+ useTheme: () => ({ ...calendarTokens, colors: calendarTokens.colors.light }),+ },+});+const calendarComponent = nodes(CalendarScreen()).find((node) => typeof node.type === "function").type;+reset();+const calendarView = () => render(calendarComponent);+const calendarHeading = () => nodes(calendarView()).find((node) => node.props.variant === "heading").props.children[0];+const calendarText = () =>+ nodes(calendarView())+ .flatMap((node) => node.props.children.flat(Infinity))+ .filter((child) => typeof child === "string");+assert.equal(calendarHeading(), "October 2026");+assert.ok(calendarText().includes("1 interview"));+calendarNow = new Date("2026-10-31T23:00:30Z");+assert.equal(calendarHeading(), "November 2026");+assert.ok(calendarText().includes("2 interviews"));+assert.ok(calendarText().includes("Today"), "unselected day follows account-local midnight");+control(calendarView(), "Previous month").onPress();+calendarNow = new Date("2026-11-30T23:00:30Z");+assert.equal(calendarHeading(), "October 2026", "explicit month survives account-month rollover");+control(calendarView(), "This month").onPress();+assert.equal(calendarHeading(), "December 2026");+calendarNow = new Date("2026-12-31T23:00:30Z");+assert.equal(calendarHeading(), "January 2027", "This month restores following the account clock");+const selectedCalendarDay = new Intl.DateTimeFormat("en-GB", {+ timeZone: "UTC",+ weekday: "long",+ day: "numeric",+ month: "long",+}).format(new Date("2027-01-04T00:00:00Z"));+const dayChoice = nodes(calendarView()).find(+ (node) => node.type === "Pressable" && node.props.accessibilityLabel === selectedCalendarDay,+);+assert.ok(dayChoice);+dayChoice.props.onPress();+calendarNow = new Date("2027-01-31T23:00:30Z");+assert.equal(calendarHeading(), "January 2027", "choosing a day pins its displayed month");+assert.ok(calendarText().includes(selectedCalendarDay), "chosen day survives account-local rollover");+assert.equal(control(calendarView(), "This month").disabled, false);+control(calendarView(), "This month").onPress();+assert.equal(calendarHeading(), "February 2027");+assert.ok(calendarText().includes("Today"));+console.log("PASS native calendar follows account month/day and preserves explicit browsing");+// Native Save must stay reachable for validation, then focus the actual missing input.const careerSchema = load("../../../packages/schema/src/career.ts", {zod,diff --git a/apps/mobile/src/features/applications-board/calendar-screen.tsx b/apps/mobile/src/features/applications-board/calendar-screen.tsxindex b6215734e..531cbd4aa 100644--- a/apps/mobile/src/features/applications-board/calendar-screen.tsx+++ b/apps/mobile/src/features/applications-board/calendar-screen.tsx@@ -60,11 +60,10 @@ function ApplicationCalendar() {const now = useNow();const timeZone = userTime.timeZone;const today = dayKeyOf(now, timeZone);- const [month, setMonth] = useState(() => ({- year: Number(today.slice(0, 4)),- month: Number(today.slice(5, 7)) - 1,- }));- const [selected, setSelected] = useState(today);+ const [browsedMonth, setBrowsedMonth] = useState<{ year: number; month: number } | null>(null);+ const month = browsedMonth ?? { year: Number(today.slice(0, 4)), month: Number(today.slice(5, 7)) - 1 };+ const [selectedDay, setSelectedDay] = useState<string | null>(null);+ const selected = selectedDay ?? today;const [picking, setPicking] = useState(false);const [pickedId, setPickedId] = useState<string | null>(null);const [editing, setEditing] = useState<Editing | null>(null);@@ -80,7 +79,6 @@ function ApplicationCalendar() {const monthInterviews = events.filter((event) => event.kind === "interview" && event.day.startsWith(monthPrefix),).length;- const isThisMonth = today.startsWith(monthPrefix);const utc = (options: Intl.DateTimeFormatOptions) =>new Intl.DateTimeFormat(i18n.locale, { timeZone: "UTC", ...options });@@ -171,12 +169,12 @@ function ApplicationCalendar() {<IconButtonicon="caret-left"label={t`Previous month`}- onPress={() => setMonth(shiftMonth(month.year, month.month, -1))}+ onPress={() => setBrowsedMonth(shiftMonth(month.year, month.month, -1))}/><IconButtonicon="caret-right"label={t`Next month`}- onPress={() => setMonth(shiftMonth(month.year, month.month, 1))}+ onPress={() => setBrowsedMonth(shiftMonth(month.year, month.month, 1))}/></View><View style={{ flexDirection: "row", flexWrap: "wrap", gap: space.s2 }}>@@ -184,10 +182,10 @@ function ApplicationCalendar() {variant="secondary"size="sm"label={t`This month`}- disabled={isThisMonth}+ disabled={browsedMonth === null && selectedDay === null}onPress={() => {- setMonth({ year: Number(today.slice(0, 4)), month: Number(today.slice(5, 7)) - 1 });- setSelected(today);+ setBrowsedMonth(null);+ setSelectedDay(null);}}/><Button@@ -233,7 +231,10 @@ function ApplicationCalendar() {accessibilityRole="button"accessibilityState={{ selected: isSelected }}accessibilityLabel={`${fullDay.format(dateOfKey(day.key))}${summary ? `: ${summary}` : ""}`}- onPress={() => setSelected(day.key)}+ onPress={() => {+ setBrowsedMonth(month);+ setSelectedDay(day.key);+ }}style={{flex: 1,minHeight: tablet ? size.hit * 2 : size.hit,diff --git a/apps/web/locales/af-ZA.po b/apps/web/locales/af-ZA.poindex dc0886046..f7a26c8c8 100644--- a/apps/web/locales/af-ZA.po+++ b/apps/web/locales/af-ZA.po@@ -6207,6 +6207,10 @@ msgstr "Het 14 kliënte ondervra, drie uitvalpunte uitgestippel en saam met ingemsgid "Interviewer"msgstr "Onderhoudvoerder"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Onderhoude"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Is aandele deel van die aanbod?"diff --git a/apps/web/locales/am-ET.po b/apps/web/locales/am-ET.poindex 978efbe4f..26c7d1c2a 100644--- a/apps/web/locales/am-ET.po+++ b/apps/web/locales/am-ET.po@@ -6207,6 +6207,10 @@ msgstr "14 ደንበኞችን ቃለ መጠይቅ አደረገ፣ ሶስት የmsgid "Interviewer"msgstr "ጠያቂ"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "ቃለ መጠይቆች"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "የአክሲዮን ድርሻ የቅናሹ አካል ነው?"diff --git a/apps/web/locales/ar-SA.po b/apps/web/locales/ar-SA.poindex f998c6a30..6ec2b9cde 100644--- a/apps/web/locales/ar-SA.po+++ b/apps/web/locales/ar-SA.po@@ -6207,6 +6207,10 @@ msgstr "أجرى مقابلات مع 14 عميلًا، وحدّد ثلاث نقmsgid "Interviewer"msgstr "المحاور"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "المقابلات"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "هل الأسهم جزء من العرض؟"diff --git a/apps/web/locales/az-AZ.po b/apps/web/locales/az-AZ.poindex ce880d2a6..8b1c2cc47 100644--- a/apps/web/locales/az-AZ.po+++ b/apps/web/locales/az-AZ.po@@ -6207,6 +6207,10 @@ msgstr "14 müştəri ilə müsahibə aparıb, üç tərketmə nöqtəsini müəmsgid "Interviewer"msgstr "Müsahib"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Müsahibələr"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Pay təklifin bir hissəsidirmi?"diff --git a/apps/web/locales/bg-BG.po b/apps/web/locales/bg-BG.poindex fba6a215b..5f90b7e75 100644--- a/apps/web/locales/bg-BG.po+++ b/apps/web/locales/bg-BG.po@@ -6207,6 +6207,10 @@ msgstr "Проведени интервюта с 14 клиенти, очертаmsgid "Interviewer"msgstr "Интервюиращ"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Интервюта"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Включено ли е дялово участие в офертата?"diff --git a/apps/web/locales/bn-BD.po b/apps/web/locales/bn-BD.poindex 1c9a2356c..5a6c2cac2 100644--- a/apps/web/locales/bn-BD.po+++ b/apps/web/locales/bn-BD.po@@ -6207,6 +6207,10 @@ msgstr "14 জন গ্রাহকের সাক্ষাৎকার নিmsgid "Interviewer"msgstr "ইন্টারভিউয়ার"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "সাক্ষাৎকার"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "ইকুইটি কি অফারের অংশ?"diff --git a/apps/web/locales/ca-ES.po b/apps/web/locales/ca-ES.poindex fb7b55734..24600a3a6 100644--- a/apps/web/locales/ca-ES.po+++ b/apps/web/locales/ca-ES.po@@ -6207,6 +6207,10 @@ msgstr "Entrevistes a 14 clients, identificació de tres punts d'abandonament imsgid "Interviewer"msgstr "Entrevistador"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Entrevistes"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "L'oferta inclou accions?"diff --git a/apps/web/locales/cs-CZ.po b/apps/web/locales/cs-CZ.poindex ffd2cd126..dd18d6eb3 100644--- a/apps/web/locales/cs-CZ.po+++ b/apps/web/locales/cs-CZ.po@@ -6207,6 +6207,10 @@ msgstr "Rozhovory se 14 zákazníky, zmapování tří míst odpadu a prototyp kmsgid "Interviewer"msgstr "Tazatel"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Pohovory"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Jsou součástí nabídky akcie?"diff --git a/apps/web/locales/da-DK.po b/apps/web/locales/da-DK.poindex b568c6600..74df5f20e 100644--- a/apps/web/locales/da-DK.po+++ b/apps/web/locales/da-DK.po@@ -6207,6 +6207,10 @@ msgstr "Interviewede 14 kunder, kortlagde tre steder, hvor folk faldt fra, og lamsgid "Interviewer"msgstr "Interviewer"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Jobsamtaler"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Indgår aktier i tilbuddet?"diff --git a/apps/web/locales/de-DE.po b/apps/web/locales/de-DE.poindex 829d6d1ae..9f95e87fe 100644--- a/apps/web/locales/de-DE.po+++ b/apps/web/locales/de-DE.po@@ -6207,6 +6207,10 @@ msgstr "14 Kunden interviewt, drei Abbruchpunkte kartiert und mit dem Engineerinmsgid "Interviewer"msgstr "Interviewer"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Vorstellungsgespräche"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Ist eine Unternehmensbeteiligung Teil des Angebots?"diff --git a/apps/web/locales/el-GR.po b/apps/web/locales/el-GR.poindex 1b4e0ee0a..5d352bcc2 100644--- a/apps/web/locales/el-GR.po+++ b/apps/web/locales/el-GR.po@@ -6207,6 +6207,10 @@ msgstr "Πήρα συνέντευξη από 14 πελάτες, χαρτογράmsgid "Interviewer"msgstr "Συνεντευκτής"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Συνεντεύξεις"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Περιλαμβάνει η προσφορά μετοχές;"diff --git a/apps/web/locales/en-GB.po b/apps/web/locales/en-GB.poindex e7a81c172..a15e55b6a 100644--- a/apps/web/locales/en-GB.po+++ b/apps/web/locales/en-GB.po@@ -6207,6 +6207,10 @@ msgstr "Interviewed 14 customers, mapped three drop-off points and prototyped amsgid "Interviewer"msgstr "Interviewer"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Interviews"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Is equity part of the offer?"diff --git a/apps/web/locales/en-US.po b/apps/web/locales/en-US.poindex 875d0e593..43b66fb66 100644--- a/apps/web/locales/en-US.po+++ b/apps/web/locales/en-US.po@@ -6202,6 +6202,10 @@ msgstr "Interviewed 14 customers, mapped three drop-off points and prototyped amsgid "Interviewer"msgstr "Interviewer"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Interviews"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Is equity part of the offer?"diff --git a/apps/web/locales/es-ES.po b/apps/web/locales/es-ES.poindex 29fca91ec..7c5fc948b 100644--- a/apps/web/locales/es-ES.po+++ b/apps/web/locales/es-ES.po@@ -6207,6 +6207,10 @@ msgstr "Entrevisté a 14 clientes, identifiqué tres puntos de abandono y prototmsgid "Interviewer"msgstr "Entrevistador"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Entrevistas"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "¿La oferta incluye acciones?"diff --git a/apps/web/locales/fa-IR.po b/apps/web/locales/fa-IR.poindex eaa78ca92..bede8c950 100644--- a/apps/web/locales/fa-IR.po+++ b/apps/web/locales/fa-IR.po@@ -6207,6 +6207,10 @@ msgstr "با ۱۴ مشتری مصاحبه کردم، سه نقطهٔ ریزش رmsgid "Interviewer"msgstr "مصاحبه کننده"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "مصاحبهها"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "آیا سهام بخشی از پیشنهاد است؟"diff --git a/apps/web/locales/fi-FI.po b/apps/web/locales/fi-FI.poindex 45ac409ee..58de277e0 100644--- a/apps/web/locales/fi-FI.po+++ b/apps/web/locales/fi-FI.po@@ -6207,6 +6207,10 @@ msgstr "Haastattelin 14 asiakasta, kartoitin kolme keskeyttämiskohtaa ja prototmsgid "Interviewer"msgstr "Haastattelija"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Haastattelut"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Kuuluuko tarjoukseen osakkeita?"diff --git a/apps/web/locales/fr-FR.po b/apps/web/locales/fr-FR.poindex df2cb5a2b..6d2febec8 100644--- a/apps/web/locales/fr-FR.po+++ b/apps/web/locales/fr-FR.po@@ -6207,6 +6207,10 @@ msgstr "Interviewé 14 clients, cartographié trois points d'abandon et prototypmsgid "Interviewer"msgstr "Intervieweur"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Entretiens"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Des actions font-elles partie de l'offre ?"diff --git a/apps/web/locales/he-IL.po b/apps/web/locales/he-IL.poindex 762c7f200..8971dee6e 100644--- a/apps/web/locales/he-IL.po+++ b/apps/web/locales/he-IL.po@@ -6207,6 +6207,10 @@ msgstr "ריאיון של 14 לקוחות, מיפוי שלוש נקודות נטmsgid "Interviewer"msgstr "מראיין"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "ראיונות"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "האם ההצעה כוללת אופציות?"diff --git a/apps/web/locales/hi-IN.po b/apps/web/locales/hi-IN.poindex f89c70192..9ce330378 100644--- a/apps/web/locales/hi-IN.po+++ b/apps/web/locales/hi-IN.po@@ -6207,6 +6207,10 @@ msgstr "14 ग्राहकों के साक्षात्कार लmsgid "Interviewer"msgstr "साक्षात्कारकर्ता"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "साक्षात्कार"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "क्या ऑफ़र में इक्विटी शामिल है?"diff --git a/apps/web/locales/hu-HU.po b/apps/web/locales/hu-HU.poindex 42686b6b5..82cee2114 100644--- a/apps/web/locales/hu-HU.po+++ b/apps/web/locales/hu-HU.po@@ -6207,6 +6207,10 @@ msgstr "14 ügyfélinterjú, három lemorzsolódási pont feltérképezése ésmsgid "Interviewer"msgstr "Riporter"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Állásinterjúk"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Része az ajánlatnak a részesedés?"diff --git a/apps/web/locales/id-ID.po b/apps/web/locales/id-ID.poindex d8f69bcce..b7f7b018e 100644--- a/apps/web/locales/id-ID.po+++ b/apps/web/locales/id-ID.po@@ -6207,6 +6207,10 @@ msgstr "Mewawancarai 14 pelanggan, memetakan tiga titik drop-off, dan membuat prmsgid "Interviewer"msgstr "Pewawancara"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Wawancara"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Apakah ekuitas termasuk dalam penawaran?"diff --git a/apps/web/locales/it-IT.po b/apps/web/locales/it-IT.poindex 18c8c7d21..fb6248a75 100644--- a/apps/web/locales/it-IT.po+++ b/apps/web/locales/it-IT.po@@ -6207,6 +6207,10 @@ msgstr "Intervistato 14 clienti, mappato tre punti di abbandono e prototipato comsgid "Interviewer"msgstr "Intervistatore"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Colloqui"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "L'offerta include equity?"diff --git a/apps/web/locales/ja-JP.po b/apps/web/locales/ja-JP.poindex c9c5014db..824784b93 100644--- a/apps/web/locales/ja-JP.po+++ b/apps/web/locales/ja-JP.po@@ -6207,6 +6207,10 @@ msgstr "14人の顧客にインタビューし、3つの離脱ポイントを洗msgid "Interviewer"msgstr "インタビュアー"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "面接"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "オファーに株式報酬は含まれますか?"diff --git a/apps/web/locales/km-KH.po b/apps/web/locales/km-KH.poindex 8bc934c45..93cc718b1 100644--- a/apps/web/locales/km-KH.po+++ b/apps/web/locales/km-KH.po@@ -6207,6 +6207,10 @@ msgstr "បានសម្ភាសអតិថិជន 14 នាក់ គូmsgid "Interviewer"msgstr "អ្នកសម្ភាសន៍"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "ការសម្ភាសន៍"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "តើភាគហ៊ុនជាផ្នែកមួយនៃការផ្តល់ការងារទេ?"diff --git a/apps/web/locales/kn-IN.po b/apps/web/locales/kn-IN.poindex 355a4aef8..c4dc7df4b 100644--- a/apps/web/locales/kn-IN.po+++ b/apps/web/locales/kn-IN.po@@ -6207,6 +6207,10 @@ msgstr "14 ಗ್ರಾಹಕರನ್ನು ಸಂದರ್ಶಿಸಿದೆ,msgid "Interviewer"msgstr "ಸಂದರ್ಶಕ"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "ಸಂದರ್ಶನಗಳು"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "ಈಕ್ವಿಟಿ ಆಫರ್ನ ಭಾಗವೇ?"diff --git a/apps/web/locales/ko-KR.po b/apps/web/locales/ko-KR.poindex 03e129f94..f2e57e750 100644--- a/apps/web/locales/ko-KR.po+++ b/apps/web/locales/ko-KR.po@@ -6207,6 +6207,10 @@ msgstr "고객 14명 인터뷰, 이탈 지점 세 곳 파악, 엔지니어링msgid "Interviewer"msgstr "면접관"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "면접"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "오퍼에 지분이 포함되나요?"diff --git a/apps/web/locales/lt-LT.po b/apps/web/locales/lt-LT.poindex 248656d64..683345e16 100644--- a/apps/web/locales/lt-LT.po+++ b/apps/web/locales/lt-LT.po@@ -6207,6 +6207,10 @@ msgstr "Apklausiau 14 klientų, nustačiau tris nubyrėjimo vietas ir su inžinimsgid "Interviewer"msgstr "Pašnekovas"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Pokalbiai dėl darbo"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Ar pasiūlyme yra akcijų?"diff --git a/apps/web/locales/lv-LV.po b/apps/web/locales/lv-LV.poindex 010c9ad38..b2415251d 100644--- a/apps/web/locales/lv-LV.po+++ b/apps/web/locales/lv-LV.po@@ -6207,6 +6207,10 @@ msgstr "Intervēju 14 klientus, identificēju trīs atbiruma punktus un ar inžemsgid "Interviewer"msgstr "Intervētājs"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Darba intervijas"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Vai piedāvājumā ir iekļautas akcijas?"diff --git a/apps/web/locales/ml-IN.po b/apps/web/locales/ml-IN.poindex e9327e889..0875fcd43 100644--- a/apps/web/locales/ml-IN.po+++ b/apps/web/locales/ml-IN.po@@ -6207,6 +6207,10 @@ msgstr "14 ഉപഭോക്താക്കളെ അഭിമുഖം ചെmsgid "Interviewer"msgstr "അഭിമുഖം നടത്തുന്നയാൾ"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "അഭിമുഖങ്ങൾ"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "ഓഫറിൽ ഇക്വിറ്റി ഉൾപ്പെടുന്നുണ്ടോ?"diff --git a/apps/web/locales/mr-IN.po b/apps/web/locales/mr-IN.poindex be878b85c..6f693c42a 100644--- a/apps/web/locales/mr-IN.po+++ b/apps/web/locales/mr-IN.po@@ -6207,6 +6207,10 @@ msgstr "14 ग्राहकांच्या मुलाखती घेतmsgid "Interviewer"msgstr "मुलाखत घेणारा"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "मुलाखती"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "इक्विटी ऑफरचा भाग आहे का?"diff --git a/apps/web/locales/ms-MY.po b/apps/web/locales/ms-MY.poindex 5a661f8a8..ce9929d3a 100644--- a/apps/web/locales/ms-MY.po+++ b/apps/web/locales/ms-MY.po@@ -6207,6 +6207,10 @@ msgstr "Menemu bual 14 pelanggan, memetakan tiga titik keciciran dan membina promsgid "Interviewer"msgstr "penemuduga"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Temu duga"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Adakah ekuiti sebahagian daripada tawaran?"diff --git a/apps/web/locales/ne-NP.po b/apps/web/locales/ne-NP.poindex c7ce270f7..ee6eb0194 100644--- a/apps/web/locales/ne-NP.po+++ b/apps/web/locales/ne-NP.po@@ -6207,6 +6207,10 @@ msgstr "14 ग्राहकसँग अन्तर्वार्ता लmsgid "Interviewer"msgstr "साक्षात्कारकर्ता"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "अन्तर्वार्ताहरू"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "के इक्विटी प्रस्तावको भाग हो?"diff --git a/apps/web/locales/nl-NL.po b/apps/web/locales/nl-NL.poindex 40f543662..13261b9b3 100644--- a/apps/web/locales/nl-NL.po+++ b/apps/web/locales/nl-NL.po@@ -6207,6 +6207,10 @@ msgstr "14 klanten gesproken, drie uitvalpunten in kaart gebracht en samen met emsgid "Interviewer"msgstr "Interviewer"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Sollicitatiegesprekken"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Maken aandelen deel uit van het aanbod?"diff --git a/apps/web/locales/no-NO.po b/apps/web/locales/no-NO.poindex 4cde80ef5..8c32e3098 100644--- a/apps/web/locales/no-NO.po+++ b/apps/web/locales/no-NO.po@@ -6207,6 +6207,10 @@ msgstr "Intervjuet 14 kunder, kartla tre frafallspunkter og lagde en prototype pmsgid "Interviewer"msgstr "Intervjuer"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Intervjuer"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Er eierandeler en del av tilbudet?"diff --git a/apps/web/locales/or-IN.po b/apps/web/locales/or-IN.poindex faf347482..0610d335b 100644--- a/apps/web/locales/or-IN.po+++ b/apps/web/locales/or-IN.po@@ -6208,6 +6208,10 @@ msgstr "14 ଜଣ ଗ୍ରାହକଙ୍କ ସାକ୍ଷାତକାର ନmsgid "Interviewer"msgstr "ସାକ୍ଷାତକାର"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "ସାକ୍ଷାତକାର"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "ଇକ୍ୱିଟି ଅଫରର ଅଂଶ କି?"diff --git a/apps/web/locales/pl-PL.po b/apps/web/locales/pl-PL.poindex 3acd40087..913a0c04b 100644--- a/apps/web/locales/pl-PL.po+++ b/apps/web/locales/pl-PL.po@@ -6207,6 +6207,10 @@ msgstr "Wywiady z 14 klientami, mapa trzech punktów odpływu i prototyp krótszmsgid "Interviewer"msgstr "Przeprowadzający wywiad"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Rozmowy kwalifikacyjne"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Czy udziały są częścią oferty?"diff --git a/apps/web/locales/pt-BR.po b/apps/web/locales/pt-BR.poindex e7af1b55e..77b512645 100644--- a/apps/web/locales/pt-BR.po+++ b/apps/web/locales/pt-BR.po@@ -6207,6 +6207,10 @@ msgstr "Entrevistei 14 clientes, mapeei três pontos de abandono e prototipei ummsgid "Interviewer"msgstr "Entrevistador"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Entrevistas"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "A participação acionária faz parte da proposta?"diff --git a/apps/web/locales/pt-PT.po b/apps/web/locales/pt-PT.poindex 5da27be9b..90c30719e 100644--- a/apps/web/locales/pt-PT.po+++ b/apps/web/locales/pt-PT.po@@ -6207,6 +6207,10 @@ msgstr "Entrevistei 14 clientes, mapeei três pontos de abandono e prototipei ummsgid "Interviewer"msgstr "Entrevistador"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Entrevistas"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "A participação no capital faz parte da oferta?"diff --git a/apps/web/locales/ro-RO.po b/apps/web/locales/ro-RO.poindex 0510e8eb6..0b9391597 100644--- a/apps/web/locales/ro-RO.po+++ b/apps/web/locales/ro-RO.po@@ -6207,6 +6207,10 @@ msgstr "Am intervievat 14 clienți, am identificat trei puncte de abandon și ammsgid "Interviewer"msgstr "Intervievator"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Interviuri"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Acțiunile fac parte din ofertă?"diff --git a/apps/web/locales/ru-RU.po b/apps/web/locales/ru-RU.poindex 7c75465b6..21447c717 100644--- a/apps/web/locales/ru-RU.po+++ b/apps/web/locales/ru-RU.po@@ -6207,6 +6207,10 @@ msgstr "Интервью с 14 клиентами, три выявленныеmsgid "Interviewer"msgstr "Интервьюер"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Собеседования"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Входят ли акции в предложение?"diff --git a/apps/web/locales/sk-SK.po b/apps/web/locales/sk-SK.poindex 787255aaf..68ce8884c 100644--- a/apps/web/locales/sk-SK.po+++ b/apps/web/locales/sk-SK.po@@ -6207,6 +6207,10 @@ msgstr "Rozhovory so 14 zákazníkmi, zmapovanie troch miest, kde ľudia odchádmsgid "Interviewer"msgstr "anketár"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Pohovory"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Sú súčasťou ponuky akcie?"diff --git a/apps/web/locales/sl-SI.po b/apps/web/locales/sl-SI.poindex 17bef1f08..724764e0d 100644--- a/apps/web/locales/sl-SI.po+++ b/apps/web/locales/sl-SI.po@@ -6207,6 +6207,10 @@ msgstr "Opravil intervjuje s 14 strankami, opredelil tri točke osipa in z inžemsgid "Interviewer"msgstr "Anketar"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Razgovori"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Je lastniški delež del ponudbe?"diff --git a/apps/web/locales/sq-AL.po b/apps/web/locales/sq-AL.poindex ef141dc86..23f3a4f7d 100644--- a/apps/web/locales/sq-AL.po+++ b/apps/web/locales/sq-AL.po@@ -6207,6 +6207,10 @@ msgstr "Intervistova 14 klientë, identifikova tre pika braktisjeje dhe krijovamsgid "Interviewer"msgstr "Intervistuesi"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Intervista"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "A janë aksionet pjesë e ofertës?"diff --git a/apps/web/locales/sr-SP.po b/apps/web/locales/sr-SP.poindex bb2209c08..1bdf80b0e 100644--- a/apps/web/locales/sr-SP.po+++ b/apps/web/locales/sr-SP.po@@ -6207,6 +6207,10 @@ msgstr "Интервјуисао 14 клијената, мапирао три тmsgid "Interviewer"msgstr "Анкетар"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Интервјуи"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Да ли је власнички удео део понуде?"diff --git a/apps/web/locales/sv-SE.po b/apps/web/locales/sv-SE.poindex 39bbd8912..cf921d2ba 100644--- a/apps/web/locales/sv-SE.po+++ b/apps/web/locales/sv-SE.po@@ -6207,6 +6207,10 @@ msgstr "Intervjuade 14 kunder, kartlade tre punkter där folk föll bort och togmsgid "Interviewer"msgstr "Intervjuare"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Intervjuer"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Ingår aktier i erbjudandet?"diff --git a/apps/web/locales/ta-IN.po b/apps/web/locales/ta-IN.poindex ad5b8182d..a0498d1f9 100644--- a/apps/web/locales/ta-IN.po+++ b/apps/web/locales/ta-IN.po@@ -6207,6 +6207,10 @@ msgstr "14 வாடிக்கையாளர்களை நேர்காmsgid "Interviewer"msgstr "நேர்காணல் செய்பவர்"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "நேர்காணல்கள்"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "பங்குகள் சலுகையின் ஒரு பகுதியா?"diff --git a/apps/web/locales/te-IN.po b/apps/web/locales/te-IN.poindex a719e1aa2..600cc8935 100644--- a/apps/web/locales/te-IN.po+++ b/apps/web/locales/te-IN.po@@ -6207,6 +6207,10 @@ msgstr "14 మంది కస్టమర్లను ఇంటర్వ్యmsgid "Interviewer"msgstr "ఇంటర్వ్యూయర్"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "ఇంటర్వ్యూలు"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "ఈక్విటీ ఆఫర్లో భాగమా?"diff --git a/apps/web/locales/th-TH.po b/apps/web/locales/th-TH.poindex d0637d605..2cdab795f 100644--- a/apps/web/locales/th-TH.po+++ b/apps/web/locales/th-TH.po@@ -6207,6 +6207,10 @@ msgstr "สัมภาษณ์ลูกค้า 14 ราย ระบุจmsgid "Interviewer"msgstr "ผู้สัมภาษณ์"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "การสัมภาษณ์"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "มีหุ้นเป็นส่วนหนึ่งของข้อเสนอไหม?"diff --git a/apps/web/locales/tr-TR.po b/apps/web/locales/tr-TR.poindex d39441428..8699799e0 100644--- a/apps/web/locales/tr-TR.po+++ b/apps/web/locales/tr-TR.po@@ -6207,6 +6207,10 @@ msgstr "14 müşteriyle görüştüm, üç kopma noktasını belirledim ve mühemsgid "Interviewer"msgstr "Görüşmeci"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Mülakatlar"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Hisse teklifin bir parçası mı?"diff --git a/apps/web/locales/uk-UA.po b/apps/web/locales/uk-UA.poindex 73644b67d..50acce31d 100644--- a/apps/web/locales/uk-UA.po+++ b/apps/web/locales/uk-UA.po@@ -6207,6 +6207,10 @@ msgstr "Провів інтерв’ю з 14 клієнтами, визначиmsgid "Interviewer"msgstr "Інтерв'юер"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Співбесіди"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Чи входить частка в капіталі в пропозицію?"diff --git a/apps/web/locales/uz-UZ.po b/apps/web/locales/uz-UZ.poindex 82e4b14e8..df303b5de 100644--- a/apps/web/locales/uz-UZ.po+++ b/apps/web/locales/uz-UZ.po@@ -6207,6 +6207,10 @@ msgstr "14 mijoz bilan intervyu o'tkazdim, foydalanuvchilar ketib qoladigan uchtmsgid "Interviewer"msgstr "Intervyu beruvchi"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Suhbatlar"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Ulush taklifga kiradimi?"diff --git a/apps/web/locales/vi-VN.po b/apps/web/locales/vi-VN.poindex 4363f7812..b5930150b 100644--- a/apps/web/locales/vi-VN.po+++ b/apps/web/locales/vi-VN.po@@ -6207,6 +6207,10 @@ msgstr "Đã phỏng vấn 14 khách hàng, xác định ba điểm người dùmsgid "Interviewer"msgstr "Người phỏng vấn"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "Phỏng vấn"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "Cổ phần có nằm trong lời đề nghị không?"diff --git a/apps/web/locales/zh-CN.po b/apps/web/locales/zh-CN.poindex 83a731ac5..bd10825f7 100644--- a/apps/web/locales/zh-CN.po+++ b/apps/web/locales/zh-CN.po@@ -6207,6 +6207,10 @@ msgstr "访谈了 14 位客户,梳理出三个流失点,并与工程团队msgid "Interviewer"msgstr "面试官"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "面试"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "录用条件中包含股权吗?"diff --git a/apps/web/locales/zh-TW.po b/apps/web/locales/zh-TW.poindex 01dcbc409..f78961657 100644--- a/apps/web/locales/zh-TW.po+++ b/apps/web/locales/zh-TW.po@@ -6207,6 +6207,10 @@ msgstr "訪談了 14 位客戶,找出三個流失點,並與工程團隊一msgid "Interviewer"msgstr "面試官"+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr "面試"+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr "錄取條件中包含股權嗎?"diff --git a/apps/web/locales/zu-ZA.po b/apps/web/locales/zu-ZA.poindex 85e68a5f4..6f7928dbf 100644--- a/apps/web/locales/zu-ZA.po+++ b/apps/web/locales/zu-ZA.po@@ -6202,6 +6202,10 @@ msgstr ""msgid "Interviewer"msgstr ""+#: src/features/applications/components/calendar-view.tsx+msgid "Interviews"+msgstr ""+#: src/features/career/offers.tsxmsgid "Is equity part of the offer?"msgstr ""diff --git a/apps/web/src/features/applications/components/calendar-view.tsx b/apps/web/src/features/applications/components/calendar-view.tsxindex 15e60fa4c..3928d49f6 100644--- a/apps/web/src/features/applications/components/calendar-view.tsx+++ b/apps/web/src/features/applications/components/calendar-view.tsx@@ -33,6 +33,7 @@ type DialogState =};type ApplicationCalendarProps = {+ compact: boolean;// Applications matching the page filters; their interviews are shown.applications: ApplicationSummary[];// Every application, offered by the "schedule interview" picker.@@ -40,27 +41,31 @@ type ApplicationCalendarProps = {onOpen: (application: ApplicationSummary) => void;};-export function ApplicationCalendar({ applications, allApplications, onOpen }: ApplicationCalendarProps) {+export function ApplicationCalendar({ compact, applications, allApplications, onOpen }: ApplicationCalendarProps) {const { locale, timeZone, time } = useCareerTime();const now = useNow();const todayKey = dayKey(now, timeZone);// Grid dates are civil days carried in UTC; interview start/end remain absolute instants.const today = new Date(`${todayKey}T00:00:00Z`);- const [month, setMonth] = useState(() => new Date(`${todayKey.slice(0, 7)}-01T00:00:00Z`));+ const currentMonth = new Date(`${todayKey.slice(0, 7)}-01T00:00:00Z`);+ const [browsedMonth, setBrowsedMonth] = useState<Date | null>(null);+ const month = browsedMonth ?? currentMonth;// Which way the last month change went: the new month's days slide in from that side. 0 = no change yet.const [direction, setDirection] = useState<-1 | 0 | 1>(0);const [dialog, setDialog] = useState<DialogState>({ open: false });const interviews = collectInterviews(applications);const byDay = groupByDay(interviews, timeZone);- const upcoming = upcomingInterviews(interviews);- const upcomingByDay = [...groupByDay(upcoming, timeZone).values()];+ const upcoming = upcomingInterviews(interviews, now);const days = monthGrid(month);const tomorrowKey = dayKey(new Date(today.getTime() + 86_400_000), "UTC");const monthKey = dayKey(month, "UTC").slice(0, 7);- const isCurrentMonth = todayKey.startsWith(monthKey);- const monthCount = interviews.filter((item) => dayKey(item.start, timeZone).startsWith(monthKey)).length;+ const monthInterviews = interviews.filter((item) => dayKey(item.start, timeZone).startsWith(monthKey));+ const monthCount = monthInterviews.length;+ const monthAgenda = compact && browsedMonth !== null;+ const agenda = monthAgenda ? monthInterviews : upcoming;+ const agendaByDay = [...groupByDay(agenda, timeZone).values()];const weekdayFormat = new Intl.DateTimeFormat(locale, { timeZone: "UTC", weekday: "short" });const monthFormat = new Intl.DateTimeFormat(locale, { timeZone: "UTC", month: "long", year: "numeric" });@@ -71,9 +76,9 @@ export function ApplicationCalendar({ applications, allApplications, onOpen }: Aday: "numeric",});- const goToMonth = (next: Date) => {- setDirection(next > month ? 1 : -1);- setMonth(next);+ const goToMonth = (next: Date | null) => {+ setDirection((next ?? currentMonth) > month ? 1 : -1);+ setBrowsedMonth(next);};const shiftMonth = (delta: number) =>goToMonth(new Date(Date.UTC(month.getUTCFullYear(), month.getUTCMonth() + delta, 1)));@@ -88,26 +93,24 @@ export function ApplicationCalendar({ applications, allApplications, onOpen }: A};return (- <div className="flex min-h-0 flex-1 gap-6 max-lg:flex-col max-lg:overflow-y-auto">- <section className="flex min-h-0 flex-1 flex-col gap-3 lg:overflow-y-auto" data-testid="interview-calendar">+ <div className="flex min-h-0 min-w-0 flex-1 gap-6 max-lg:flex-col max-lg:overflow-y-auto">+ <section+ className="flex min-h-0 min-w-0 flex-1 flex-col gap-3 lg:overflow-y-auto"+ data-testid="interview-calendar"+ ><div className="flex flex-wrap items-center gap-x-3 gap-y-2">- <div className="flex items-baseline gap-2">+ <div className="flex flex-wrap items-baseline gap-2"><h2 className="text-lg font-semibold capitalize">{monthFormat.format(month)}</h2><span className="text-sm text-ink-3"><Plural value={monthCount} _0="No interviews" one="# interview" other="# interviews" /></span></div>- <div className="ms-auto flex items-center gap-1">+ <div className="ms-auto flex flex-wrap items-center gap-1"><Button size="icon-sm" variant="ghost" title={t`Previous month`} onClick={() => shiftMonth(-1)}><Icon name="caret-left" size={16} /></Button>- <Button- size="sm"- variant="secondary"- disabled={isCurrentMonth}- onClick={() => goToMonth(new Date(Date.UTC(today.getUTCFullYear(), today.getUTCMonth(), 1)))}- >+ <Button size="sm" variant="secondary" disabled={browsedMonth === null} onClick={() => goToMonth(null)}><Trans>This month</Trans></Button><Button size="icon-sm" variant="ghost" title={t`Next month`} onClick={() => shiftMonth(1)}>@@ -120,120 +123,127 @@ export function ApplicationCalendar({ applications, allApplications, onOpen }: A</div></div>- <div className="shrink-0 overflow-hidden rounded-xl border border-line bg-surface">- <div className="grid grid-cols-7">- {days.slice(0, 7).map((day) => (- <div- key={`weekday-${day.getUTCDay()}`}- className="border-b border-line p-2 text-center text-xs font-medium text-ink-3"- >- {weekdayFormat.format(day)}- </div>- ))}- </div>+ {!compact && (<div- key={monthKey}- className={cn(- "grid grid-cols-7",- direction !== 0 && "transition-[opacity,translate] duration-standard ease-enter starting:opacity-0",- direction === 1 && "starting:translate-x-2 rtl:starting:-translate-x-2",- direction === -1 && "starting:-translate-x-2 rtl:starting:translate-x-2",- )}+ className="shrink-0 overflow-hidden rounded-xl border border-line bg-surface"+ data-testid="interview-month-grid">- {days.map((day, i) => {- const key = dayKey(day, "UTC");- const items = byDay.get(key) ?? [];- const inMonth = day.getUTCMonth() === month.getUTCMonth();- const isToday = key === todayKey;- const extra = items.length - MAX_CHIPS_PER_DAY;- const date = dayHeadingFormat.format(day);- const scheduleLabel = t`Schedule an interview on ${date}`;- return (+ <div className="grid grid-cols-7">+ {days.slice(0, 7).map((day) => (<div- key={key}- data-day={key}- className={cn(- "group/day relative flex min-h-16 flex-col gap-1 border-line p-1 sm:min-h-24 sm:p-1.5",- i % 7 !== 6 && "border-e",- i < 35 && "border-b",- !inMonth && "bg-sunken/30",- )}+ key={`weekday-${day.getUTCDay()}`}+ className="border-b border-line p-2 text-center text-xs font-medium text-ink-3">- <div className="flex items-center justify-between">- <button- type="button"- title={scheduleLabel}- aria-label={scheduleLabel}- className="flex size-6 items-center justify-center rounded-md text-ink-3 opacity-0 transition-opacity group-hover/day:opacity-100 hover:bg-sunken hover:text-ink focus-visible:opacity-100 max-sm:hidden"- onClick={() => schedule(key)}- >- <Icon name="plus" size={14} />- </button>- <span- className={cn(- "flex size-6 items-center justify-center rounded-sm text-xs",- !inMonth && "text-ink-3",- isToday && "bg-accent font-semibold text-on-accent",- )}- >- {day.getUTCDate()}- </span>- </div>- {items.slice(0, MAX_CHIPS_PER_DAY).map((item) => (- <InterviewChip- key={item.interview.id}- item={item}- time={time(item.start)}- onOpen={() => edit(item)}- />- ))}- {extra > 0 && (- <Popover>- <PopoverTrigger- render={- <button- type="button"- className="self-start rounded-md px-1.5 py-0.5 text-[11px] text-ink-3 transition-colors hover:bg-sunken hover:text-ink"- />- }- >- <Trans>+{extra} more</Trans>- </PopoverTrigger>- <PopoverContent align="start" className="flex w-60 flex-col gap-1 p-2">- <p className="px-1 pb-1 text-xs font-medium">{dayHeading(key)}</p>- {items.map((item) => (- <InterviewChip- key={item.interview.id}- item={item}- time={time(item.start)}- onOpen={() => edit(item)}- />- ))}- </PopoverContent>- </Popover>- )}+ {weekdayFormat.format(day)}</div>- );- })}+ ))}+ </div>+ <div+ key={monthKey}+ className={cn(+ "grid grid-cols-7",+ direction !== 0 && "transition-[opacity,translate] duration-standard ease-enter starting:opacity-0",+ direction === 1 && "starting:translate-x-2 rtl:starting:-translate-x-2",+ direction === -1 && "starting:-translate-x-2 rtl:starting:translate-x-2",+ )}+ >+ {days.map((day, i) => {+ const key = dayKey(day, "UTC");+ const items = byDay.get(key) ?? [];+ const inMonth = day.getUTCMonth() === month.getUTCMonth();+ const isToday = key === todayKey;+ const extra = items.length - MAX_CHIPS_PER_DAY;+ const date = dayHeadingFormat.format(day);+ const scheduleLabel = t`Schedule an interview on ${date}`;+ return (+ <div+ key={key}+ data-day={key}+ className={cn(+ "group/day relative flex min-h-16 flex-col gap-1 border-line p-1 sm:min-h-24 sm:p-1.5",+ i % 7 !== 6 && "border-e",+ i < 35 && "border-b",+ !inMonth && "bg-sunken/30",+ )}+ >+ <div className="flex items-center justify-between">+ <button+ type="button"+ title={scheduleLabel}+ aria-label={scheduleLabel}+ className="flex size-6 items-center justify-center rounded-md text-ink-3 opacity-0 transition-opacity group-hover/day:opacity-100 hover:bg-sunken hover:text-ink focus-visible:opacity-100 max-sm:hidden"+ onClick={() => schedule(key)}+ >+ <Icon name="plus" size={14} />+ </button>+ <span+ className={cn(+ "flex size-6 items-center justify-center rounded-sm text-xs",+ !inMonth && "text-ink-3",+ isToday && "bg-accent font-semibold text-on-accent",+ )}+ >+ {day.getUTCDate()}+ </span>+ </div>+ {items.slice(0, MAX_CHIPS_PER_DAY).map((item) => (+ <InterviewChip+ key={item.interview.id}+ item={item}+ time={time(item.start)}+ onOpen={() => edit(item)}+ />+ ))}+ {extra > 0 && (+ <Popover>+ <PopoverTrigger+ render={+ <button+ type="button"+ className="self-start rounded-md px-1.5 py-0.5 text-[11px] text-ink-3 transition-colors hover:bg-sunken hover:text-ink"+ />+ }+ >+ <Trans>+{extra} more</Trans>+ </PopoverTrigger>+ <PopoverContent align="start" className="flex w-60 flex-col gap-1 p-2">+ <p className="px-1 pb-1 text-xs font-medium">{dayHeading(key)}</p>+ {items.map((item) => (+ <InterviewChip+ key={item.interview.id}+ item={item}+ time={time(item.start)}+ onOpen={() => edit(item)}+ />+ ))}+ </PopoverContent>+ </Popover>+ )}+ </div>+ );+ })}+ </div></div>- </div>+ )}- <div className="flex flex-wrap items-center gap-x-4 gap-y-1 text-xs text-ink-3">- {INTERVIEW_KINDS.map((kind) => (- <span key={kind.value} className="flex items-center gap-1.5">- <span className="size-2 rounded-sm" style={{ background: kind.color }} />- {kind.label}- </span>- ))}- </div>+ {!compact && (+ <div className="flex flex-wrap items-center gap-x-4 gap-y-1 text-xs text-ink-3">+ {INTERVIEW_KINDS.map((kind) => (+ <span key={kind.value} className="flex items-center gap-1.5">+ <span className="size-2 rounded-sm" style={{ background: kind.color }} />+ {kind.label}+ </span>+ ))}+ </div>+ )}</section>- <aside className="flex shrink-0 flex-col gap-4 lg:w-80 lg:overflow-y-auto">+ <aside className="flex min-w-0 shrink-0 flex-col gap-4 lg:w-80 lg:overflow-y-auto" data-testid="interview-agenda"><h3 className="text-sm font-semibold">- <Trans>Upcoming interviews</Trans>+ {monthAgenda ? <Trans>Interviews</Trans> : <Trans>Upcoming interviews</Trans>}</h3>- {upcoming.length === 0 ? (+ {agenda.length === 0 ? (<div className="flex flex-col items-center gap-3 rounded-xl border border-dashed border-line px-4 py-8 text-center"><div className="flex size-10 items-center justify-center rounded-sm bg-sunken"><Icon name="calendar-blank" size={20} className="text-ink-3" />@@ -252,7 +262,7 @@ export function ApplicationCalendar({ applications, allApplications, onOpen }: A</Button></div>) : (- upcomingByDay.map((group) => {+ agendaByDay.map((group) => {const first = group[0];if (!first) return null;return (@@ -304,7 +314,7 @@ function UpcomingCard({ item, timeRange, locale, onEdit, onOpenApplication }: Up><span className="absolute inset-y-0 start-0 w-1" style={{ background: kind?.color }} /><button type="button" className="block w-full py-3 pe-3 text-start hover:opacity-80" onClick={onEdit}>- <span className="flex items-center justify-between gap-2 text-xs">+ <span className="flex flex-wrap items-center justify-between gap-2 text-xs"><span className="font-medium">{timeRange}</span><span className="text-ink-3">{formatDuration(item.interview.durationMinutes, locale)}</span></span>@@ -322,7 +332,7 @@ function UpcomingCard({ item, timeRange, locale, onEdit, onOpenApplication }: Up<buttontype="button"data-application-open- className="mb-2 text-xs text-accent-text hover:underline"+ className="mb-2 min-h-11 px-2 text-xs text-accent-text hover:underline"onClick={onOpenApplication}><Trans>View application</Trans>diff --git a/apps/web/src/features/applications/components/timezone.test.tsx b/apps/web/src/features/applications/components/timezone.test.tsxindex ee476b255..0d25c1603 100644--- a/apps/web/src/features/applications/components/timezone.test.tsx+++ b/apps/web/src/features/applications/components/timezone.test.tsx@@ -122,7 +122,7 @@ it.each([<><NextStepCard application={row} onScheduleInterview={vi.fn()} /><Activity application={row} onOpenInterview={vi.fn()} />- <ApplicationCalendar applications={[row]} allApplications={[row]} onOpen={vi.fn()} />+ <ApplicationCalendar compact={false} applications={[row]} allApplications={[row]} onOpen={vi.fn()} /></>,);expect(container.querySelector("#application-next-step")?.parentElement?.textContent).toContain(time);@@ -144,7 +144,9 @@ it.each([account.timeZone = timeZone;vi.setSystemTime(new Date("2026-10-31T23:15:00Z"));const row = application("2026-10-31T23:30:00Z");- const { container } = show(<ApplicationCalendar applications={[row]} allApplications={[row]} onOpen={vi.fn()} />);+ const { container } = show(+ <ApplicationCalendar compact={false} applications={[row]} allApplications={[row]} onOpen={vi.fn()} />,+ );expect(screen.getByRole("heading", { name: month })).toBeDefined();expect(screen.getByText("1 interview")).toBeDefined();expect(screen.getByRole("heading", { name: "Today" })).toBeDefined();@@ -159,7 +161,9 @@ it("labels tomorrow using the next civil day across the spring DST jump", () =>account.timeZone = "Europe/Berlin";vi.setSystemTime(new Date("2026-03-28T23:15:00Z"));const row = application("2026-03-29T22:30:00Z");- const { container } = show(<ApplicationCalendar applications={[row]} allApplications={[row]} onOpen={vi.fn()} />);+ const { container } = show(+ <ApplicationCalendar compact={false} applications={[row]} allApplications={[row]} onOpen={vi.fn()} />,+ );expect(screen.getByRole("heading", { name: "Tomorrow" })).toBeDefined();expect(container.querySelector('[data-day="2026-03-30"]')?.textContent).toContain("00:30");});@@ -196,3 +200,97 @@ it("uses the calendar-selected civil day in the real interview editor", async ());expect((screen.getByLabelText("Date") as HTMLInputElement).value).toBe("2026-10-31");});++it.each([+ ["UTC", "October 2026", "November 2026", "23:30", "00:30", "Today", "Tomorrow", "1 interview", "2 interviews"],+ [+ "Europe/Berlin",+ "November 2026",+ "December 2026",+ "00:30",+ "01:30",+ "Today",+ "Today",+ "3 interviews",+ "No interviews",+ ],+])(+ "keeps the phone agenda and month navigation on the %s account calendar",+ (timeZone, month, nextMonth, firstTime, secondTime, firstDay, secondDay, count, nextCount) => {+ account.timeZone = timeZone;+ vi.setSystemTime(new Date("2026-10-31T23:15:00Z"));+ const rows = ["2026-10-31T23:30:00Z", "2026-11-01T00:30:00Z", "2026-11-04T14:00:00Z"].map((at, index) => {+ const row = application(at);+ row.id = `application-${index}`;+ row.company = `Northstar ${index}`;+ row.activity = row.activity+ .filter((entry) => entry.type === "interview")+ .map((entry) => ({ ...entry, id: `interview-${index}` }));+ return row;+ });+ const onOpen = vi.fn();+ show(<ApplicationCalendar compact applications={rows} allApplications={rows} onOpen={onOpen} />);+ const agenda = screen.getByTestId("interview-agenda");+ expect(screen.queryByTestId("interview-month-grid")).toBeNull();+ expect(screen.getByRole("heading", { name: month })).toBeDefined();+ expect(screen.getByText(count, { exact: true })).toBeDefined();+ expect(within(agenda).getAllByRole("heading", { level: 4 })).toHaveLength(timeZone === "UTC" ? 3 : 2);+ for (const [index, time, day] of [+ [0, firstTime, firstDay],+ [1, secondTime, secondDay],+ ] as const) {+ const card = within(agenda).getByText(`Northstar ${index}`).closest("[data-upcoming-interview]");+ expect(card?.textContent).toContain(time);+ expect(card?.parentElement?.querySelector("h4")?.textContent).toBe(day);+ }+ const openButton = within(agenda).getAllByRole("button", { name: "View application" })[0];+ if (!openButton) throw new Error("Missing application action");+ fireEvent.click(openButton);+ expect(onOpen).toHaveBeenCalledWith(rows[0]);+ fireEvent.click(screen.getByRole("button", { name: "Next month" }));+ expect(screen.getByRole("heading", { name: nextMonth })).toBeDefined();+ expect(screen.getByText(nextCount, { exact: true })).toBeDefined();+ expect(within(agenda).queryByText("Northstar 0")).toBeNull();+ fireEvent.click(screen.getByRole("button", { name: "This month" }));+ expect(within(agenda).getByRole("heading", { name: "Upcoming interviews" })).toBeDefined();+ expect(within(agenda).getByText("Northstar 0")).toBeDefined();+ expect(within(agenda).getByText("Northstar 2")).toBeDefined();+ },+);++it.each([false, true])("follows account-local month rollover until browsing (compact=%s)", (compact) => {+ account.timeZone = "Europe/Berlin";+ vi.setSystemTime(new Date("2026-10-31T22:59:30Z"));+ const rows = ["2026-10-31T22:30:00Z", "2026-11-01T09:00:00Z", "2026-11-04T14:00:00Z"].map((at, index) => {+ const row = application(at);+ row.id = `rollover-${index}`;+ row.activity = row.activity+ .filter((entry) => entry.type === "interview")+ .map((entry) => ({ ...entry, id: row.id }));+ return row;+ });+ show(<ApplicationCalendar compact={compact} applications={rows} allApplications={rows} onOpen={vi.fn()} />);+ expect(screen.getByRole("heading", { name: "October 2026" })).toBeDefined();+ expect(screen.getByText("1 interview", { exact: true })).toBeDefined();+ act(() => vi.advanceTimersByTime(60_000));+ expect(screen.getByRole("heading", { name: "November 2026" })).toBeDefined();+ expect(screen.getByText("2 interviews", { exact: true })).toBeDefined();+ fireEvent.click(screen.getByRole("button", { name: "Previous month" }));+ vi.setSystemTime(new Date("2026-11-30T22:59:30Z"));+ act(() => vi.advanceTimersByTime(60_000));+ expect(screen.getByRole("heading", { name: "October 2026" })).toBeDefined();+ fireEvent.click(screen.getByRole("button", { name: "This month" }));+ expect(screen.getByRole("heading", { name: "December 2026" })).toBeDefined();+ vi.setSystemTime(new Date("2026-12-31T22:59:30Z"));+ act(() => vi.advanceTimersByTime(60_000));+ expect(screen.getByRole("heading", { name: "January 2027" })).toBeDefined();+});++it("uses neutral empty-state wording under the browsed month heading", () => {+ account.timeZone = "UTC";+ show(<ApplicationCalendar compact applications={[]} allApplications={[]} onOpen={vi.fn()} />);+ fireEvent.click(screen.getByRole("button", { name: "Next month" }));+ expect(screen.getByRole("heading", { name: "November 2026" })).toBeDefined();+ expect(within(screen.getByTestId("interview-agenda")).getByText("Nothing scheduled yet")).toBeDefined();+ expect(screen.queryByText("No interviews this month")).toBeNull();+});diff --git a/apps/web/src/routes/dashboard/applications/index.tsx b/apps/web/src/routes/dashboard/applications/index.tsxindex cecacdeac..c553f5865 100644--- a/apps/web/src/routes/dashboard/applications/index.tsx+++ b/apps/web/src/routes/dashboard/applications/index.tsx@@ -181,7 +181,7 @@ function RouteComponent() {const filtered = (applications ?? []).filter((application) => matches(application, text));const selected = applications?.find((application) => application.id === selectedId) ?? null;// The board needs room to drag: phones get the list instead.- const shown: View = phone && (view === "board" || view === "calendar") ? "list" : view;+ const shown: View = phone && view === "board" ? "list" : view;const empty = !!applications && applications.length === 0;// Hoisted so the compiler keeps one function; inline, it changes with every keystroke and re-renders each row.const openApplication = (application: ApplicationSummary) => {@@ -267,12 +267,10 @@ function RouteComponent() {<Icon name="chart-line-up" size={18} /><Trans>Insights</Trans></TabsTrigger>- {!phone && (- <TabsTrigger value="calendar">- <Icon name="calendar-dots" size={18} />- <Trans>Calendar</Trans>- </TabsTrigger>- )}+ <TabsTrigger value="calendar">+ <Icon name="calendar-dots" size={18} />+ <Trans>Calendar</Trans>+ </TabsTrigger></TabsList></Tabs>@@ -378,6 +376,7 @@ function RouteComponent() {{shown === "insights" && <ApplicationInsights applications={applications ?? []} />}{shown === "calendar" && (<ApplicationCalendar+ compact={phone}applications={filtered.filter((application) => closed || application.status !== "closed")}allApplications={applications ?? []}onOpen={openApplication}diff --git a/docs/guides/scheduling-interviews.mdx b/docs/guides/scheduling-interviews.mdxindex 6df154cd6..6b652b726 100644--- a/docs/guides/scheduling-interviews.mdx+++ b/docs/guides/scheduling-interviews.mdx@@ -88,7 +88,7 @@ Open the application's workspace and choose **Prepare** for a timed plan, briefi## Use the Calendar view-In the web app, the **Calendar** tab shows one month of interviews across your applications.+In the web app, the **Calendar** tab shows one month of interviews across your applications. It follows the current month in your account timezone until you browse to a month. **This month** restores that behavior.- Use the arrows to change month, and **This month** to come back to today.- Each day shows up to three interviews, with the time and company. Select **+_n_ more** to see the rest of a busy day.@@ -102,13 +102,28 @@ In the web app, the **Calendar** tab shows one month of interviews across your a/></Frame>-The web calendar follows the page's search and **Show closed** settings, so interviews for closed applications are hidden unless **Show closed** is on. In a narrow phone browser, the web app hides the Calendar tab; use each application's **Next step** instead.+The web calendar follows the page's search and **Show closed** settings, so interviews for closed applications are hidden unless **Show closed** is on.++### In a phone browser++The **Calendar** tab stays available, including when you open a Calendar link directly. Instead of the month grid, **Upcoming interviews** lists every interview that hasn't finished yet, grouped by day, including appointments in later months. Month boundaries and day headings use your account timezone. Each card includes the time range, company, interview type and role.++- Use the arrows to browse one month's interviews, including past appointments. **This month** returns to the current month and the full upcoming agenda.+- Select a card to edit the interview, or **View application** to open its application details.+- Select **Schedule interview** to add another appointment.++<Frame caption="The phone agenda keeps interview dates, times and editing available without a desktop calendar grid. These fictional appointments span two months.">+ <img+ src="/images/guides/scheduling-interviews/phone-interview-agenda.png"+ alt="Calendar on a phone browser showing October 2026 month navigation and upcoming Northstar Labs interviews under Tomorrow and Wednesday, November 4, with time ranges and View application"+ />+</Frame>### In the native mobile appOpen **Applications** and choose **Calendar** in the view selector below the heading. Calendar is available on phones and tablets, alongside **List**, **Board** and **Insights**.-- Use the arrows to change month, or **This month** to return to today.+- Use the arrows to change month, or **This month** to return to today. Until you browse or select a day, the calendar follows the current account date. **This month** resumes following it.- Select a day to see its interviews and follow-ups. On phones, dots mark days with events and the day's agenda appears below the month. On a wide tablet layout, the agenda appears beside it.- Select an interview or follow-up card to edit it, or **View application** to open its application details. **Coming up** lists upcoming events by day.- Select **Schedule interview**, choose an application and select **Continue** to open the interview form.diff --git a/docs/guides/tracking-job-applications.mdx b/docs/guides/tracking-job-applications.mdxindex b894be176..e85532a10 100644--- a/docs/guides/tracking-job-applications.mdx+++ b/docs/guides/tracking-job-applications.mdx@@ -70,11 +70,11 @@ In the web app, use the tabs above the list to switch views. Your choice is keptCharts about how your applications are going: how far they get, how often and how quickly people reply, and where your applications come from. See [Viewing application insights](/guides/viewing-application-insights).</Tab><Tab title="Calendar">- A month calendar of your interviews, with a list of upcoming ones beside it in the web app. The native mobile app also shows follow-ups, with the selected day and **Coming up** below the month on phones. See [Scheduling interviews](/guides/scheduling-interviews).+ A month calendar of your interviews, with a list of upcoming ones beside it in the web app. In a phone browser, a chronological agenda replaces the grid; use the month arrows to browse dates. The native mobile app also shows follow-ups, with the selected day and **Coming up** below the month on phones. See [Scheduling interviews](/guides/scheduling-interviews).</Tab></Tabs>-In a narrow phone browser, the web page shows **List** and **Insights** only, and list rows show the company and next step on a second line. This browser layout restriction does not apply to the native mobile app.+In a narrow phone browser, the web page shows **List**, **Insights** and **Calendar**, and list rows show the company and next step on a second line. **Board** remains available on wider browser layouts. The native mobile app offers all four views on phones and tablets.## Finding applicationsdiff --git a/docs/images/guides/scheduling-interviews/phone-interview-agenda.png b/docs/images/guides/scheduling-interviews/phone-interview-agenda.pngnew file mode 100644index 000000000..7a45e65a4Binary files /dev/null and b/docs/images/guides/scheduling-interviews/phone-interview-agenda.png differdiff --git a/tests/e2e/specs/interview-agenda.spec.ts b/tests/e2e/specs/interview-agenda.spec.tsnew file mode 100644index 000000000..ec628bbee--- /dev/null+++ b/tests/e2e/specs/interview-agenda.spec.ts@@ -0,0 +1,179 @@+import { expect, test } from "../fixtures/test";++test("Calendar keeps an editable month agenda on phone widths and direct links", async ({+ authPage: page,+}, testInfo) => {+ const session = await page.context().newCDPSession(page);+ await session.send("Emulation.setTimezoneOverride", { timezoneId: "UTC" });+ await page.clock.setFixedTime(new Date("2026-10-29T08:00:00Z"));+ const created = await page.request.post("/api/openapi/applications", {+ data: { company: "Northstar Labs", role: "Platform Engineer", status: "interview" },+ });+ await expect(created).toBeOK();+ const applicationId: string = await created.json();+ for (const at of ["2026-10-30T09:00:00Z", "2026-11-04T14:00:00Z"]) {+ await expect(+ await page.request.post(`/api/openapi/applications/${applicationId}/interviews`, {+ data: { at, kind: "technical", durationMinutes: 60, timezone: "UTC" },+ }),+ ).toBeOK();+ }+ await page.setViewportSize({ width: 1280, height: 900 });+ await page.goto("/dashboard/applications?view=calendar");+ await expect(page.getByTestId("interview-month-grid")).toBeVisible();+ await page.setViewportSize({ width: 375, height: 812 });+ await expect(page.getByRole("tab", { name: "Calendar", exact: true })).toHaveAttribute("aria-selected", "true");+ await expect(page.getByTestId("interview-month-grid")).toHaveCount(0);+ await page.reload();+ await expect(page.getByRole("tab", { name: "Calendar", exact: true })).toHaveAttribute("aria-selected", "true");+ const agenda = page.getByTestId("interview-agenda");+ await expect(agenda.getByText("Northstar Labs", { exact: true })).toHaveCount(2);+ await expect(agenda.getByRole("heading", { name: "Tomorrow", exact: true })).toBeVisible();+ await expect(agenda).toContainText(/09:00.*10:00/);+ expect(await page.evaluate(() => document.documentElement.scrollWidth <= window.innerWidth)).toBe(true);+ await page.screenshot({ path: testInfo.outputPath("phone-interview-agenda.png"), fullPage: true });++ await agenda.getByRole("button").filter({ hasText: "Northstar Labs" }).first().click();+ const editor = page.getByRole("dialog", { name: "Edit interview", exact: true });+ await expect(editor.getByLabel("Date", { exact: true })).toHaveValue("2026-10-30");+ await editor.getByLabel("Location", { exact: true }).fill("Fictional meeting room");+ await editor.getByRole("button", { name: "Save interview", exact: true }).click();+ await expect(editor).not.toBeVisible();+ await expect(agenda).toContainText("Fictional meeting room");+ await agenda.getByRole("button", { name: "View application", exact: true }).first().click();+ const details = page.getByRole("dialog", { name: "Platform Engineer", exact: true });+ await expect(details).toContainText("Platform Engineer");+ await details.getByRole("button", { name: "Close", exact: true }).click();++ await page.getByRole("button", { name: "Next month", exact: true }).click();+ await expect(page.getByRole("heading", { name: "November 2026", exact: true })).toBeVisible();+ await expect(agenda.getByRole("heading", { name: /November 4/ })).toBeVisible();+ await expect(agenda).toContainText(/14:00.*15:00/);+ await page.getByRole("button", { name: "Next month", exact: true }).click();+ await expect(agenda).toContainText("Nothing scheduled yet");+ await page.getByRole("button", { name: "Previous month", exact: true }).click();+ await expect(agenda.getByText("Northstar Labs", { exact: true })).toBeVisible();+ await page.getByRole("button", { name: "This month", exact: true }).click();+ await expect(agenda.getByRole("heading", { name: "Tomorrow", exact: true })).toBeVisible();+ await expect(agenda.getByText("Northstar Labs", { exact: true })).toHaveCount(2);+ await page.getByRole("tab", { name: "List", exact: true }).click();+ await page.getByRole("tab", { name: "Calendar", exact: true }).click();+ await expect(agenda.getByText("Northstar Labs", { exact: true })).toHaveCount(2);+ expect(await page.evaluate(() => document.documentElement.scrollWidth <= window.innerWidth)).toBe(true);+});++for (const scenario of [+ {+ accountZone: "UTC",+ browserZone: "Europe/Berlin",+ now: "2026-10-31T23:15:00Z",+ at: ["2026-10-31T23:30:00Z", "2026-11-01T00:30:00Z"],+ month: "October 2026",+ count: "1 interview",+ days: ["Today", "Tomorrow"],+ times: ["23:30 – 00:30", "00:30 – 01:30"],+ nextMonth: "November 2026",+ nextCount: 1,+ },+ {+ accountZone: "Europe/Berlin",+ browserZone: "UTC",+ now: "2026-10-31T23:15:00Z",+ at: ["2026-10-31T23:30:00Z", "2026-11-01T00:30:00Z"],+ month: "November 2026",+ count: "2 interviews",+ days: ["Today"],+ times: ["00:30 – 01:30", "01:30 – 02:30"],+ nextMonth: "December 2026",+ nextCount: 0,+ },+ {+ accountZone: "Europe/Berlin",+ browserZone: "UTC",+ now: "2026-03-28T23:15:00Z",+ at: ["2026-03-29T00:30:00Z", "2026-03-29T22:30:00Z"],+ month: "March 2026",+ count: "2 interviews",+ days: ["Today", "Tomorrow"],+ times: ["01:30 – 03:30", "00:30 – 01:30"],+ nextMonth: "April 2026",+ nextCount: 0,+ },+ {+ accountZone: "UTC",+ browserZone: "Europe/Berlin",+ now: "2026-10-24T22:15:00Z",+ at: ["2026-10-25T00:30:00Z", "2026-10-25T01:30:00Z"],+ month: "October 2026",+ count: "2 interviews",+ days: ["Tomorrow"],+ times: ["00:30 – 01:30", "01:30 – 02:30"],+ nextMonth: "November 2026",+ nextCount: 0,+ },+]) {+ test(`phone agenda uses account ${scenario.accountZone} in browser ${scenario.browserZone} at ${scenario.now}`, async ({+ authPage: page,+ }, testInfo) => {+ await page.setViewportSize({ width: 375, height: 812 });+ const session = await page.context().newCDPSession(page);+ await session.send("Emulation.setTimezoneOverride", { timezoneId: scenario.browserZone });+ await page.clock.setFixedTime(new Date(scenario.now));+ await expect(+ await page.request.post("/api/auth/update-user", {+ headers: { origin: String(testInfo.project.use.baseURL) },+ data: { timezone: scenario.accountZone },+ }),+ ).toBeOK();+ const created = await page.request.post("/api/openapi/applications", {+ data: { company: "Northstar Labs", role: "Platform Engineer", status: "interview" },+ });+ await expect(created).toBeOK();+ const applicationId: string = await created.json();+ for (const at of scenario.at) {+ await expect(+ await page.request.post(`/api/openapi/applications/${applicationId}/interviews`, {+ data: { at, kind: "technical", durationMinutes: 60, timezone: "Europe/Berlin" },+ }),+ ).toBeOK();+ }+ await page.goto("/dashboard/applications?view=calendar");+ const calendar = page.getByTestId("interview-calendar");+ const agenda = page.getByTestId("interview-agenda");+ await expect(calendar.getByRole("heading", { name: scenario.month, exact: true })).toBeVisible();+ await expect(calendar.getByText(scenario.count, { exact: true })).toBeVisible();+ await expect(agenda.getByRole("heading", { level: 4 })).toHaveText(scenario.days);+ const cards = agenda.locator("[data-upcoming-interview]");+ await expect(cards).toHaveCount(2);+ for (const [index, time] of scenario.times.entries()) await expect(cards.nth(index)).toContainText(time);+ const action = cards.first().getByRole("button", { name: "View application", exact: true });+ expect((await action.boundingBox())?.height).toBeGreaterThanOrEqual(44);+ await action.click();+ const details = page.getByRole("dialog", { name: "Platform Engineer", exact: true });+ await expect(details).toBeVisible();+ await details.getByRole("button", { name: "Close", exact: true }).click();+ await cards.first().getByRole("button").filter({ hasText: "Northstar Labs" }).click();+ const editor = page.getByRole("dialog", { name: "Edit interview", exact: true });+ await expect(editor.getByLabel("Time · Europe/Berlin", { exact: true })).toBeVisible();+ await editor.getByLabel("Location", { exact: true }).fill("Fictional meeting room");+ await editor.getByRole("button", { name: "Save interview", exact: true }).click();+ await expect(editor).not.toBeVisible();+ await expect(cards.first()).toContainText("Fictional meeting room");+ const saved = await page.request.get(`/api/openapi/applications/${applicationId}`);+ await expect(saved).toBeOK();+ const row = await saved.json();+ expect(+ row.activity+ .filter((entry: { type: string }) => entry.type === "interview")+ .map((entry: { at: string }) => entry.at)+ .sort(),+ ).toEqual(scenario.at.map((at) => new Date(at).toISOString()).sort());+ await page.getByRole("button", { name: "Next month", exact: true }).click();+ await expect(calendar.getByRole("heading", { name: scenario.nextMonth, exact: true })).toBeVisible();+ await expect(cards).toHaveCount(scenario.nextCount);+ await page.getByRole("button", { name: "This month", exact: true }).click();+ await expect(cards).toHaveCount(2);+ await expect(agenda.getByRole("heading", { level: 4 })).toHaveText(scenario.days);+ expect(await page.evaluate(() => document.documentElement.scrollWidth <= window.innerWidth)).toBe(true);+ });+}