Improve invite link previews with space metadata (#131) #170
Reference in New Issue
Block a user
Delete Branch "priyanshu_bharti/flotilla:131-improve-link-preview"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ixes #131
Summary
Detects Flotilla invite links before falling back to generic Open Graph preview behavior.
Renders a relay/space summary card for invite links so the preview is clearly an invitation.
Adds clear copy: Invitation to join a space.
Why
The previous preview looked generic and did not communicate that the link was a space invite.
This change makes invite links informative by showing space-specific details.
Testing
Ran locally and posted invite links in chat.
Verified invite links now show the space-focused preview card.
Verified non-invite links continue using existing preview behavior.
Before
After
This isn't actually the approach I had in mind, I would prefer to create a
server.jsfile that handles this case regardless of where the link is pasted (in and outside flotilla) using opengraph tags. Flotilla already handles links to itself, so nothing special has to happen in Flotilla.Let me know if you're not sure what I mean.
Pull request closed