Project

General

Profile

Actions

Design/UX #14884

closed

Design/UX #13998: Homepage Redesign

Pronoun visibility

Added by Colin McDonald over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Public Portfolio
Target version:
Start date:
2021-10-19
Due date:
% Done:

0%

Estimated time:
Deployment actions:

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

Related to CUNY Academic Commons - Feature #13347: Add Preferred Gender Pronouns to CAC ProfileResolvedBoone Gorges2020-09-18

Actions
Actions #1

Updated by Colin McDonald over 2 years ago

  • Related to Feature #13347: Add Preferred Gender Pronouns to CAC Profile added
Actions #2

Updated by Boone Gorges over 2 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.

Actions #3

Updated by Laurie Hurson over 2 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)

Actions #4

Updated by Boone Gorges over 2 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.

Actions #5

Updated by Laurie Hurson over 2 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

Actions #6

Updated by Boone Gorges over 2 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.

Actions #7

Updated by Raymond Hoh over 2 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.

Actions #8

Updated by Boone Gorges over 2 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.)

Actions #9

Updated by Boone Gorges over 2 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.

Actions #10

Updated by Laurie Hurson over 2 years ago

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?

Actions #11

Updated by Boone Gorges over 2 years ago

Sorry, Laurie! I needed to make a database-level change on cdev for you to see the options. Please try again.

Actions #12

Updated by Laurie Hurson over 2 years ago

Yep, this worked as intended for me. Looks good!

Actions #13

Updated by Boone Gorges over 2 years ago

  • Status changed from Testing Required to Resolved
Actions

Also available in: Atom PDF