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

Not possible to see full course name in upcoming events course block

XMLWordPrintable

    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-79701-402
    • MDL-79701-403
    • MDL-79701-main
    • Hide

      For this test, you needing editing access in a course.

      1. Create an assignment activity with the following information:
        • Name: Assignment 1 with a very long name: Part 1 of 1
        • Due date: 5 days in the future
      2. Create another assignment activity with the following information:
        • Name: Assignment 1 with a very long name: Part 1 of 2
        • Due date: 7 days in the future
      3. Add the upcoming events block into the course.
      4. Check that these two assignment activities are listed in the upcoming events block, with their names truncated.
        Something like "Assignment 1 with a very lo...".
      5. Hover on the truncated names of these activities in the upcoming block and you should see the full name/title in the tooltip.
      Show
      For this test, you needing editing access in a course. Create an assignment activity with the following information: Name: Assignment 1 with a very long name: Part 1 of 1 Due date: 5 days in the future Create another assignment activity with the following information: Name: Assignment 1 with a very long name: Part 1 of 2 Due date: 7 days in the future Add the upcoming events block into the course. Check that these two assignment activities are listed in the upcoming events block, with their names truncated. Something like "Assignment 1 with a very lo...". Hover on the truncated names of these activities in the upcoming block and you should see the full name/title in the tooltip.

      The upcoming events block truncates long activity names / action strings without even providing a tool-tip for the user, so they cannot easily check what the link is prompting them to do. This was truncated when the block had a makeover in MDL-73908, but there was some loss of functionality because the lack of title attribute means there is no way to see the full name on the page, you must click through.

      To address this regression in a way that can be backported and still follows an established pattern, we should introduce a title attribute (which will allow users to hover to see the full title). 

      We can further improve what is displayed by default to reduce the change that hovering is required, but that UI change will be considered an improvement, so is covered by a separate issue - see MDL-80276.

       

        1. (1) Passed -- (Main)MDL-79701.png
          38 kB
          Kim Jared Lucas
        2. 2023-10-13 , 10_38_47 - Course_ Activity examples _ Moodle QA Testing Site — Mozilla Firefox.png
          131 kB
          Przemek Kaszubski
        3. timelineblock_current.png
          31 kB
          Sara Arjona (@sarjona)
        4. upcoming events block pre 4.0.png
          17 kB
          Helen Foster

            rjnl Rajneel Totaram
            pmk Przemek Kaszubski
            Meirza Meirza
            Huong Nguyen Huong Nguyen
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h

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