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

Add a new question to the "Study information" page #4483

Merged

Conversation

iaindillingham
Copy link
Member

@iaindillingham iaindillingham commented Jul 23, 2024

Closes #4467

Here's the question:

Analytic Methods Policy

Notice that the link is in the help text below the question, not in the question itself. Field.label isn't parsed, but Field.help_text is. I've asked Liam whether this suffices.1

And here's the question in the context of the page:

Study information

No extra work is required to show the answer to the question in the staff area. The default answer is null.

Footnotes

  1. https://bennettoxford.slack.com/archives/C068NDYALSF/p1721748150730279

@iaindillingham iaindillingham force-pushed the iaindillingham/add-new-question-to-study-information-page branch from 8edd740 to dba9c8f Compare July 23, 2024 16:04
@@ -12,6 +12,7 @@ def __init__(self, *args, **kwargs):
# which uses choices.
radio_fields = [
"all_applicants_completed_getting_started",
"read_analytic_methods_policy",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This! 😱

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IKR, took me a second to work out why this was needed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It made me very sad.

@iaindillingham iaindillingham force-pushed the iaindillingham/add-new-question-to-study-information-page branch from dba9c8f to 3cddbda Compare July 24, 2024 08:32
@iaindillingham iaindillingham force-pushed the iaindillingham/add-new-question-to-study-information-page branch from 3cddbda to 0492431 Compare July 24, 2024 08:57
Copy link
Contributor

@Jongmassey Jongmassey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically all is good and save for a minor opinion I think the wording is also fine

@@ -113,6 +113,11 @@
help_text=snippet("study_purpose-help_text"),
template_name="form_textarea",
),
Field(
name="read_analytic_methods_policy",
label="Have all applicants for OpenSAFELY read and agreed to the OpenSAFELY Analytic Methods Policy?",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
label="Have all applicants for OpenSAFELY read and agreed to the OpenSAFELY Analytic Methods Policy?",
label="Have all applicants read and agreed to the OpenSAFELY Analytic Methods Policy?",

I think the "for OpenSAFELY" feels implicit here, but I'm aware there's been a bit of wrangling over the wording already so happy for you to disregard!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly, this isn't negotiable. I share your snag, however.

@iaindillingham iaindillingham merged commit d0f3fb2 into main Jul 24, 2024
8 checks passed
@iaindillingham iaindillingham deleted the iaindillingham/add-new-question-to-study-information-page branch July 24, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a new question to the "Study information" page
2 participants