logseq icon indicating copy to clipboard operation
logseq copied to clipboard

Automatically recognise and display the embedded Twitter/X URL (https://x.com/......)

Open mehtanisarg369 opened this issue 1 year ago • 1 comments

Search first

  • [X] I searched and no similar issues were found

What Happened?

As announced today, all Twitter links have now been replaced by their 'X' equivalents i.e. https://twitter.com/elonmusk is now officially https://x.com/elonmusk.

As such, the X-equivalent URLs can still be embedded in Logseq - but they aren't recognised automatically on pasting them. Earlier, just pasting the Twitter links would automatically recognise the links and embed them; now, one must type / then Embed Twitter Tweet and copy over the X-equivalent URLs.

Could the developers please introduce the functionality to automatically embed the tweets on pasting the X-equivalent URLs?

Reproduce the Bug

  1. Copy over the X-equivalent URLs (for e.g. https://x.com/elonmusk/status/1791351500217754008).
  2. The above-mentioned tweet isn't recognised and embedded automatically.

image

Expected Behavior

  1. Copy over the X-equivalent URLs (for e.g. https://x.com/elonmusk/status/1791351500217754008).
  2. Logseq displays the above-mentioned tweet - but embedded correctly.

Screenshots

image

Desktop or Mobile Platform Information

OS Version: Debian 12 (Bookworm) Logseq App Version: 0.10.9

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • [ ] I'm willing to submit a PR (Thank you!)

mehtanisarg369 avatar May 17 '24 20:05 mehtanisarg369

Thanks for the report.

andelf avatar May 18 '24 04:05 andelf