-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add dynamic labels for DMA form flow results #64
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two small comments about the naming of the answer keys, but otherwise looks good!
Onboarding/QA/flows/dma-form.md
Outdated
# TODO: remove this hard-coding once we can have dynamic labels for flow results | ||
write_result("mnch_onboarding_dma_form_v1.0_completed", "yes") | ||
slug_end = concatenate(slug, "_", version, "_end") | ||
write_result("slug", "@assessment_data.slug", label: "@slug_end") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we rather have the answer key be end
instead of slug
? To keep the naming consistent.
Onboarding/QA/flows/dma-form.md
Outdated
result_tag = concatenate("@slug", "_", "@version", "_question") | ||
write_result("question", question.question, label: "@result_tag") | ||
result_tag = concatenate("@slug", "_", "@version", "_", "@question_id") | ||
write_result("@result_tag", "@question_response") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to change this one to also using a label, so that we don't have @result_tag
as the question key.
This pulls the changes from praekeltfoundation/platform-mnch#64 into this repo
This adds dynamic labels to flow results. DS has been asked and first indications are that they approve.