Skip to content

Link check-in and summary titles to their calendar events; add subscribe links - #54

Merged
rachmo merged 1 commit into
mainfrom
feat/checkin-lock-rehome
Aug 20, 2026
Merged

Link check-in and summary titles to their calendar events; add subscribe links#54
rachmo merged 1 commit into
mainfrom
feat/checkin-lock-rehome

Conversation

@rachmo

@rachmo rachmo commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The Check-in Post's title (original, edited-in-place, locked, and removed variants) now links to the Event's own calendar entry when calendar_link is present.
  • Weekly Summary, Informational Reply, and Mentor/Teacher Summary lines link each title to its own Event the same way, and each digest gets a footer line to subscribe to its underlying Google Calendar.
  • No schema migration: a removed/struck-through line's link comes from the still-present events row (a calendar event's own link doesn't change across edits), not a new snapshot column.

Builds on #53 (already merged) — this PR's diff is just the new linking work.

Test plan

  • npm run typecheck
  • npm test (211 passing, including new coverage for title-linking and calendarSubscribeLink)
  • npm run format:check
  • npm run build
  • Reviewed via /code-review; one finding (a repeated null-check ternary across 3 call sites) fixed by folding the guard into calendarSubscribeLink itself.
  • Rendered a Slack-style preview of every message variant against the real output of lockedCheckinMessageText / formatWeeklySummaryLine / assembleWeeklySummaryMessage to confirm the rendering looks right.

…ar-subscribe links

Check-in Post title (original, edited, locked, removed variants) links to
the Event's own calendar_link when present. Weekly Summary, Informational
Reply, and Mentor/Teacher Summary lines link each title to its Event, and
each digest gets a footer link to subscribe to its underlying Google
Calendar. calendarLink threads through WeeklySummaryEventInfo; a removed
item's link comes from the still-present Event row (calendar_link doesn't
change across edits), not a schema migration.
@rachmo
rachmo merged commit dd8391e into main Aug 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant