kobotoolbox/kpi

About the validation status settings

hhertout opened this issue · 1 comments

Hello.

I have a question about the validation status settings.
Indeed, there is a color setting included in KPI, and another one in Kobocat.

In KPI, for example, the validation status color is set in the root SCSS files, and global configuration for the validation status is set in the constants.ts file.
However, there is an other validation status settings file, in Kobocat .

So, if we have to add another validation status in Kobocat for some reason, the validation status in KPI is broken because this change is only known by Kobocat,

So i'm wondering why don't you use the Kobocat configuration file in KPI instead of the actual configuration ? And in witch case we should use the Kobocat configuration ?

Thanks.

jnm commented

Hello! Not a full answer to your question, but if there's ever an action that can be done either with KPI or KoboCAT, always do it with KPI. Nearly all of KoboCAT will eventually be removed except for the its implementation of OpenRosa.

I think we originally had the idea to allow these colors to be customized but then decided against it. I can't investigate right now, but someone else may have the time to give you a better response.