alkem-io / client-web

Default web frontend, enabling browsing the Alkemio platform - so the hosted Challenges and communities collaborating around those Challenges.
https://alkem.io
European Union Public License 1.2
15 stars 6 forks source link

BUG: allow admins to save community guidelines without content #7011

Open larssondenise opened 3 weeks ago

larssondenise commented 3 weeks ago

Describe the bug When I create community guidelines, but I don't want them anymore, I can't delete and save them

To Reproduce Steps to reproduce the behavior:

  1. Go to a Space with community guidelines, or add guidelines to a space
  2. Delete the title and text in the description
  3. Try to save
  4. See update button is greyed out

Expected behavior

Screenshots

image.png
bobbykolev commented 22 hours ago

As an easy fix the client could check the instructions. If the field is empty, then we keep the CGL hidden. @SimoneZaza Otherwise, we should support spaces without GL. Saving one without title makes no sense.