-
- Downloads
[IMP] survey: improve sessions usability and design
PURPOSE
Improve the various sessions flow to make it easier for attendees to reach the
session and to allow better interactions between the host and his audience.
This comes with small usability improvements as well as increased
"beautifulness" by using custom layouts & animations.
SPECS
General specifications, see sub-commits for details.
- Currently, the "short link" feature is good but it still needs to be improved
with the following points:
- Make the default "code" shorter (4) and digit only.
- Allow to customize the "code"
- Check for potential collisions
- When attendees reach the survey through the code, they need to land on the
"waiting screen" even if the session is not started yet. This will allow the
host to show the survey link even if he forgets to click on "start session"
first.
- Reduce the fade out / fade in delay when moving from one question to another.
It's currently 2 seconds, change it to 1 second.
Right now the delay gives a "slowness" impression.
- Display matrix choices on the host screen.
It will allow attendees that are not participating to have more context.
- Add python test/tours to test the survey session flow from the host point of view
- Improve survey form navigation (moved buttons, added keyboard navigation)
- Auto submit questions and matrix with simple choice
DESIGN TWEAKS
Slightly improve the survey form by adding a few cosmetic changes,
notably:
- Add/reduce some margins/paddings
- Adjust colors/font-weight
- Adjust heights
- Change some icons by more fitting replacements
- Center matrix choices
- Move survey progression to bottom-right
- Remove ugly jumbotrons
- Hide survey title in page_per_question layout
- When there are 5 or less option for simple_choice or multiple_choice
questions, display the options vertically.
- Only show the textarea for the "comment answer" if the user clicks on the
related option.
LINKS
Upgrade PR odoo/upgrade#897
Task 2208574
closes odoo/odoo#46768
Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
Showing
- addons/survey/controllers/main.py 38 additions, 54 deletionsaddons/survey/controllers/main.py
- addons/survey/controllers/survey_session_manage.py 73 additions, 7 deletionsaddons/survey/controllers/survey_session_manage.py
- addons/survey/data/survey_demo_certification.xml 1 addition, 0 deletionsaddons/survey/data/survey_demo_certification.xml
- addons/survey/models/survey_survey.py 88 additions, 14 deletionsaddons/survey/models/survey_survey.py
- addons/survey/static/src/js/survey_form.js 73 additions, 16 deletionsaddons/survey/static/src/js/survey_form.js
- addons/survey/static/src/js/survey_quick_access.js 4 additions, 2 deletionsaddons/survey/static/src/js/survey_quick_access.js
- addons/survey/static/src/js/survey_session_manage.js 6 additions, 4 deletionsaddons/survey/static/src/js/survey_session_manage.js
- addons/survey/static/src/scss/survey_form.scss 97 additions, 37 deletionsaddons/survey/static/src/scss/survey_form.scss
- addons/survey/static/tests/tours/survey_session_manage_test.js 19 additions, 0 deletions...s/survey/static/tests/tours/survey_session_manage_test.js
- addons/survey/static/tests/tours/survey_tour_session_create.js 20 additions, 0 deletions...s/survey/static/tests/tours/survey_tour_session_create.js
- addons/survey/static/tests/tours/survey_tour_session_manage.js 440 additions, 0 deletions...s/survey/static/tests/tours/survey_tour_session_manage.js
- addons/survey/static/tests/tours/survey_tour_session_start.js 32 additions, 0 deletions...ns/survey/static/tests/tours/survey_tour_session_start.js
- addons/survey/static/tests/tours/survey_tour_session_tools.js 21 additions, 0 deletions...ns/survey/static/tests/tours/survey_tour_session_tools.js
- addons/survey/tests/__init__.py 1 addition, 0 deletionsaddons/survey/tests/__init__.py
- addons/survey/tests/test_survey_ui_session.py 210 additions, 0 deletionsaddons/survey/tests/test_survey_ui_session.py
- addons/survey/views/assets.xml 5 additions, 0 deletionsaddons/survey/views/assets.xml
- addons/survey/views/survey_survey_views.xml 10 additions, 2 deletionsaddons/survey/views/survey_survey_views.xml
- addons/survey/views/survey_templates.xml 118 additions, 111 deletionsaddons/survey/views/survey_templates.xml
- addons/survey/views/survey_templates_management.xml 17 additions, 6 deletionsaddons/survey/views/survey_templates_management.xml
- addons/survey/views/survey_templates_print.xml 2 additions, 2 deletionsaddons/survey/views/survey_templates_print.xml
Loading
Please register or sign in to comment