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

Make profile photos visible by default #3553

Merged
merged 2 commits into from
Jun 19, 2023

Conversation

alwx
Copy link
Contributor

@alwx alwx commented May 31, 2023

@status-github-bot
Copy link

Pull Request Checklist

  • Have you updated the documentation, if impacted (e.g. docs.status.im)?
  • Have you tested changes with mobile?
  • Have you tested changes with desktop?

@alwx alwx requested a review from cammellos May 31, 2023 12:04
@status-im-auto
Copy link
Member

status-im-auto commented May 31, 2023

Jenkins Builds

Click to see older builds (4)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 3734527 #1 2023-05-31 12:06:05 ~2 min linux 📦zip
✔️ 3734527 #1 2023-05-31 12:07:39 ~4 min ios 📦zip
✔️ 3734527 #1 2023-05-31 12:08:30 ~5 min android 📦aar
✖️ 3734527 #1 2023-05-31 12:18:17 ~15 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 597c239 #2 2023-05-31 14:09:15 ~2 min ios 📦zip
✔️ 597c239 #2 2023-05-31 14:09:26 ~3 min linux 📦zip
✔️ 597c239 #2 2023-05-31 14:10:55 ~4 min android 📦aar
✖️ 597c239 #2 2023-05-31 14:29:33 ~23 min tests 📄log
✖️ 597c239 #3 2023-06-19 14:07:49 ~13 min tests 📄log
✖️ 597c239 #4 2023-06-19 14:28:25 ~2 min tests 📄log
✖️ 597c239 #5 2023-06-19 14:42:25 ~13 min tests 📄log
✔️ 1a81030 #3 2023-06-19 14:39:05 ~3 min ios 📦zip
✔️ 1a81030 #3 2023-06-19 14:40:35 ~5 min android 📦aar
✔️ 1a81030 #3 2023-06-19 14:41:42 ~6 min linux 📦zip
✖️ 1a81030 #6 2023-06-19 15:05:50 ~23 min tests 📄log
✔️ 1a81030 #7 2023-06-19 16:42:21 ~12 min tests 📄log

@@ -359,7 +359,7 @@ func defaultSettings(generatedAccountInfo generator.GeneratedAccountInfo, derive

settings.PreviewPrivacy = true
settings.Currency = "usd"
settings.ProfilePicturesVisibility = 1
settings.ProfilePicturesVisibility = 2
Copy link
Contributor

Choose a reason for hiding this comment

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

it should be probably using some const that we defined somewhere (I know it's not your code, but mine :) ), would you mind pointing it at it?

thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No problem, I changed it to use the constant.
However, to avoid shadowing I had to change the name settings used for the object here (there is a package under that name that is already imported). defaultSettings seems to be an appropriate name because that's exactly what we're creating

Copy link
Member

@Samyoul Samyoul left a comment

Choose a reason for hiding this comment

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

Should we be giving the user the lowest privacy level by default? This approach fixes an expectation without giving the user an opportunity learn about our approach to privacy.

@cammellos @John-44 @pedro-et what are you thoughts on this?

@@ -33,7 +33,8 @@ func defaultSettings(generatedAccountInfo generator.GeneratedAccountInfo, derive
s.BackupEnabled = true
logLevel := "INFO"
s.LogLevel = &logLevel
s.ProfilePicturesShowTo = settings.ProfilePicturesShowToContactsOnly
s.ProfilePicturesShowTo = settings.ProfilePicturesShowToEveryone
Copy link
Member

Choose a reason for hiding this comment

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

Thank you for your work @alwx . I do have an objection with the nature of this PR, but not with the implementation and your work. If our messenger app is privacy first I'd argue that we should default to a sensible privacy focused setting, settings.ProfilePicturesShowToContactsOnly seems to me to strike that balance.

Otherwise we the concept of ProfilePicturesShowTo and ProfilePicturesVisibility becomes a bit of a gimmick.

The problem of conforming to other messenger conventions and managing the user's expectations should be an exercise in design and communication, not merely giving the user the loosest privacy levels and hoping they find the privacy toggle.

@John-44
Copy link

John-44 commented Jun 2, 2023

Should we be giving the user the lowest privacy level by default? This approach fixes an expectation without giving the user an opportunity learn about our approach to privacy.

@cammellos @John-44 @pedro-et what are you thoughts on this?

@alwx profile photos shouldn't be visible by default, this 'profile photo visibility' setting should be removed enterally (so that profile photos are always visible). This setting has already been removed from the desktop UI about 6 months ago, and is not featured in the new Mobile designs. So time to get rid of this enterally!

@Samyoul there isn't a privacy concern here, because the reason this setting was originally added was nothing to do with privacy (I remember the conversations that led to this setting being added in the first place). The reason this setting exists at all was due to a specific request from our legal team that was only relevant in the context of 'public group chats'. Now that the 'public group chat' functionality has been removed from our product, this legal concern is no longer relevant, hence why this setting should be fully removed.

One other comment on the privacy prospective: we treat user avatar images in exactly the same way we treat usernames. A user is free to choose whatever username they want, and they are free to choose whatever avatar image they want or not choose an avatar image at all. If a user doesn't want other users to see their avatar image, they have the option of just not adding an avatar image, or if they really want the user also has an option to use a black or white circle or something like that ;-)

@Samyoul
Copy link
Member

Samyoul commented Jun 5, 2023

Oh man @John-44 what a plonker I am 🤦, I even remember that concern now that you mention it.

I'm sorry @alwx (and @John-44 )I have made a mistake here.

Maybe we can approve this feature and then add removal of the option to another issue.

@alwx alwx self-assigned this Jun 19, 2023
@alwx alwx force-pushed the feature/default-profile-pictures-visibility branch from 597c239 to 1a81030 Compare June 19, 2023 14:34
@alwx alwx merged commit 49187cc into develop Jun 19, 2023
@alwx alwx deleted the feature/default-profile-pictures-visibility branch June 19, 2023 16:55
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.

Make profile photos visible by default
6 participants