Design/UX #14884
closedDesign/UX #13998: Homepage Redesign
Pronoun visibility
0%
Description
During the team meeting on Friday, we discussed whether the pronouns we added to profiles in #13347 should be publicly displayed by default, and whether we should (and can technically) add a toggle to change this.
I've added everyone from that prior ticket as a watcher here, and I'm assigning this to Boone for now, as knowing what's possible from a tech standpoint might help guide our conversation/decisions here. In #13347 we tied a lot of the display to one Wordpress display filter -- is it as easy as a toggle that targets that filter, at least for public display? Do we need to better catalog where the pronouns are appearing, on both the redesigned homepage and other public internal pages, as well as private/profile pages?
On the question of what to make the default behavior, we could consider making this clear during registration, noting under the pronoun field whether these are going to appear next to your name publicly or not, and that this can be changed in profile settings later.
Files
Related issues
Updated by Colin McDonald about 3 years ago
- Related to Feature #13347: Add Preferred Gender Pronouns to CAC Profile added
Updated by Boone Gorges about 3 years ago
Currently, pronouns appear basically everywhere a user's display name is shown. See https://github.com/cuny-academic-commons/cac/blob/9a14e471c6da7fc37ad8d32fc6fb85d713ac74a0/wp-content/mu-plugins/cac-functions.php#L2798 More fine-grained control will definitely increase the technical complexity, but I don't foresee any dealbreakers, so you should design the system you want without worrying about the technicas aspects.
Updated by Laurie Hurson about 3 years ago
Hi All,
This could get really complex if we want to change WHO the pronouns are displayed to (i.e. logged in vs. out users). For the sake of simplicity, I guess pronouns will be displayed to anyone who can view the commons, so it's a question of where they display.
My initial thought is add several options below the profile area where a user inputs the pronoun information. The options could be something like:
Display Pronouns:
[] Site-wide (anywhere my username appears)
[] Profile only
[] Profile + created content (i.e. site pages, posts, comments; forum topics, replies)
[] Created content only (i.e. site pages, posts, comments; forum topics, replies)
Updated by Boone Gorges about 3 years ago
As a foil to Laurie's well-reasoned suggestion :) here's a way of conceiving the settings in a way that's tied to "who" rather than "what":
Display pronouns to:
[ ] Everyone
[ ] Logged-in members of the Commons only
[ ] My friends and members of my groups and sites
[ ] My friends
The third option in particular seems important, because it's in the context of groups and sites where people are likely to be in conversation with each other, thus necessitating the use of pronouns.
Updated by Laurie Hurson about 3 years ago
Thanks for laying out this other option Boone.
From our chat on the dev call earlier this week it sounds like controlling for WHO can see pronouns would be better route to go.
So, perhaps we can add a drop down option in the profile>edit area that allows a user to select:
Display pronouns to:
[ ] Everyone
[ ] Logged-in members of the Commons only
[ ] My friends and members of my groups and sites
[ ] My friends
Updated by Boone Gorges about 3 years ago
- Target version set to 1.19.0
Could we try to make a final decision about this during this week's meetings? There's a possibility of doing it for 1.19 but we need to be agreed on the approach.
Updated by Raymond Hoh about 3 years ago
Just wanted to note that we do have a page where users can change the visibility setting for each profile field under "My Settings > Profile Visibility".
The "Pronouns" field is already on this page with the following options:
- Everyone
- Only Me
- All Members
- My Friends
The one option that is missing is "My friends and members of my groups and sites". I believe we might be able to plug in this option into BuddyPress, but we'd need to take a further look.
Then we'd need to reference this visibility option before outputting the user's pronouns.
Updated by Boone Gorges about 3 years ago
Thanks, Ray! I was planning to integrate into this. (It's currently ignored in many contexts, given the way that the display names are filtered.)
Updated by Boone Gorges about 3 years ago
- Status changed from New to Testing Required
I've added a first pass at this in https://github.com/cuny-academic-commons/cac/commit/d6bb28dbf4e331e967b07a0cc33cf77a526c6850
When editing your profile, use the 'This field can be seen by' interface to modify settings. See screenshot.
I've tried testing all the scenarios (fellow group- and site-members was the tricky one) but this could use a review from someone else on the team.
Updated by Laurie Hurson about 3 years ago
- File Screen Shot 2021-11-18 at 12.25.27 PM.png Screen Shot 2021-11-18 at 12.25.27 PM.png added
- File Screen Shot 2021-11-18 at 12.27.45 PM.png Screen Shot 2021-11-18 at 12.27.45 PM.png added
Hi All,
For some reason I can't see the option to change pronoun visibility on cdev? Screenshots attached.
If I could see the pronoun options, I think I should have the option to "change" in the edit profile area, and should see a drop down in the profile visibility area?
Updated by Boone Gorges about 3 years ago
Sorry, Laurie! I needed to make a database-level change on cdev for you to see the options. Please try again.
Updated by Laurie Hurson about 3 years ago
Yep, this worked as intended for me. Looks good!
Updated by Boone Gorges almost 3 years ago
- Status changed from Testing Required to Resolved