hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
67 stars 41 forks source link

Bug: Cannot create a thread if all community topics are deleted #8081

Open mzparacha opened 3 months ago

mzparacha commented 3 months ago

Describe the bug

Initial conditions

Environment: Local

Branch/Release version: 1.4.0-4

Browser: All

Wallet: All

Reproduction steps

  1. Create a community
  2. Post a thread with the default 'General' topic
  3. Delete that topic from community management page
  4. Now create a new thread
  5. Notice we can't create thread if all thread topics are deleted.

Actual behavior

User cant create thread if all thread topics are deleted.

Expected behavior

To confirm from product, possibilities are

  1. Don't allow admin to delete the default 'General' topic
  2. Allow user to create thread without topic

Screenshots / Video

N/A

Reporter

@raykyri

Additional context

N/A

jessmart1213 commented 3 months ago

Expected behavior To confirm from product, possibilities are

Don't allow admin to delete the default 'General' topic Allow user to create thread without topic

My vote goes to option 1. @mzparacha

mzparacha commented 3 months ago

Thanks @jessmart1213, I will wait for more responses and will start.

ForestMars commented 2 months ago

Calling this one low priority for now. We will most likely be dedicating the first sprint of Q3 to cleanup, hoping to catch a lot of this sort of stuff then.

mzparacha commented 2 months ago

Per discussion with product/design, reposting from slack

  1. Hide threads without topics in all places
  2. Alert the community admin that "Deleting a topic would remove all its threads, this is a non-reversible action"
  3. Prevent community admin from deleting the default "General" topic

cc: @sachben91 @HIM92 @jessmart1213

ForestMars commented 2 months ago

If we are not allowing deletion of the General topic (which is probably best) do we allow the default topic to be renamed? This is something users want (ie control over what the default topic is called if it cannot be deleted.)

Not a top priority but would be great to get an answer here @jessmart1213 @zakhap