Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83877

Question version drop down overlaps the question bank name pill in the Questions page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 5.0
    • 5.0
    • Quiz
    • MOODLE_500_STABLE
    • MOODLE_500_STABLE
    • Hide

      Pre-Checkout of branch:

      1. Create a course
      2. Create a question bank on the course with a long name, such as "This question bank has quite a long name I'm not sure why but here we are." 
      3. Add a question to this question bank of any type, with a long name, such as "This question also has a crazy long name, whose idea was this anyway?" And a long question text, such as "It also has a long description that just keeps going on and on. It never seems to stop. Surely this won't fit on the page?"
      4. Create a quiz on the course
      5. Add that question from the question bank
      6. View the list of questions on the quiz
      7. Confirm that the label overflows on the right, and the actions are all squashed, such as:

      Post-Checkout of branch

      1. Purge caches so new css is loaded
      2. Check the quiz questions page again and confirm the actions section is now formatted correctly and the labels are on a new line so as not to overflow, such as:
      Show
      Pre-Checkout of branch: Create a course Create a question bank on the course with a long name , such as "This question bank has quite a long name I'm not sure why but here we are."  Add a question to this question bank of any type, with a long name , such as "This question also has a crazy long name, whose idea was this anyway?" And a long question text , such as "It also has a long description that just keeps going on and on. It never seems to stop. Surely this won't fit on the page?" Create a quiz on the course Add that question from the question bank View the list of questions on the quiz Confirm that the label overflows on the right, and the actions are all squashed, such as: Post-Checkout of branch Purge caches so new css is loaded Check the quiz questions page again and confirm the actions section is now formatted correctly and the labels are on a new line so as not to overflow, such as:
    • Hide

      Code verified against automated checks.

      Checked MDL-83877 using repository: https://github.com/cwarwicker/moodle

      More information about this report

      Built on: Wed Jan 15 10:40:02 AM UTC 2025

      Show
      Code verified against automated checks. Checked MDL-83877 using repository: https://github.com/cwarwicker/moodle main (0 errors / 0 warnings) [branch: MDL-83877 | CI Job ] More information about this report Built on: Wed Jan 15 10:40:02 AM UTC 2025
    • Show
      Launching automatic jobs for branch MDL-83877 https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/17974/ PHPUnit (sqlsrv) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61323/ Behat (NonJS - boost and classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61324/ Behat (Firefox - boost) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61325/ Behat (Firefox - classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61326/ App tests (stable app version) Built on: Fri Jan 17 12:30:17 PM UTC 2025

      Discovered by a.bonaccorso while testing MDLQA-19835

      Depending on the length of the question text, the question bank name pill can be overlapped by the question version drop down in the Questions page in Quiz:

        1. step06_question_bank_pills_visible.png
          145 kB
          Simey Lameze
        2. 22aace27-eaf7-4cbe-8a39-c90931765075.png
          26 kB
          CMR
        3. image-2025-01-15-10-03-05-494.png
          23 kB
          CMR
        4. image-2025-01-15-10-04-44-692.png
          22 kB
          CMR
        5. image-2025-01-15-16-16-07-492.png
          58 kB
          Mark Johnson
        6. Screenshot from 2025-01-15 16-14-27.png
          61 kB
          Mark Johnson
        7. image-2025-01-15-16-16-44-239.png
          61 kB
          Mark Johnson
        8. (1) 7 Passed -- (Main)MDL-83877.png
          70 kB
          Kim Jared Lucas
        9. (2) 2 Passed -- (Main)MDL-83877.png
          69 kB
          Kim Jared Lucas

            cwarwicker CMR
            lameze Simey Lameze
            Mark Johnson Mark Johnson
            Tim Hunt Tim Hunt
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 40 minutes
                40m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.