Skip to content

Fix provider calendar source names on event cards - #2192

Open
martin-forge wants to merge 1 commit into
callumalpass:mainfrom
martin-forge:martin-forge/fix-provider-calendar-source-names
Open

Fix provider calendar source names on event cards#2192
martin-forge wants to merge 1 commit into
callumalpass:mainfrom
martin-forge:martin-forge/fix-provider-calendar-source-names

Conversation

@martin-forge

@martin-forge martin-forge commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Agenda/list cards already use their metadata line for the source calendar: ICS events show the subscription name, while the calendar icon separately identifies the row as a calendar event.

Google and Microsoft events currently miss that source lookup and fall back to "Calendar" even when TaskNotes has the calendar name. This change resolves provider-owned events through CalendarProviderRegistry, so that existing source field can show names such as Personal or Work.

The calendar-event icon label, ICS subscription names, and translated fallback remain unchanged. Google's primary alias is mapped to the primary calendar metadata.

Tests

  • npx jest tests/unit/issues/issue-provider-calendar-source-name.test.ts
  • npm run typecheck
  • npx eslint src/ui/ICSCard.ts

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