Giter Club home page Giter Club logo

Comments (9)

abbyad avatar abbyad commented on June 15, 2024

I think this is already done here: https://github.com/medic/medic-configurer/blob/c4ef0febd85c553b5e9f7f4526f8c0df9022a58e/src/fn/upload-collect-forms.js#L5

Is it not working anymore?

from cht-conf.

abbyad avatar abbyad commented on June 15, 2024

I just tested on beta-1.5.11 and it works, but only if you don't have a json properties file for that form with a context field.

from cht-conf.

sglangevin avatar sglangevin commented on June 15, 2024

Right, so I think we need to have it working for forms that already have json properties files, which will apply to many of our projects that are upgrading to 2.13.

from cht-conf.

alxndrsn avatar alxndrsn commented on June 15, 2024

I think the current behaviour is correct.

I just tested on beta-1.5.11 and it works, but only if you don't have a json properties file for that form with a context field.

What are you setting in the context field, if you aren't setting collect: true? Are there other options which might be relevant for a Collect form?

from cht-conf.

alxndrsn avatar alxndrsn commented on June 15, 2024

It looks to me like all the standard forms have unnecessary context fields set in their properties files. PR to remove these at https://github.com/medic/medic-projects/pull/2805.

from cht-conf.

abbyad avatar abbyad commented on June 15, 2024

I've already removed those in the 2.13 branch that I've been working on this week as part of the Standard push.

from cht-conf.

abbyad avatar abbyad commented on June 15, 2024

Previously we had:

{
	"context": {
		"person": false,
		"place": false,
		"expression": "false"
	}
}

and collect:true covers all of that

from cht-conf.

alxndrsn avatar alxndrsn commented on June 15, 2024

Great 👍

from cht-conf.

sglangevin avatar sglangevin commented on June 15, 2024

Thanks guys!

from cht-conf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.