Convert terms of service to Vue and add max height
What does this MR do and why?
Related to #22139 (closed)
Converts the terms of service to Vue and requires user to scroll to the bottom before Accept
button becomes enabled.
Screenshots or screen recordings
Before | After |
---|---|
Untitled__2_ | Untitled__1_ |
TOS longer than page | TOS shorter than page |
---|---|
How to set up and validate locally
- Enable the
terms_of_service_vue
feature flag.bin/rails console
Feature.enable(:terms_of_service_vue)
- Login as an admin (
root
user in GDK). - Navigate to
/admin/application_settings/general
. - In the
Terms of Service and Privacy Policy
panel check theAll users must accept the Terms of Service and Privacy Policy to access GitLab
checkbox and enter some text in the text area. Save the form. - Navigate to
/admin/users
and choose a user. - Click
Impersonate
in the upper right corner.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Peter Hegman