Skip to content
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

fix: twitter oembed image not showing #34079

Merged
merged 7 commits into from
Dec 17, 2024
Merged

Conversation

abhinavkrin
Copy link
Member

@abhinavkrin abhinavkrin commented Nov 28, 2024

Proposed changes (including videos or screenshots)

This pr fixes the issue where the image is not showing link for twitter article links. This pr removes the provider for twitter oembed and hence now relies on the meta tags (which is the default behavior when a provider is not provided).
Screenshot 2024-11-28 at 11 15 26 PM

Issue(s)

Steps to test or reproduce

Further comments

SUP-685

Copy link
Contributor

dionisio-bot bot commented Nov 28, 2024

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

Copy link

changeset-bot bot commented Nov 28, 2024

🦋 Changeset detected

Latest commit: 3acb2c9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 35 packages
Name Type
@rocket.chat/meteor Patch
@rocket.chat/core-typings Patch
@rocket.chat/rest-typings Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/freeswitch Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/gazzodown Patch
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts Patch
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/network-broker Patch
@rocket.chat/models Patch
@rocket.chat/ui-avatar Patch
@rocket.chat/ui-client Patch
@rocket.chat/ui-video-conf Patch
@rocket.chat/ui-voip Patch
@rocket.chat/web-ui-registration Patch
@rocket.chat/instance-status Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@abhinavkrin
Copy link
Member Author

I have not yet added tests, since it would include adding a tweet link for testing. The tests will fail if the tweet is deleted.

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.83%. Comparing base (e2d286c) to head (3acb2c9).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop   #34079   +/-   ##
========================================
  Coverage    75.83%   75.83%           
========================================
  Files          511      511           
  Lines        22172    22172           
  Branches      5397     5397           
========================================
  Hits         16814    16814           
  Misses        4710     4710           
  Partials       648      648           
Flag Coverage Δ
unit 75.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Contributor

github-actions bot commented Nov 28, 2024

PR Preview Action v1.4.8
🚀 Deployed preview to https://RocketChat.github.io/Rocket.Chat/pr-preview/pr-34079/
on branch gh-pages at 2024-12-17 14:36 UTC

Copy link
Member

@scuciatto scuciatto left a comment

Choose a reason for hiding this comment

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

Can you add a changeset, please?

@MarcosSpessatto MarcosSpessatto added this to the 7.2.0 milestone Nov 29, 2024
scuciatto
scuciatto previously approved these changes Nov 29, 2024
@abhinavkrin abhinavkrin requested a review from a team as a code owner December 11, 2024 16:08
@abhinavkrin abhinavkrin force-pushed the fix/twitter-link-oembed-image branch from c057863 to 4808dea Compare December 11, 2024 16:10
@jessicaschelly jessicaschelly added the stat: QA assured Means it has been tested and approved by a company insider label Dec 16, 2024
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Dec 16, 2024
@kodiakhq kodiakhq bot merged commit 156da2a into develop Dec 17, 2024
49 checks passed
@kodiakhq kodiakhq bot deleted the fix/twitter-link-oembed-image branch December 17, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants