Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Implement the RS01 consent content #529

Merged
merged 20 commits into from
Apr 12, 2021

Conversation

hamilton
Copy link
Contributor

@hamilton hamilton commented Apr 5, 2021

Closes #527, closes #530, closes #537

This PR:

  1. implements the consent component for RS01 (run npm run storybook and check the flow story by clicking on the "join study" button)
  2. creates a small switching mechanism to key b/t the princeton irb, the rs01 consent, and a generic consent component (see the same story as 1.). This is also verifiable in the storybook
  3. renames the fields for the StudyCard component, and expects them from RS
  4. adds a small parseDateIfNeeded function in the frontend as a workaround since we don't parse RS dates in the bg script

@hamilton hamilton changed the title [WIP] RS01 Consent [WIP] Implement the RS01 consent content Apr 6, 2021
@hamilton hamilton self-assigned this Apr 8, 2021
@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

export default {
module.exports = {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was required to make storybook work again.

@hamilton hamilton requested a review from rhelmer April 9, 2021 23:49
@hamilton hamilton changed the title [WIP] Implement the RS01 consent content Implement the RS01 consent content Apr 9, 2021
Copy link
Contributor

@rhelmer rhelmer left a comment

Choose a reason for hiding this comment

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

OK I've been testing this locally and lgtm, I tried dropping in https://github.com/mozilla-rally/study-remote-settings/pull/1 to locally-available-studies (with the URL modified to point to the latest RS01 on AMO) and it seems to be working fine.

@hamilton hamilton merged commit c4dc6f8 into mozilla-rally:master Apr 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants