hypothesis / client

The Hypothesis web-based annotation client.
Other
642 stars 197 forks source link

Do not allow leaving __world__ group #6684

Closed acelaya closed 2 days ago

acelaya commented 2 days ago

This PR ensures we do not display the option to leave the "Public" (AKA world) group, as that wouldn't work anyway.

image

This has been discussed in slack https://hypothes-is.slack.com/archives/C2C2U40LW/p1732181595497659, where we decided to give a special treatment to the __world__ group for now, and separately have a product discussion around group membership for public groups, and how to handle it properly.

codecov[bot] commented 2 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.43%. Comparing base (e80f694) to head (a327388). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6684 +/- ## ======================================= Coverage 99.43% 99.43% ======================================= Files 271 271 Lines 10210 10214 +4 Branches 2431 2433 +2 ======================================= + Hits 10152 10156 +4 Misses 58 58 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: