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

feat: Introduce study status and add closing state #634

Merged
merged 24 commits into from
Jun 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
5c0f04f
chore: translation
johannesvedder May 25, 2024
3cf8804
feat: deprecate published for study_status
johannesvedder May 25, 2024
29310b7
chore: create migration temporarily
johannesvedder May 26, 2024
9aba30c
fix: improve status transition rules
johannesvedder May 26, 2024
15a72e5
feat: study close button
johannesvedder Jun 7, 2024
881f856
chore: format
johannesvedder Jun 7, 2024
acdbb1c
chore: copy migration to schema
johannesvedder Jun 10, 2024
aed1eff
fix: merge dashboard refactor pr
johannesvedder Jun 11, 2024
051552d
chore: fix seed
johannesvedder Jun 11, 2024
dbd1810
fix: study visibility policy no longer uses published field
johannesvedder Jun 11, 2024
1ce2f78
fix: potential isClosed error
johannesvedder Jun 11, 2024
7dcc928
fix: migrate app to status
johannesvedder Jun 11, 2024
1cb7740
fix: do not show separator if no delete item shown
johannesvedder Jun 11, 2024
b6dad92
fix: only show close button for editors
johannesvedder Jun 11, 2024
547c468
fix: add closed success description
johannesvedder Jun 11, 2024
4beb796
style: format
johannesvedder Jun 11, 2024
9ffc7ce
tests: migrate db test to status
johannesvedder Jun 11, 2024
7c5b8ae
tests: fix workflow trigger
johannesvedder Jun 11, 2024
f190d1f
Merge branch 'dev' into feat/study-closing-studystatus
johannesvedder Jun 12, 2024
e27a580
chore: format
johannesvedder Jun 12, 2024
dad913e
chore: format
johannesvedder Jun 12, 2024
cdcbca5
style: rephrase translation
johannesvedder Jun 13, 2024
9b66d33
feat: new severe close confirmation
johannesvedder Jun 13, 2024
931c4e2
Merge branch 'feat/study-closing' into feat/study-closing-studystatus
johannesvedder Jun 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Next Next commit
chore: translation
  • Loading branch information
johannesvedder committed Jun 11, 2024
commit 5c0f04ff8f5f2abf1ed890d4ca5b1257b0eacc47
6 changes: 3 additions & 3 deletions designer_v2/lib/localization/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"study_status_running": "Live",
"study_status_running_description": "This study is currently in progress.",
"study_status_closed": "Closed",
"study_status_closed_description": "This study has been completed.\nNo new participants will be able to enroll.",
"study_status_closed_description": "This study has been completed.\nNew participants can no longer enroll.",
"participation_open_who": "Everyone",
"participation_open_who_description": "All StudyU users may enroll to the study in the StudyU app.",
"participation_invite_who": "Invite-only",
Expand Down Expand Up @@ -121,7 +121,7 @@
"notification_study_deleted": "Study was deleted",
"notification_study_closed": "Study was closed",
"dialog_study_close_title": "Close participation?",
"dialog_study_close_description": "Are you sure that you want to close participation for this study? No new participants will be able to enroll.",
"dialog_study_close_description": "Are you sure that you want to close participation for this study? New participants can no longer enroll.",
"dialog_study_delete_title": "Permanently delete?",
"dialog_study_delete_description": "Are you sure you want to delete this study? You will permanently lose the study and all data that has been collected.",
"@__________________STUDYPAGE_DESIGN_SHARED__________________": {},
Expand Down Expand Up @@ -245,7 +245,7 @@
"banner_study_readonly_title": "This study cannot be edited.",
"banner_study_readonly_description": "You can only make changes to studies where you are an owner or collaborator. Studies that have been launched cannot be changed by anyone.",
"banner_study_closed_title": "This study is closed.",
"banner_study_closed_description": "No new participants will be able to enroll in this study.",
"banner_study_closed_description": "New participants can no longer enroll in this study.",
"form_section_scheduling": "Scheduling and Compliance",
"form_section_scheduling_description": "To improve compliance, you can set a limited window of time for participants to complete the task & send a reminder notification at the specified time.",
"form_field_has_reminder": "App reminder",
Expand Down