Visual cue for Organization with Visibility Limited + Private #6084

Closed
opened 2025-11-02 06:44:43 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @aschrijver on GitHub (Oct 2, 2020).

  • Gitea version (or commit ref): master

Description

There is no visual indicator that an Organization has Visibility set to Limited or Private. Only when going to Settings this becomes apparent. There should be a visual cue (an icon or label) on the organization page and in the organization list on the dashboard.

Background info

This caused confusion with me, and I reported an OpenGraph bug to Codeberg (No Discourse onebox when pasting links, and OpenGraph checker gave me 404 error). However, I forgot that upon creation I had set my org to be Limited visible, and afterwards never noticed this was still the case.

Originally created by @aschrijver on GitHub (Oct 2, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): `master` ## Description There is no visual indicator that an Organization has Visibility set to Limited or Private. Only when going to Settings this becomes apparent. There should be a visual cue (an icon or label) on the organization page and in the organization list on the dashboard. ### Background info This caused confusion with me, and I reported an OpenGraph bug to [Codeberg](https://codeberg.org/Codeberg/Community/issues/256#issuecomment-95120) (No Discourse onebox when pasting links, and OpenGraph checker gave me 404 error). However, I forgot that upon creation I had set my org to be Limited visible, and afterwards never noticed this was still the case.
GiteaMirror added the hacktoberfesttopic/uigood first issue labels 2025-11-02 06:44:43 -06:00
Author
Owner

@spenaustin commented on GitHub (Oct 3, 2020):

I'd be interested in trying this one. I'm admittedly not a UX expert -- do you think the best way to do this would be to put labels next to the Organization name in the places mentioned above (similar to the label display on this page)? Open to any ideas.

@spenaustin commented on GitHub (Oct 3, 2020): I'd be interested in trying this one. I'm admittedly not a UX expert -- do you think the best way to do this would be to put labels next to the Organization name in the places mentioned above (similar to the label display on this page)? Open to any ideas.
Author
Owner

@techknowlogick commented on GitHub (Oct 3, 2020):

@smtaylorslc yeah, similar to how it is on repos would be great!

@techknowlogick commented on GitHub (Oct 3, 2020): @smtaylorslc yeah, similar to how it is on repos would be great!
Author
Owner

@spenaustin commented on GitHub (Oct 4, 2020):

@techknowlogick great! I've started on this and things are looking promising -- however, I don't think there's a shortened descriptor for "Visibility" in the locales (for instance, the US locale file sets settings.visibility.limited to Limited (Visible to logged in users only)). Should I add visibility shortnames to the English .ini file and have future translations for the short name be another ticket?

(apologies if these are pretty simple questions -- I'm very new to this project & open source in general!)

@spenaustin commented on GitHub (Oct 4, 2020): @techknowlogick great! I've started on this and things are looking promising -- however, I don't think there's a shortened descriptor for "Visibility" in the locales (for instance, [the US locale file](https://github.com/go-gitea/gitea/blob/master/options/locale/locale_en-US.ini#L1871) sets `settings.visibility.limited` to `Limited (Visible to logged in users only)`). Should I add visibility shortnames to the English .ini file and have future translations for the short name be another ticket? (apologies if these are pretty simple questions -- I'm very new to this project & open source in general!)
Author
Owner

@zeripath commented on GitHub (Oct 5, 2020):

yeah just add another item to the locale file. Crowdin will pick it up and translators will translate.

Speaking of which I should do a check up on crowdin...

@zeripath commented on GitHub (Oct 5, 2020): yeah just add another item to the locale file. Crowdin will pick it up and translators will translate. Speaking of which I should do a check up on crowdin...
Author
Owner

@spenaustin commented on GitHub (Oct 6, 2020):

Implemented in #13040 .

@spenaustin commented on GitHub (Oct 6, 2020): Implemented in #13040 .
Author
Owner

@aschrijver commented on GitHub (Oct 6, 2020):

Super! You rock 👍

@aschrijver commented on GitHub (Oct 6, 2020): Super! You rock 👍
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6084