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

Richer detection/insertion of links in composer #4087

Open
Bossett opened this issue May 17, 2024 · 0 comments
Open

Richer detection/insertion of links in composer #4087

Bossett opened this issue May 17, 2024 · 0 comments
Labels
feature-request A request for a new feature

Comments

@Bossett
Copy link
Contributor

Bossett commented May 17, 2024

Is your feature request related to a problem? Please describe.

Facets are currently underutilised in the composer, with hashtags, mentions, and links having limited expression.

Describe the solution you'd like

When adding a link, a popover should appear similar to the @ mention popover - and allow choosing from options such as:

  1. Insert title, which pulls in the website's title, and allows a user to then edit the name (preferably in the composer, but maybe in the popover?)
  2. Embed, removing the link and embedding - eliminating the need to backspace if you just want the link card
  3. Shortened link, current behaviour, but show the link as shortened in the composer, letting people edit as per 1
  4. Full link

The popover should show a placeholder until the user clicks/taps - which should be the prompt to go off and grab the website data.

In the future, that could extend to special detections (i.e. of bsky links) to include 5. <site specific data, like 'article title' or 'author name' (useful in doi links)> for even richer links, and if you're querying you can also pull in canonical URLs if it's in the metadata without session, etc. info, further cleaning things up.

@Bossett Bossett added the feature-request A request for a new feature label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant