kobotoolbox / kobocat

Our (backend) server for providing blank forms to Collect and Enketo and for receiving and storing submissions.
BSD 2-Clause "Simplified" License
117 stars 127 forks source link

Remove settings provided by KPI from "Project Settings" iframe #488

Open jnm opened 6 years ago

jnm commented 6 years ago

screenshot_20181017-111111 screenshot_20181017-111115

This is in kobotoolbox/kobocat-template. More details to follow...

jnm commented 6 years ago

@leszek, these changes should only apply to the iframe displayed in KPI, not the settings shown in KC ("Projects (legacy)"). It's fine to hide them with CSS only. I'm sorry that my screenshots show KC settings, but that was the easiest way for me to get (almost) all the options on one screen on mobile 😊 Check out https://github.com/kobotoolbox/kobocat-template/pull/84 for some insight into iframe-specific styling.

@tinok, any comments on the changes mentioned in the issue description?

tinok commented 6 years ago

@jnm @magicznyleszek This sounds correct. I mocked up what it should look like and which elements should go where:

image

jnm commented 5 years ago

@tinok, your mockup indicates that "DELETE PROJECT AND DATA" should be added to KPI's Settings->General, correct? If so, we will have it display the confirmation modal that KPI already displays when a user attempts to delete from the form list. Edit: this is already implemented in https://github.com/kobotoolbox/kpi/pull/2034

magicznyleszek commented 5 years ago

@tinok in an already done PR the "DELETE" button is part of KPI and doesn't have "…PROJECT AND DATA" text: https://github.com/kobotoolbox/kpi/pull/2034 (see screenshot)