zinc-collective / convene

An Operating System for the Solidarity Economy
https://convene.zinc.coop
Other
56 stars 19 forks source link

✨ `Space` add "Website Settings" section and enforce ssl checkbox #1484

Closed KellyAH closed 12 months ago

KellyAH commented 1 year ago

Changes

Screenshot 2023-05-24 at 5 51 16 PM
KellyAH commented 1 year ago

Test Cases to test on Local

KellyAH commented 1 year ago

@zspencer I forgot to ask you where on the /spaces/<space-name>/edit page do you want the Enforce SSL checkbox to be added? Utilities Section a different section, or a new Security section?

anaulin commented 12 months ago

It feels like we're starting to need a new "general space settings" section. (With maybe a better / more concise title, probably.)

zspencer commented 12 months ago

For now an "Operator Only Settings" section feels like maybe the right place; that way we could also expose the branded_domain field there

KellyAH commented 12 months ago

Will continue on sunday 5/21

KellyAH commented 12 months ago

@zspencer should I add browser tests or any unit tests for the new "Operator Only Settings" section? Or is it too early

zspencer commented 12 months ago

It would be good to have a spec/requests/spaces_controller_request_spec#update test to make sure that the enable_ssl flag gets set to true when the form comes through; but I think a full system test would be too much since we're probably going to move this around soon anyway.

zspencer commented 12 months ago

Maybe this is actually "Website Settings" and not "Operator Only Settings" 🙃

KellyAH commented 12 months ago

Maybe this is actually "Website Settings" and not "Operator Only Settings" 🙃

Renamed to "Website Settings" in the code and UI in 5910f5c4041f214cda4f1f36fc3995a15e8136f3