social-app
social-app copied to clipboard
Composer doesn't prompt to add a link card when opened from an intent URL
Describe the bug
When opening the composer from an intent URL like https://bsky.app/intent/compose?text=
and the text
contains a URL, the composer doesn't prompt to add a link card for the URL until the user types something else.
To Reproduce
Steps to reproduce the behavior:
- Open an intent URL with a link in it, such as https://bsky.app/intent/compose?text=Alf!%20https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FALF_(character)
- Note that the composer doesn't have the prompt to add a link card
- Enter anything else in the text area, like a space
- The "add link card" prompt appears
Expected behavior
If the text passed in the intent URL contains a link, the composer should open with the "add link card" prompt present.
Screenshots
Composer open after opening the intent URL:
After adding a space to the text:
Details
- Platform: Desktop web (Arc 1.31.2 on macOS Sonoma 14.3.1,
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
) - Platform version: Build version: 1.70.0; Platform: web
- App version: N/A