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

Link IndividualMember to user profile page when available #1738

Open
sarahboyce opened this issue Nov 15, 2024 · 5 comments
Open

Link IndividualMember to user profile page when available #1738

sarahboyce opened this issue Nov 15, 2024 · 5 comments

Comments

@sarahboyce
Copy link
Contributor

sarahboyce commented Nov 15, 2024

I propose:

  • accounts.models.Profile has a new bio text field which is displayed on the user profile page (example page: https://www.djangoproject.com/~sarahboyce/)
  • members.models.IndividualMember has a nullable FK field to User
  • When a new members.models.IndividualMember is created without a linked account, it sends an email with a link to create an account on djangoproject.com to the new member
  • A button Send account invite is available on the IndividualMember admin edit/list page

After doing some admin to link existing IndividualMember to their User account, and sending invite emails to members without an account, we can then have the DSF members page have the member names be links to their user profile page

See related discussion: https://forum.djangoproject.com/t/what-is-the-technical-team-and-the-technical-advisory-team/36455

@bmispelon
Copy link
Member

I'm assuming this is the forum thread you meant? https://forum.djangoproject.com/t/what-is-the-technical-team-and-the-technical-advisory-team/36455

@sarahboyce sarahboyce changed the title Names of team members to link to their user profile page IndividualMember have a optional djangproject account to fill a bio and link their userprofile Nov 16, 2024
@sarahboyce sarahboyce changed the title IndividualMember have a optional djangproject account to fill a bio and link their userprofile IndividualMember have a optional account to fill a bio and link their userprofile Nov 16, 2024
@sarahboyce sarahboyce changed the title IndividualMember have a optional account to fill a bio and link their userprofile Link IndividualMember to user profile page when available Nov 16, 2024
@sarahboyce
Copy link
Contributor Author

I'm assuming this is the forum thread you meant? https://forum.djangoproject.com/t/what-is-the-technical-team-and-the-technical-advisory-team/36455

Yes, thank you! I have updated the proposal quite a bit also 👍

@jefftriplett
Copy link
Member

This is shiny and I like it. Great idea and proposal!

[This can be a different ticket/issue/patch]

Is there a good or reasonable alternative to Gravatar which I see linked up in the sidebar? Given the recent Automattic meltdown, I deleted my account and one use or advocate anything they touch. Which is a shame. I don't think this image quite captures how pale I really am. https://www.djangoproject.com/~jefftriplett/

@pauloxnet
Copy link
Member

Is there a good or reasonable alternative to Gravatar which I see linked up in the sidebar? Given the recent Automattic meltdown, I deleted my account and one use or advocate anything they touch. Which is a shame. I don't think this image quite captures how pale I really am. https://www.djangoproject.com/~jefftriplett/

First ideas that came in mind: the avatar from the GitHub user, since all contributors I think already have one account over there. Or we can add an URLField in the profile so you can choose. Pros and cons in both solutions.

@marksweb
Copy link
Contributor

marksweb commented Nov 20, 2024

You can fetch profile data for a user from this endpoint;

https://api.github.com/users/marksweb

Could have a templatetag to pull that from the api for the profile page?

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

No branches or pull requests

5 participants