MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
279 stars 501 forks source link

Teams chat bot and adaptive cards showing in a compact chat frame #11254

Open StevieBleeds opened 1 month ago

StevieBleeds commented 1 month ago

Steps to reproduce

I am seeing a change in the Teams app in the web browser where the chat channel in our chat bots are showing in a much smaller frame. I am using adaptive cards which are now showing all reduced in size, which is making the user experience quite difficult now. I couldn't seem to find a way to revert the chat frame as it was before and could see this vaguely refers to the roadmap change MC798316.

Looking at the screenshot (attached) of the change, that does not resemble what we're seeing currently. Is there something in the Teams manifest that can revert the chat bot back to it's original configuration with the chat tab selected or even to the new experience.

Expected behavior

I might be missing something, but I would hope to see the Teams chat bot as it was showing previously which is used throughout my organisation. The new experience will present challenges for us since it currently makes the adaptive cards very difficult to work with.

Error details

new_teams image

StevieBleeds commented 1 month ago

Just to add to this further, I've been using the latest manifest version in the Teams Developer portal and the only way I can get the chat to show as the main window was to remove the tabs. When I add personal tabs they seem to take precedence no matter what the ordering is in the manifest file.

image

image

Meghana-MSFT commented 1 month ago

@StevieBleeds - Thank you for additional inputs. Just to confirm, you have a static tab and bot in your manifest and the chat is shown in a smaller frame. It works fine is the static tab is removed. Could you please confirm if my understanding is correct.

If possible, could you please share your manifest with us by removing any PII data.

StevieBleeds commented 1 month ago

Absolutely, thank you and I am using static tabs.

{
  "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.17/MicrosoftTeams.schema.json",
  "version": "2.0.0",
  "manifestVersion": "1.17",
  "id": "{REDACTED}",
  "name": { "short": "Request (Dev)", "full": "Request Assistant" },
  "developer": {
    "name": "{REDACTED}",
    "websiteUrl": "https://{REDACTED}",
    "privacyUrl": "https://{REDACTED}",
    "termsOfUseUrl": "https://{REDACTED}"
  },
  "description": {
    "short": "Create a site, team, plan, calendar, community, private channel or member list.",
    "full": "{REDACTED}"
  },
  "icons": { "outline": "outline.png", "color": "color.png" },
  "accentColor": "#005EA5",
  "staticTabs": [
    { "entityId": "conversations", "scopes": ["personal"] },
    {
      "entityId": "accessibilityTab",
      "name": "Accessibility",
      "contentBotId": "{REDACTED}",
      "scopes": ["personal"]
    },
    {
      "entityId": "myrequestsTab",
      "name": "My Requests",
      "contentBotId": "{REDACTED}",
      "scopes": ["personal"]
    },
    {
      "entityId": "myhelpTab",
      "name": "Help",
      "contentBotId": "{REDACTED}",
      "scopes": ["personal"]
    },
    { "entityId": "about", "scopes": ["personal"] }
  ],
  "bots": [
    {
      "botId": "{REDACTED}",
      "scopes": ["personal"],
      "commandLists": [
        {
          "commands": [
            {
              "title": "Create a request",
              "description": "Create a site, team, plan, community and more"
            }
          ],
          "scopes": ["personal"]
        }
      ],
      "isNotificationOnly": false,
      "supportsCalling": false,
      "supportsVideo": false,
      "supportsFiles": true
    }
  ],
  "validDomains": ["{REDACTED}.onmicrosoft.com", "token.botframework.com"],
  "authorization": { "permissions": { "resourceSpecific": [] } }
}
StevieBleeds commented 1 month ago

This is the version of Teams on the Web I'm seeing the issue in currently.

image

StevieBleeds commented 1 month ago

Also seeing it on the Teams client as well.

updated_teams_client

StevieBleeds commented 1 month ago

Seems to be working again now in both Web and Client.

image image

Meghana-MSFT commented 1 month ago

Thank you for confirming back.

StevieBleeds commented 2 weeks ago

Sorry, but this has appeared again with the desktop client version: 49/24071128825