janeway
janeway copied to clipboard
Add Mastodon handle field to Profile editor > Social Media and Accounts
Our academic community has moved en masse from Twitter to Mastodon in the last month.
Consider adding a field "Mastodon handle" in the Profile editor > Social Media and Accounts.
We have recently come across the need to create more flexible links to social media profiles when redesigning the OLH website.
What I'd like to see is a repeatable field on each user account that lets you:
- set a label for your link, like "Mastodon" or "Website" or "Bluesky"
- enter a URL
The URL would need to be validated as a full URL, not a username, so that Janeway templates do not have to know the syntax of a bunch of different social media platform URLs. Social media domains are not stable, and so we shouldn't hard-code domains into our templates.
For this to work with current data, I would suggest migrating our separate fields for Twitter, LinkedIn, GitHub, etc. to the new structure, and filling out known domains so that the resulting data contains full URLs.