Open inromualdo opened 1 year ago
@inromualdo I suggest you connect with @lorena from the product to see how we move forward on this.
@lorerod FYI, I believe @Marina-Kenf tagged another Lorena. 😊
Hey @inromualdo, let me know if you need help with this. I suggest including @medic/allies in the conversation too. Thanks!
Hi @lorerod , thank you for reaching out. I will try to send a PR next week.
Is your feature request related to a problem? Please describe. When using the stock monitoring packages, tasks and contact summary are in a separate files (exported from the package) that users need to import in the main
tasks.js
andcontact-summary.templated.js
files.The purpose of this feature is to eliminate this step so that
compile-app-settings
can compile tasks, targets, and contact summaries that come from other sources.Describe the solution you'd like A solution would be the possibility to add multiple tasks and contact summary files like
stock_monitoring.tasks.js
andstock_monitoring.contact-summary.js
that cht-conf can compile and upload in addition of thetasks.js
andcontact-summary.templated.js
Describe alternatives you've considered I have tried the Derived configs from
cht-conf
. However, this concatenates the two generated files and it doesn't work. Additionally, it requires an intermediate compile for the tasks and contact summary of the package before.Additional context With this feature, the stock-monitoring package can be used only via the command line interface without any additional updates.