-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestintegrationWorks with other products or servicesWorks with other products or services
Description
Description
Add interactive follow/unfollow button to public profiles that integrates with Bluesky's follow system.
Features
- For signed-in users:
- Shows current follow state ("Following" / "Follow")
- Allows follow/unfollow directly from Lanyard
- Updates state in real-time
- Uses authenticated Bluesky session
- For visitors (not signed in):
- Shows generic "Follow" button
- Opens Bluesky profile in new tab on click
Implementation
- Check if viewer is authenticated with Bluesky
- If authenticated:
- Fetch current follow state via AT Protocol
- Show toggle button with current state
- Handle follow/unfollow actions via
app.bsky.graph.follow - Update UI optimistically
- If not authenticated:
- Show simple "Follow" link
- Link to
https://bsky.app/profile/{handle}
Benefits
- Increases engagement between researchers
- Reduces friction for following interesting profiles
- Keeps users within Lanyards ecosystem
- Leverages existing Bluesky network
Design Notes
- Position near profile header or action buttons
- Clear visual distinction between states
- Loading state during follow/unfollow action
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestintegrationWorks with other products or servicesWorks with other products or services