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

Add a ‘Terms and ‘Conditions’ modal to the developer portal on first time login #220

Closed
HollyJoyPhillips opened this issue Feb 10, 2020 · 1 comment · Fixed by #241
Assignees
Labels
feature New feature or request front-end Relates to front end issues marketplace Relates to the Marketplace

Comments

@HollyJoyPhillips
Copy link
Contributor

Summary: As the registration link that currently contains the ‘Terms and Conditions’ will be hidden for Alpha, we need to add a terms and conditions modal to the developers portal which is only visible on first time login and when accepted stores a ‘Terms Accepted’ cookie

Location: https://dev.marketplace.reapit.cloud/

Task : To add a ‘Terms and Conditions’ modal on first time login to the developers portal

  • Should use same logic as the ‘Client’ portal terms and conditions
  • Should not be able to navigate away until accepted
  • ‘Accept’ is the only way to dismiss the modal
  • When accepted, should set a ‘Terms Accepted’ cookie with the value of the date and time it was accepted
  • Should not have an expiry date
  • Title: Terms and Conditions
  • Content: TBC

Flow for First time login:
Check for ‘Terms Accepted’ cookie > if the cookie is not present > display ‘Terms and Conditions’ modal > accept > set ‘Terms Accepted’ cookie and navigate to ‘Welcome Wizard’ (https://dev.marketplace.reapit.cloud/developer/welcome), go through the steps and click on ‘Get Started’ (step 5) > sets ‘reapit-first-login-complete’ cookie (this is already in place)

Second time login flow 1:
Check for ‘Terms Accepted’ cookie > if present > check for ‘reapit-first-login-cookie’, if not present > navigate to welcome wizard

Second time login flow 2:
Check for ‘Terms Accepted’ cookie, if present > check for ‘reapit-first-login-cookie > if present > navigate to ‘Apps’ (https://dev.marketplace.reapit.cloud/developer/apps)

See mock up:
image

@HollyJoyPhillips HollyJoyPhillips added feature New feature or request marketplace Relates to the Marketplace labels Feb 10, 2020
@vuhuucuong vuhuucuong self-assigned this Feb 11, 2020
vuhuucuong added a commit that referenced this issue Feb 12, 2020
vuhuucuong added a commit that referenced this issue Feb 12, 2020
@HollyJoyPhillips HollyJoyPhillips added the front-end Relates to front end issues label Feb 12, 2020
willmcvay pushed a commit that referenced this issue Feb 12, 2020
* feat: #220 terms and condition modal when dev first login dev portal

* feat: #220 update test badges

* feat: #220 update terms and conditions ui

* fix: #220 update badges
@HollyJoyPhillips
Copy link
Contributor Author

@vuhuucuong Works perfectly, thank you

nphivu414 pushed a commit that referenced this issue Apr 29, 2020
nphivu414 pushed a commit that referenced this issue Apr 29, 2020
* feat: #220 terms and condition modal when dev first login dev portal

* feat: #220 update test badges

* feat: #220 update terms and conditions ui

* fix: #220 update badges
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request front-end Relates to front end issues marketplace Relates to the Marketplace
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants