Skip to content

Stevenic/teams shared channels#438

Merged
rido-min merged 19 commits intomainfrom
stevenic/teams-shared-channels
Sep 10, 2025
Merged

Stevenic/teams shared channels#438
rido-min merged 19 commits intomainfrom
stevenic/teams-shared-channels

Conversation

@Stevenic
Copy link
Copy Markdown
Contributor

@Stevenic Stevenic commented Jul 9, 2025

Updated Activity Schema to support new Teams Shared Channels Feature

  • Added new MembershipSource interface and Zod schema.
  • Added required enums and Zod schema.
  • Updated ChannelAccount to have a new optional membershipSource property.
  • Updated Activity to have a new optional membershipSources property.

Stevenic added 3 commits July 9, 2025 12:51
- Removed duplicate app property from constructor.
- Made member variables private.
- Changed properties to method so that they can't be replaced and document properly.
@Stevenic Stevenic self-assigned this Jul 9, 2025
@Stevenic
Copy link
Copy Markdown
Contributor Author

Stevenic commented Jul 11, 2025 via email

Comment thread packages/agents-activity/src/conversation/membershipSource.ts Outdated
Comment thread packages/agents-activity/src/conversation/membershipSource.ts Outdated
Comment thread packages/agents-activity/src/conversation/membershipSource.ts Outdated
Comment thread packages/agents-activity/src/conversation/channelAccount.ts
Stevenic and others added 2 commits July 14, 2025 13:34
Co-authored-by: Ashley Rocha <89165999+arocc@users.noreply.github.com>
Co-authored-by: Ashley Rocha <89165999+arocc@users.noreply.github.com>
Comment thread packages/agents-activity/src/conversation/membershipSource.ts
Comment thread packages/agents-activity/src/conversation/membershipSourceTypes.ts Outdated
Comment thread packages/agents-activity/src/conversation/membershipSourceTypes.ts Outdated
@rajan-chari
Copy link
Copy Markdown

Wanted to see how to move this forward @Stevenic

Stevenic and others added 4 commits September 10, 2025 11:49
@Stevenic Stevenic marked this pull request as ready for review September 10, 2025 19:00
Copilot AI review requested due to automatic review settings September 10, 2025 19:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates Activity Schema to support new Teams Shared Channels Feature by adding membership source interfaces, enums, and updating activity schemas to handle shared channel scenarios.

  • Added MembershipSource interface with related enums (MembershipTypes and MembershipSourceTypes) to track channel membership relationships
  • Enhanced Teams channel data handling with new properties for shared/unshared teams and membership sources
  • Updated channel type definitions to include shared channels and added handlers for channel sharing events

Reviewed Changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/agents-activity/src/conversation/membershipSource.ts New interface and schema for membership source tracking
packages/agents-activity/src/conversation/membershipTypes.ts Enum defining direct vs transitive membership relationships
packages/agents-activity/src/conversation/membershipSourceTypes.ts Enum defining channel vs team membership sources
packages/agents-activity/src/conversation/channelAccount.ts Added optional membershipSources property
packages/agents-hosting-extensions-teams/src/activity-extensions/channelTypes.ts New enum for Teams channel types (standard, private, shared)
packages/agents-hosting-extensions-teams/src/activity-extensions/channelInfo.ts Updated type property to use ChannelTypes enum
packages/agents-hosting-extensions-teams/src/activity-extensions/teamsChannelData.ts Added shared channel properties and membership source handling
packages/agents-hosting-extensions-teams/src/teamsAgentExtension.ts Added handlers for channel shared/unshared events
packages/agents-hosting-extensions-teams/test/teams-channel-data-parser/teamsChannelData.test.ts Updated tests to use ChannelTypes enum

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread packages/agents-activity/src/conversation/membershipSource.ts
Comment thread packages/agents-activity/src/conversation/membershipSource.ts
@rido-min rido-min enabled auto-merge (squash) September 10, 2025 21:08
@rido-min rido-min merged commit ecd5464 into main Sep 10, 2025
7 checks passed
@rido-min rido-min deleted the stevenic/teams-shared-channels branch September 10, 2025 21:57
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.

7 participants