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

Prefer linking to GitHub profiles in blog post bylines #408

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

dempseyatgithub
Copy link
Collaborator

This PR reverses the preference order of the link used in blog post bylines.

This change will link to the author’s GitHub profile if present, then fall back to link to the Twitter/X profile if present, finally displaying no link if neither is present.

Twitter/X now requires being logged-in to view profile information. GitHub displays profile information without being logged-in. This change provides a better experience by not requiring a user to be logged into any service to view the profile information linked from a blog post byline.

The change is minor, changing the order in which presence of the account info is checked. I’ve tested this on a local copy of the site.

- Link to GitHub profile if present, to Twitter profile as fallback, reversing the current order
- Better supports viewing profile info even if not logged-in
  - Changes to Twitter/X now require being logged-in to see profile info
  - GitHub displays profile info even when not logged info
Copy link
Collaborator

@alexandersandberg alexandersandberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good idea. We could also consider adding the option to link to the author's Swift forums account, but I'm not sure if we have any data for that yet.

@dempseyatgithub
Copy link
Collaborator Author

@swift-ci test

@dempseyatgithub
Copy link
Collaborator Author

We could also consider adding the option to link to the author's Swift forums account, but I'm not sure if we have any data for that yet.

We currently have GitHub info for all authors except for three. We would need to gather Swift forum info for all authors.

One reason I think GitHub profile pages are preferable is that they have dedicated fields for users to provide various means of contact or connection: URL, email, multiple social media handles. The Swift Forums profile only provides a field for a URL.

I would also guess that developers are more likely to curate their GitHub profile than their Swift forum profile, but that’s just a guess.

Copy link
Collaborator

@0xTim 0xTim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Big +1 to this - feel free to merge!

@dempseyatgithub dempseyatgithub merged commit 64b5574 into apple:main Sep 21, 2023
1 check passed
@dempseyatgithub dempseyatgithub deleted the PreferGitHubProfiles branch September 21, 2023 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants