Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to compile and upload tasks and contact summary from reusable componnent #566

Open
inromualdo opened this issue Jul 10, 2023 · 4 comments
Assignees
Labels
Type: Feature Add something new

Comments

@inromualdo
Copy link

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 and contact-summary.templated.js files.
Screenshot 2023-07-10 at 12 51 13
Screenshot 2023-07-10 at 12 57 00

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 and stock_monitoring.contact-summary.js that cht-conf can compile and upload in addition of the tasks.js and contact-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.

@inromualdo inromualdo added the Type: Feature Add something new label Jul 10, 2023
@Marina-Kenf
Copy link

@inromualdo I suggest you connect with @Lorena from the product to see how we move forward on this.

@andrablaj
Copy link
Member

@lorerod FYI, I believe @Marina-Kenf tagged another Lorena. 😊

@inromualdo inromualdo self-assigned this Sep 7, 2023
@lorerod
Copy link

lorerod commented Sep 12, 2023

Hey @inromualdo, let me know if you need help with this. I suggest including @medic/allies in the conversation too. Thanks!

@inromualdo
Copy link
Author

Hi @lorerod , thank you for reaching out. I will try to send a PR next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Add something new
Projects
None yet
Development

No branches or pull requests

4 participants