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

Remove "active" protocol concept #58

Merged
merged 7 commits into from
Jan 23, 2024
Merged

Conversation

jthrilly
Copy link
Member

@jthrilly jthrilly commented Jan 22, 2024

This PR removes the active property of protocols to simplify some aspects of the app workflow. In particular, this enables a better flow for starting an interview.

Towards this, I implemented a route handler at /onboard/[protocolId] which accepts either POST or GET requests, which can optionally specify a participantID (with the tRPC route for creating a new interview record handling situations where no participant ID has been passed by checking if anonymous recruitment is enabled).

I added a test section to the dashboard that allows onboarding strategies to be explored.

Copy link

vercel bot commented Jan 22, 2024

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

Name Status Preview Comments Updated (UTC)
fresco ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2024 2:15pm

@jthrilly jthrilly changed the title work in progress for removing active protocol concept Remove "active" protocol concept Jan 23, 2024
@jthrilly jthrilly merged commit ea51526 into main Jan 23, 2024
3 checks passed
Copy link
Collaborator

@mrkarimoff mrkarimoff left a comment

Choose a reason for hiding this comment

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

I can see that it simplified the app to a great degree, flawless code! 🎊

@buckhalt buckhalt mentioned this pull request Jan 29, 2024
@jthrilly jthrilly deleted the feature/no-active-protocol 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.

None yet

2 participants