Repository navigation
Gateway: give the Add to Microsoft Teams button its logo, and name platforms consistently (CHOO-4633) - #2252
Open
christian-mcdermott wants to merge 1 commit into
Open
christian-mcdermott wants to merge 1 commit into
christian-mcdermott wants to merge 1 commit into
Conversation
…atforms consistently
The Add buttons on Messaging apps drew logos bundled into the gateway,
and only Slack's, Discord's and Telegram's were there, so Teams' button
had none. They now draw each platform's logo as Switch serves it, the way
the rest of the page already does, so a platform added later is not left
without one; the bundled copies, identical to the served ones, are gone.
An audit for the same kind of gap found platform names shown three other
ways: the People page's "Seen on" title-cased the key ("Teams"), and the
delete-connection prompt and the new-room messaging app picker showed it
raw ("teams"). All three, and the Telegram claim dialog, now use the
platform's own name, and the picker no longer repeats it for an app named
after its platform. WhatsApp and Rocket.Chat are spelled as the server
spells them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
christian-mcdermott
requested review from
abeldantas,
agent-runner353,
amaudruz,
lbangalosbt,
massimo-sandboxaq,
niall-sandboxaq,
petr-sandbox,
raullopez-sandbox and
simonflk-sb
as code owners
November 24, 2026 19:37
Collaborator
Author
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



On Messaging apps, the Add to Slack, Discord and Telegram buttons each carry the platform's logo, but Add to Microsoft Teams had none. The section drew those logos from copies bundled into the gateway, and nobody had added Teams to that list. The rest of the page already draws every platform's logo as the server serves it (
/collaborations/types), so I switched the Add buttons over to the same source. Teams gets its logo, and so will any platform added later. The bundled copies were byte-for-byte the served ones, so I deleted them.I then audited the gateway for the same kind of gap, meaning places where one platform is treated differently from the others because it was left off a hard-coded list. Logos turned out to be the only gap. Platform names had three more:
platformLabeltitle-cased WhatsApp and Rocket.Chat into "Whatsapp" and "Rocketchat". Both are now spelled as the server spells them.The Telegram claim dialog moved from
titleCasetoplatformLabeltoo. Nothing changes on screen today, but it can't drift. Gateway build and the full suite pass locally (1299 tests). The new test checks that the Teams button draws the logo the server serves.🤖 Generated with Claude Code