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

Feature/participant urls #61

Merged
merged 20 commits into from
Jan 30, 2024
Merged

Feature/participant urls #61

merged 20 commits into from
Jan 30, 2024

Conversation

buckhalt
Copy link
Member

@buckhalt buckhalt commented Jan 25, 2024

#58 removed the "active" protocol concept. This also removed the ability to simply generate a participant URL without also having a protocol ID.

This PR adds back in the ability to generate participation URLs for participants/protocols.

Features:

  • Ability to generate and export an anonymous recruitment URL (if enabled) for each protocol:
    • Within the anonymous recruitment section
    • From a column on the protocols table
  • Ability to generate a CSV containing participation URLs
    • From the protocols view: select protocol, select participants (defaults to all), export csv
    • From the participants view: select protocol, export csv
  • Ability to generate a single participation url for each participant on the table. Can select the protocol from a dropdown on a modal

Copy link

vercel bot commented Jan 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fresco ✅ Ready (Inspect) Visit Preview 6 resolved Jan 30, 2024 0:54am

ected

defaults to all. displays number of selected if not all
modal on participants view will be replaced with its own section
on participants view. replaced button with modal
button triggers a modal with protocol selection. once selected, the url is immediately coppied to the clipboard with a toast to let the user know that this has happened
clickable badge with url and copy button. toasts on copy success
truncate url, make entire badge component appear clickable to user using cursor pointer
improve file naming of export participation urls exported file. improve component file naming to differentiate bt export participant list and export participation urls functionalities
replaces content in anon recruitment section. modal triggered by
 button in the section. disabled if anon recruitment is disabled
@buckhalt buckhalt marked this pull request as ready for review January 29, 2024 18:55
Copy link
Member

@jthrilly jthrilly left a comment

Choose a reason for hiding this comment

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

Implementation not reviewed in any depth, but the UX is great. Nice work on these changes.

@jthrilly jthrilly merged commit da41553 into main Jan 30, 2024
5 checks passed
@jthrilly jthrilly deleted the feature/participant-urls branch April 5, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants