Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@frankliuao
Copy link
Contributor

@frankliuao frankliuao commented May 23, 2024

Updating the register form so its asks the user to agree to our DUA when submitting the form. Previously, the form only states that the user is submitting it.

Link to JIRA ticket if there is one:
https://ctds-planx.atlassian.net/browse/MIDRC-754

New Features

Breaking Changes

Bug Fixes

Improvements

Dependency updates

Deployment changes

<form method="post">

<h1 class="introduction">Register in order to get access to download data</h1>
<h1 class="introduction">Register* in order to get access to download data</h1>
Copy link
Contributor

Choose a reason for hiding this comment

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

why the asterisk?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

A comment to register.
Comment in <p>.

Copy link
Contributor

@paulineribeyre paulineribeyre May 23, 2024

Choose a reason for hiding this comment

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

asterisks make sense when they refer to something else - the paragraph would need to start with an asterisk as well

but here i don't think it's necessary at all, the text is right next to the submit button and visible enough

although it might be better above the button? so you read it before you click submit

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. Edited.

@frankliuao frankliuao force-pushed the ao-powered-edit-register-html branch from 658a3c9 to aba6f46 Compare May 23, 2024 17:59
@frankliuao frankliuao requested a review from paulineribeyre May 23, 2024 18:00
</li>
</ul>
<button class="button-primary-orange" type="submit">Register</button>
<p>By registering and submitting this form, you hereby acknowledge and consent to be bound by our terms and conditions, and our data use agreement (DUA), both of which can be found on our main website, or on our <a href="/dashboard/Public/documentation/DUA.html">data access portal</a>. </p>
Copy link
Contributor

Choose a reason for hiding this comment

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

can we link directly to the terms and conditions as well? i don't see where the link is on the portal

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Some terms and conditions are on our main website (www.midrc.org) so it's hard to find a generic url for it. It'll add MIDRC-specific contents to this page which is what I'm trying to avoid. I just checked and I think DUA itself is fine. I've modified it so it only says DUA.

@paulineribeyre paulineribeyre self-requested a review February 27, 2025 17:38
paulineribeyre added a commit that referenced this pull request Jul 30, 2025
@nss10 nss10 closed this in #1286 Aug 28, 2025
nss10 added a commit that referenced this pull request Aug 28, 2025
* Fix REGISTERED_USERS_GROUP logic

* add registration flow to fence login

* fix old registration tests

* fix unit tests

* refactor login_user function

* update doc

* update registration page (#1149)

* test post_registration_redirect in all idps

* change audit back - flask.g.user should be there

---------

Co-authored-by: Sai Shanmukha <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants