Skip to content

Dutch group feedback: submit-button wording, MB-CDI link in new tab, no-location background variant - #654

Open
mcfrank wants to merge 1 commit into
masterfrom
dutch-feedback-fixes
Open

Dutch group feedback: submit-button wording, MB-CDI link in new tab, no-location background variant#654
mcfrank wants to merge 1 commit into
masterfrom
dutch-feedback-fixes

Conversation

@mcfrank

@mcfrank mcfrank commented Aug 12, 2026

Copy link
Copy Markdown
Member

Three small, independent fixes from the Dutch group's feedback (they run their own EU deployment). Branched off master, so it's independent of the modernization stack and can merge on its own.

1. Completion button wording

"Click to complete the study" → "Submit your responses" (administration_summary.html, cat_forms/cat_completed.html). Their participants continue the study in Qualtrics afterward, and the old wording read like the end — some were closing the tab.

Translation note: only fr and ja had translated the old string; every other locale (including nl) had an empty msgstr and already showed the English text, so the Dutch group sees the new wording immediately. A makemessages pass + fr/ja re-translation is the only follow-up; I didn't hand-edit those translations.

2. MB-CDI link opens in a new tab

Added target="_blank" rel="noopener" to the "For more information about the MB-CDI" link on the study-intro (study_group.html) and background_info.html pages. The latter is exactly the scenario they described — a participant mid-questionnaire clicks the link and loses their place.

3. Background questionnaire without Land/Postcode

New Dutch_CAT_no_location.json — a copy of Dutch_CAT.json with the country (Land) + zip_code (postcode) block removed. Postcode is sensitive personal data, especially under GDPR on an EU server.

To enable it: load researcher_UI/fixtures/dutch_cat_no_location_demographic.json (manage.py loaddata dutch_cat_no_location_demographic), or add a Demographic record in the admin (name Dutch_CAT_no_location.json, path /form_data/background_info/Dutch_CAT_no_location.json) — same as their existing Dutch_CAT option. It then appears as a selectable questionnaire when creating a study, leaving the original intact.

Two feedback items are already fixed elsewhere (not in this PR)

  • CAT reloads the whole page per question → fixed by the in-browser jsCat engine (the new CAT engine swaps only the question text). Comes with the modernization stack; needs CAT_ENGINE=browser on deploy.
  • "Zeg ba" → "Zeg bal" instruction-image typo → the current repo images already read Zeg "bal" / Say "ball" (verified the base, CAT, and WS variants). Their EU server just has an older image.

Both resolve when the Dutch server updates to the current version.

Verification

Trivial text/attribute edits + validated JSON. Full participant-flow browser rendering (these pages need a live administration) was disproportionate; the two changes are {% trans %} string swaps and HTML attribute additions, which can't introduce template errors, and both new JSON files parse.

🤖 Generated with Claude Code

…location background variant

Three small, independent fixes requested by the Dutch group (EU deployment):

1. Completion button "Click to complete the study" -> "Submit your responses"
   (administration_summary.html, cat_forms/cat_completed.html). The old wording
   read like the end of the study; participants who continue in Qualtrics were
   closing the tab. Only fr and ja had translated the old string; other locales
   (incl. nl) already showed English, so a makemessages pass + fr/ja
   re-translation is the only follow-up.

2. "For more information about the MB-CDI" link now opens in a new tab
   (target=_blank rel=noopener) on the study intro and background-info pages,
   so participants don't navigate away from the questionnaire and lose it.

3. New background-questionnaire option Dutch_CAT_no_location.json: a copy of
   Dutch_CAT.json without the country ("Land") + postcode fields (postcode is
   sensitive personal data, especially under GDPR on their EU server). Enable it
   by loading dutch_cat_no_location_demographic.json or adding a Demographic
   record (name + path) in the admin, then pick it when creating a study.

Two other feedback items are already fixed in the modernization stack, not here:
the CAT per-question page reload (fixed by the in-browser jsCat engine) and the
"Zeg ba" -> "Zeg bal" instruction-image typo (current images are already
correct). The Dutch server just needs to update.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

1 participant