Open jnm opened 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?
@jnm @magicznyleszek This sounds correct. I mocked up what it should look like and which elements should go where:
@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
@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)
This is in kobotoolbox/kobocat-template. More details to follow...