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 it more obvious when a community is locked #2329

Merged
merged 4 commits into from
Jan 20, 2024
Merged

Conversation

SleeplessOne1917
Copy link
Member

Closes #2310. This is what the community page looks like with my changes:
image

Note the red padlock next to the community name and the notice in the sidebar.

@K4LCIFER Do you think this makes it noticeable enough and looks alright?

@K4LCIFER
Copy link

I think that looks great! The padlock should also have a tooltip that says "Community locked", or somehting along those lines (if it doesn't already, of course).

classes="me-sm-2 mx-auto d-sm-inline d-block"
/>
<div className="d-inline">
<strong className="fw-bold">Community locked:</strong> only
Copy link
Member

Choose a reason for hiding this comment

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

Needs i18n.

@Nutomic
Copy link
Member

Nutomic commented Jan 19, 2024

Maybe it would also make sense to rename the setting from posting_restricted_to_mods to simply locked.

@dessalines
Copy link
Member

I kinda like the verbose one, especially for code. Locked is somewhat unclear what that actually means, especially since its already used for posts. The front end can call that whatever it likes tho.

Copy link
Member

@dessalines dessalines left a comment

Choose a reason for hiding this comment

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

👍

@dessalines dessalines merged commit 57b4aac into main Jan 20, 2024
2 checks passed
@SleeplessOne1917 SleeplessOne1917 deleted the locked-community branch January 20, 2024 14:18
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.

Visual display that a community is locked
4 participants