Skip to content

CI Build #246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package: '@microsoft/live-share'
summary: Convenience type for a LivePresenceUser in LiveFollowMode
fullName: FollowModePresenceUser<TData>
remarks: ''
previewState: beta
isDeprecated: false
syntax: |
type FollowModePresenceUser<TData> = LivePresenceUser<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ remarks: >-

Use to determine any relevant button(s) to show to the user (e.g., "Stop
presenting").
previewState: beta
isDeprecated: false
fields:
- name: activeFollowers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package: '@microsoft/live-share'
summary: The presence data for a user's personal follow mode state.
fullName: IFollowModePresenceUserData<TData>
remarks: ''
previewState: beta
isDeprecated: false
type: interface
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ fullName: IFollowModeState<TData>
remarks: >-
This includes information such as whether there is a presenting user and which
user's state is relevant to the local user.
previewState: beta
isDeprecated: false
type: interface
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ summary: >-
state value).
fullName: LiveFollowMode<TData>
remarks: ''
previewState: beta
isDeprecated: false
type: class
constructors:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package: '@microsoft/live-share'
summary: Events supported by `LiveFollowMode` object.
fullName: LiveFollowModeEvents
remarks: ''
previewState: beta
isDeprecated: false
fields:
- name: presenceChanged
Expand Down
19 changes: 19 additions & 0 deletions nodejs/docs-ref-autogen/@microsoft/teams-js/Context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,25 @@ properties:
return:
description: ''
type: string
- name: renderingSurface
uid: '@microsoft/teams-js.Context.renderingSurface'
package: '@microsoft/teams-js'
summary: ''
fullName: renderingSurface
remarks: ''
isDeprecated: true
customDeprecatedMessage: >-
As of TeamsJS v2.0.0, please use
[app.Context.page.renderingSurface](xref:@microsoft/teams-js.app.PageInfo.renderingSurface)
instead


The surface where the tab is rendered (sidePanel, meeting, chat, channel)
syntax:
content: 'renderingSurface?: copilotSidePanel'
return:
description: ''
type: <xref uid="@microsoft/teams-js.RenderingSurfaces.copilotSidePanel" />
- name: ringId
uid: '@microsoft/teams-js.Context.ringId'
package: '@microsoft/teams-js'
Expand Down
30 changes: 30 additions & 0 deletions nodejs/docs-ref-autogen/@microsoft/teams-js/RenderingSurfaces.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
### YamlMime:TSEnum
name: RenderingSurfaces
uid: '@microsoft/teams-js.RenderingSurfaces'
package: '@microsoft/teams-js'
summary: >-
RenderingSurfaces describes the context or surface in which your app is being
displayed within the host application.

This parameter allows your app to detect where it is rendered (for example, in
a side panel or stage view)

and adjust its behavior or UI accordingly. The intent is to help developers
understand the user's context of use,

not the exact pixel size or layout. If a host (such as Outlook Meeting Apps)
changes the size of a surface (e.g., makes the side panel larger),

it will still use the same RenderingSurface value. Developers are expected to
use responsive UI techniques to adapt to size changes,

since the user's context and intent remain the same even if the surface
dimensions change.
fullName: RenderingSurfaces
remarks: ''
isDeprecated: false
fields:
- name: copilotSidePanel
uid: '@microsoft/teams-js.RenderingSurfaces.copilotSidePanel'
package: '@microsoft/teams-js'
summary: The mode the copilot app rendered by the host.
17 changes: 17 additions & 0 deletions nodejs/docs-ref-autogen/@microsoft/teams-js/app.PageInfo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,23 @@ properties:
return:
description: ''
type: boolean
- name: renderingSurface
uid: '@microsoft/teams-js.app.PageInfo.renderingSurface'
package: '@microsoft/teams-js'
summary: >-
The mode or surface where the page is rendered (e.g. sidePanel,
meetingStage, etc.)

This will be used by the app developers in future to know where in the
host the app is rendered instead of the frameContext.
fullName: renderingSurface
remarks: ''
isDeprecated: false
syntax:
content: 'renderingSurface?: copilotSidePanel'
return:
description: ''
type: <xref uid="@microsoft/teams-js.RenderingSurfaces.copilotSidePanel" />
- name: sourceOrigin
uid: '@microsoft/teams-js.app.PageInfo.sourceOrigin'
package: '@microsoft/teams-js'
Expand Down
1 change: 1 addition & 0 deletions nodejs/docs-ref-autogen/@microsoft/teams-js/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ enums:
- '@microsoft/teams-js.FrameContexts'
- '@microsoft/teams-js.HostClientType'
- '@microsoft/teams-js.HostName'
- '@microsoft/teams-js.RenderingSurfaces'
- '@microsoft/teams-js.SecondaryM365ContentIdName'
- '@microsoft/teams-js.TeamType'
- '@microsoft/teams-js.UserTeamRole'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ functions:
package: '@microsoft/teams-js'
summary: Checks if MSAL-NAA channel recommended by the host
remarks: ''
previewState: beta
isDeprecated: false
syntax:
content: 'function isNAAChannelRecommended(): boolean'
Expand Down
Loading