[MICROBA-485] Added support API and model for hiding the demographics CTA
The Demographics CTA is used to ask users to respond to the optional questions. This API and model support the API being dismissed by the user so they are not bothered by it.
Showing
- openedx/core/djangoapps/demographics/admin.py 21 additions, 0 deletionsopenedx/core/djangoapps/demographics/admin.py
- openedx/core/djangoapps/demographics/api/status.py 12 additions, 0 deletionsopenedx/core/djangoapps/demographics/api/status.py
- openedx/core/djangoapps/demographics/migrations/0001_initial.py 55 additions, 0 deletions...x/core/djangoapps/demographics/migrations/0001_initial.py
- openedx/core/djangoapps/demographics/migrations/__init__.py 0 additions, 0 deletionsopenedx/core/djangoapps/demographics/migrations/__init__.py
- openedx/core/djangoapps/demographics/models.py 24 additions, 0 deletionsopenedx/core/djangoapps/demographics/models.py
- openedx/core/djangoapps/demographics/rest_api/v1/urls.py 1 addition, 0 deletionsopenedx/core/djangoapps/demographics/rest_api/v1/urls.py
- openedx/core/djangoapps/demographics/rest_api/v1/views.py 35 additions, 7 deletionsopenedx/core/djangoapps/demographics/rest_api/v1/views.py
- openedx/core/djangoapps/demographics/tests/factories.py 16 additions, 0 deletionsopenedx/core/djangoapps/demographics/tests/factories.py
- openedx/core/djangoapps/demographics/tests/test_status.py 32 additions, 1 deletionopenedx/core/djangoapps/demographics/tests/test_status.py
- themes/edx.org/lms/static/js/demographics-collection.js 23 additions, 0 deletionsthemes/edx.org/lms/static/js/demographics-collection.js
- themes/edx.org/lms/static/sass/partials/lms/theme/_dashboard.scss 36 additions, 1 deletion...dx.org/lms/static/sass/partials/lms/theme/_dashboard.scss
- themes/edx.org/lms/templates/dashboard.html 25 additions, 9 deletionsthemes/edx.org/lms/templates/dashboard.html
Loading
Please register or sign in to comment