Skip to content

Add admin-only search/filter options on Manage Studies#1861

Open
becky-gilbert wants to merge 10 commits intodevelopfrom
admin-review-qol
Open

Add admin-only search/filter options on Manage Studies#1861
becky-gilbert wants to merge 10 commits intodevelopfrom
admin-review-qol

Conversation

@becky-gilbert
Copy link
Copy Markdown
Contributor

@becky-gilbert becky-gilbert commented Mar 30, 2026

Fixes #1254, fixes #1862, fixes #1834, fixes #1718

This PR does the following:

  • Adds superuser-only search/filter options to the Manage Studies page. These will apply on top of the tab filters (all, my studies, submitted etc.) so you need to make sure that you're in the appropriate tab when using these search/filter elements.

    • Study UUID
    • Lab name
    • Study type (all, Lookit, jsPsych, external)
    • Public (all, true, false)
    • Study creator name/email
  • Adds a submission history filter for Submitted studies. These options are only displayed in the Submitted tab.

    • first submission
    • previously rejected (and never approved)
    • previously approved
    • other (should always be empty, but included in case of weird edge cases)
  • Fixes an issue with the study status change date, where older studies would have an N/A value because this field was added to the database but never back-filled for existing studies. I think this will fix the problem with sorting not working on the status change date (Study Review QOL: last status change sort not working? #1862).

  • Displays the researcher's email address in the list of researchers with study access on the study details page. This makes it easier to find the researcher(s) associated with a particular study.

  • Adds tests for the study's submission date, the study's status change date, the Manage Studies view, and researcher permissions on the Manage Studies page.

Study details page, all users:

Screenshot 2026-04-02 at 2 02 18 PM

Manage studies, superuser views:

Screenshot 2026-03-30 at 1 56 31 PM Screenshot 2026-04-01 at 2 06 47 PM Screenshot 2026-04-01 at 2 07 02 PM

Manage studies, researcher view:

Screenshot 2026-04-01 at 2 39 37 PM

@becky-gilbert becky-gilbert self-assigned this Mar 30, 2026
@becky-gilbert becky-gilbert added Staff [Audience] Users of Lookit who are involved in platform management Feature [Work Type] Adding new functionality to the platform labels Mar 30, 2026
…submission, previously rejected, previously approved, other
…use study log to get the date when study object status_change_date is null (older studies)
@becky-gilbert becky-gilbert requested a review from mekline April 1, 2026 21:46
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 2, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature [Work Type] Adding new functionality to the platform Staff [Audience] Users of Lookit who are involved in platform management

Projects

None yet

1 participant