Commit Graph

7 Commits

Author SHA1 Message Date
Alejandro Cardenas
4b7ef2697e feat: add state sent to state column (#34127) 2024-01-30 15:14:14 -05:00
Asespinel
76330b36b0 feat: added setting to disable the survey report banner entirely (#34092)
* feat: added setting to disable the survey report banner entirely

* fix: fixed unit test with new setting

* refactor: changed conditions for better code readability

* feat: added exception to stop the report from generating if the setting is set to false

* chore: updated the readme file to include the new setting

* refactor: move survey settings to common and disable admin by setting

* docs: typos in README

Co-authored-by: Tim McCormack <tmccormack@edx.org>

* refactor: set default values to survey report settings

* refactor: rename ENABLE_SURVEY_REPORT setting to SURVEY_REPORT_ENABLE

* test: fix quality tests

---------

Co-authored-by: Alejandro Cardenas <alecar.main@gmail.com>
Co-authored-by: Tim McCormack <tmccormack@edx.org>
2024-01-30 12:29:09 -05:00
Brian Beggs
48d9f29cb9 Revert "refactor: changed survey report message location and added a new info…" 2024-01-24 17:26:08 -05:00
Asespinel
00630cf22d refactor: changed survey report message location and added a new info… (#34033)
* refactor: changed survey report message location and added a new informative sent state

* chore: added Generate and Send text on button

* chore: added comment to new state column and added reference to static jquery.

* fix: fixed non Attribute error when a report hasn't been sent yet
2024-01-16 16:25:05 -05:00
Alejandro Cardenas
674bf2a040 feat: add send survey report button (#31821)
* feat: add send report button

* fix: solve quality test issues

* feat: add admin action to send report

* style: fix pylint issues

* style: fix pylint issues

* fix: update openedx/features/survey_report/urls.py

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>

* refactor: rename selected variable and move actions variable

---------

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>
2023-03-07 09:32:44 -05:00
Alejandro Cardenas
045ae44184 feat: add generate report button in admin (#31429)
* feat: add generate report button in admin
2023-01-25 10:19:59 -05:00
Alejandro Cardenas
cd54e8b275 feat: add django admin page for survey report (#31323)
* feat: add django admin page for survey report

* fix: solve quality test errors

* feat: remove delete buttons and delete actions

* docs: add help_text to fields

* test: fix quality test issues

* docs: remove model form and add help_text in model

* feat: add migration to apply field changes
2022-11-30 12:22:46 -05:00