Skip to content

Add M365CalendarMeetNow to EventActionSource enum#3075

Open
IoanaDudas wants to merge 2 commits into
OfficeDev:mainfrom
IoanaDudas:user/idudas/add-meetnow-eventactionsource
Open

Add M365CalendarMeetNow to EventActionSource enum#3075
IoanaDudas wants to merge 2 commits into
OfficeDev:mainfrom
IoanaDudas:user/idudas/add-meetnow-eventactionsource

Conversation

@IoanaDudas

Copy link
Copy Markdown

Adds EventActionSource.M365CalendarMeetNow = 'm365_calendar_meet_now' so Teams-side code can reference the enum member instead of a raw string literal.

This is a type-correctness-only follow-up — no behavioral change. The OWA M365/Monarch calendar "Meet Now → Start" action already sends source: "m365_calendar_meet_now" to meeting.joinMeeting, teams-js forwards the source as-is, and the Teams host already maps the literal string to isAdhoc: truecreate_meetup logging. This change simply completes the enum so the only M365-calendar source OWA sends that wasn't a member now is one.

The string value m365_calendar_meet_now is the locked cross-repo contract (OWA sends it, Teams host matches it) and is byte-for-byte unchanged.

Context: Teams bug 4507219, OWA PR #248961.

A beachball change file (minor) is included.

Copilot AI review requested due to automatic review settings June 29, 2026 11:39
@IoanaDudas IoanaDudas requested a review from a team as a code owner June 29, 2026 11:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a missing EventActionSource enum member so callers (e.g., Teams-side code) can use a type-safe enum value instead of the raw "m365_calendar_meet_now" string, aligning with the existing cross-repo contract described in the PR metadata.

Changes:

  • Extend EventActionSource with M365CalendarMeetNow = 'm365_calendar_meet_now'.
  • Add a beachball/change file to record the API surface update for @microsoft/teams-js.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/teams-js/src/public/meeting/meeting.ts Adds M365CalendarMeetNow to EventActionSource with matching string literal contract value.
change/@microsoft-teams-js-3b3bfc88-8bb4-41a4-b3f2-893ff39a085a.json Records the change as a minor bump with a short changelog entry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@IoanaDudas

Copy link
Copy Markdown
Author

Backing issue: #3076

idudas and others added 2 commits June 29, 2026 13:58
Add the `M365CalendarMeetNow = 'm365_calendar_meet_now'` member to the
`EventActionSource` enum so Teams-side code can reference the enum member
instead of a raw string literal. The OWA M365/Monarch calendar "Meet Now"
start action already sends this source string, which the Teams host maps
to create_meetup logging. Type-correctness follow-up only; no behavioral
change.

Teams bug 4507219, OWA PR #248961

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@IoanaDudas IoanaDudas force-pushed the user/idudas/add-meetnow-eventactionsource branch from c522fbe to 3590023 Compare June 29, 2026 11:59
@IoanaDudas

Copy link
Copy Markdown
Author

@IoanaDudas please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree company="Microsoft"

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.

4 participants