Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-37541

Lessons - "Add Question" - Poll results truncated in Show Poll



    • Bug
    • Status: Verified
    • Major
    • Resolution: Fixed
    • 11.4, 12.0
    • 11.5 [Tentative], 12.0
    • Lessons
    • None
    • Confirmed on 11.4 and Trunk (12.0 tentative)
    • Merged
    • Resolved
    • LSNBLDR-841



      When you "Add Question" to a Lessons page and provide long choice options, the text will be truncated within the "Show Poll" feature.

      Steps to replicate:

      1. Visit https://trunk-mysql.nightly.sakaiproject.org and create at least two accounts (one as instructor and one as student)
      2. As instructor, create a project site, add common tools, including Lessons.
      3. Go to the site and Lessons
      4. "Add Content" > "Add Question"
      5. Provide a question.  For example, "What is the generally accepted color of the sky on a cloudless day at the equator?"
      6. Provide several answer choices, such as "Black", "Red", "Blue", "Gray", "Super Awesomeness: Not really a color as much as a state of mind, really".
      7. Select "Show students a graph of how others responded after they answer the question"
      8. Click "Save"
      9. Click Show Poll

      This issue is that if you have more than 2 choices, the options will start to squeeze into the same amount of space and begin truncating the option text. Since the full text of the answers is still visible under the question, perhaps the shrinking and truncating were implemented to keep the graph small enough to display on a mobile device?

      I can see where a very long option would look awkward if it was wrapped vertically in a narrow column. A possible approach to address this would be to provide a number or letter before each choice and the graph displays just the number or letter of the selected options? If someone specifies 5 answer choices, then each option has its number in front, and below each column in the "Show Poll" results is the corresponding number?

      Gliffy Diagrams



            Issue Links



                  drramsey Derek Ramsey
                  alanregan Alan Regan
                  0 Vote for this issue
                  7 Start watching this issue



                    Git Integration