Xyphyn / photon

A replacement for lemmy-ui with more features, a better design, and more customizability.
https://phtn.app
GNU Affero General Public License v3.0
311 stars 35 forks source link

Disable commenting if banned from community #333

Closed sevonj closed 1 week ago

sevonj commented 1 month ago

This makes the comments section behave the same as for locked posts, if the user has been banned.

If banned:

Screenshots ![image](https://github.com/Xyphyn/photon/assets/100710152/e6d78fe7-d326-4064-b1fe-ec04c462f70a) ![image](https://github.com/Xyphyn/photon/assets/100710152/754ff526-5ad7-45d8-8c11-a25c00cd4bb2)

Related issue: #318 This fixes the immediate complaint, but there's more to do, so I wouldn't close it yet. I'll try to break the rest of this issue into small, clearly defined tasks later.

vercel[bot] commented 1 month ago

@sevonj is attempting to deploy a commit to the Xylight's projects Team on Vercel.

A member of the Team first needs to authorize it.

Xyphyn commented 1 week ago

i put off this PR for too long so it would be painful to resolve the merge conflicts. i added what you made manually though.

sevonj commented 6 days ago

Was just going to revisit this today. Well, less work for me.