Repository navigation
Milestone
Description
Summary
The Outlook.com and Office 365 rows in the "Add to calendar" menu still add one session of a weekly class, so someone who uses Outlook gets the next class and then nothing. Apple and Google already subscribe to the class's own calendar feed. This makes both Outlook rows subscribe to that feed too, so every session appears and a cancelled one clears itself.
Approach
src/lib/ics.ts:472buildOutlookCalendarUrlcomposes a single-eventdeeplink/composelink. Add a subscribe builder beside it that takes the class's feed address (thehttps://form, notwebcal:), using Outlook's add-from-web route:https://outlook.live.com/calendar/0/addfromweb?url=<feed>&name=<title>and the same path onoutlook.office.com.src/components/molecules/AddToCalendar/AddToCalendar.tsx:50-61calendarLinkTargets: the two Outlook rows use the subscribe link when the class has a feed address, and keep today's single-session link when it has none — the same fallback the Apple and Google rows follow.- Update the comment blocks that say Outlook has no verified subscribe route (
AddToCalendar.tsx:36-40,ics.tsabovebuildOutlookCalendarUrl) and the story description (AddToCalendar.stories.tsx:50). - ⚠ The route has never been checked with a signed-in account: both hosts refuse every scripted path. If either answers with an add-event form rather than a subscribe prompt, that row keeps the single-session link and the PR says which.
Acceptance criteria
- For a class with a feed address, the Outlook.com and Office 365 rows link to Outlook's add-from-web route with the class's
https://feed address. - For a class without one, both rows keep today's single-session link.
- Signed in, each row opens a subscribe prompt, and at least three future sessions of a weekly class appear afterwards — checked on a personal account and a work account.
Verification checklist
-
pnpm test:unitcovers both builders: the feed address is percent-encoded ontourl, and a class with no feed address falls back to the compose link. - Signed in to a personal Outlook.com account, clicking the Outlook.com row on a weekly class in a PR preview opens a subscribe prompt, and three future sessions appear.
- Signed in to a work (Microsoft 365) account, the Office 365 row does the same.
Notes
Left over from the roadmap goal #368, which closed on 2026-11-18 with Outlook still adding one session. The feed itself is sydevs/SahajCloud#1131; the menu rows shipped in #393. The menu notes saying which choices stay up to date, and the hand tests of the Apple, Google and cancellation rows, were dropped at that close.
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Priority
Medium
Hold Until
None yet
Projects
- StatusShow more project fieldsDone
Activity
Ardnived commentedon Nov 18, 2026
@sydevs-bot implement
sydevs-bot commentedon Nov 18, 2026
🤖 no session running
approved by Ardnived
recent dispatches
Written by the sydevs dispatcher. Sessions never edit this comment.