forgejo/templates/shared
Panagiotis "Ivory" Vasilopoulos d03be77665 UI: Hide hidden email from own profile, again
This is a follow-up for 5e1bd8af5f, which
was my first commit to Gitea. It is also a follow up for the
Gitea PR #29300 (https://github.com/go-gitea/gitea/pull/23900) created
by myself, which turned stale.

This change partially restores the behavior of Gitea PR #23747
(https://github.com/go-gitea/gitea/pull/23747) by wxiaoguang, but
maintains the lock.

The original idea was to differentiate things from GitHub and GitLab a
little bit, and show the email address on the profile. The profile is
not only a place where the user chooses to show how they present
themselves on an instance, it is also a place where they can assess
their relationship *with* the instance, as it provides features such
as the Public Activity feed that can be only shown to the user, in
private.

It's, in some way, a dashboard. The email was shown there to remind
the user that this is the primary email that will be used by a supposed
administrator to contact them. There were other motivations behind that
change as well, but, long story short, the idea did not work very well,
as some people (e.g. people livestreaming on the Internet, or 'normal'
users sharing their screens) do not want to put their email address
out there when showing their screen to other people.

Other alternatives, such as blurring the text or only showing the real
email address, were explored, but were rejected because of
browser compatibility and simplicity reasons. The padlock icon that
is shown when showing the email address to other people has been kept.
One viable alternative could be displaying the placeholder email
instead, but that requires some more thought.

Fixes https://codeberg.org/forgejo/forgejo/issues/1950.
2024-05-05 13:08:31 +02:00
..
actions Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
search add test 2024-04-13 06:04:00 +00:00
secrets Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
user UI: Hide hidden email from own profile, again 2024-05-05 13:08:31 +02:00
variables Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
webhook Change webhook-type in create-view (#29114) 2024-02-17 23:24:30 +01:00
blocked_users_list.tmpl templates: Safe & Escape no longer exist 2024-02-26 22:30:27 +01:00
combomarkdowneditor.tmpl Make display of EasyMDE in UI optional to template 2024-04-15 21:23:33 +05:00
issueicon.tmpl Performance improvements for pull request list page (#29900) 2024-03-26 19:04:26 +01:00
issuelist.tmpl [GITEA] Apply changes to archived labels 2024-04-01 17:46:02 +05:00
label_filter.tmpl add label filters in org/{org_name}/issues 2024-04-04 17:57:11 +05:30
repo_search.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
searchbottom.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
searchfile.tmpl fix code search template 2024-04-11 14:52:37 +00:00