-
-
Notifications
You must be signed in to change notification settings - Fork 10
Added checkbox for terms and conditions #802
Conversation
await queryInterface.addColumn(`Groups`, 'termsAndConditionsAcceptedAt', { | ||
allowNull: false, | ||
type: DataTypes.DATE, | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
problem: this needs to be a User property, not a Group property.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, what if one user creates multiple groups?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fine. In that case they have already accepted the Terms & Conditions. They apply to humans, not to groups. Groups are legally represented by humans, so the humans have to accept the terms.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for explanation! I'll work on change and create new PR
className="cursor-pointer text-blue-500" | ||
onClick={() => setShowTermsAndCond(true)} | ||
> | ||
I accept terms and conditions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: use CSS to add spacing, not content.
Closing in favour of #844 |
Added checkbox for terms and conditions
Prompting window with terms and conditions text
Sending time when it's checked to backend and storing it in postgres
(WIP) Missing terms and conditions text!
See #714