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

Group Overview - Hover group description not working properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8.8, 2.9.2
    • 2.7.4, 2.7.8, 2.8.2, 2.8.6, 2.9, 3.0
    • Groups
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • Hide

      Procedure

      1. Create a Course
      2. Enrol students
      3. Under "Course Administration", select Users ► Groups
      4. Create 2 or more groups. Be sure to enter something in the "Group description" text area.
      5. After creating the groups, click on the Groupings tab.
      6. Create 2 or more groupings.
      7. On one of the created groupings, click on the "Show groups in grouping" icon.
      8. Add 1 or more groups in the selected grouping.
      9. Click the "Back to groupings" button and do the previous 2 steps for each of the other groupings. Make sure to add at least one group into 2 or more groupings.
      10. After adding the groups into their respective groupings, click on the "Overview" tab.
      11. Hover on the group names for each of the grouping entries.

      Expected Results

      1. The group description of the group that is currently being hovered-on should be displayed.
      2. If a group is associated with two or more groupings, its group description should still be shown when the mouse hovers on its group name in the other groupings.
      Show
      Procedure Create a Course Enrol students Under "Course Administration", select Users ► Groups Create 2 or more groups. Be sure to enter something in the "Group description" text area. After creating the groups, click on the Groupings tab. Create 2 or more groupings. On one of the created groupings, click on the "Show groups in grouping" icon. Add 1 or more groups in the selected grouping. Click the "Back to groupings" button and do the previous 2 steps for each of the other groupings. Make sure to add at least one group into 2 or more groupings. After adding the groups into their respective groupings, click on the "Overview" tab. Hover on the group names for each of the grouping entries. Expected Results The group description of the group that is currently being hovered-on should be displayed. If a group is associated with two or more groupings, its group description should still be shown when the mouse hovers on its group name in the other groupings.

      Scenario:
      In a course exist multiple groups and groupings.
      A group is associated to more than one gouping (see screenshot group_overview).
      In the overview page, when hovering a group name, usually the description in displayed (see screenshot group_overview_hover).

      Problem:
      In this case, however, when the group is displayed in the second grouping the description is not displayed a second time (see screenshot group_overview_no_hover)

      Cause:
      The groups are defined via id's
      <span id="group_3962">Tutoren</span>

      and the description hover is referenced by those id's
      M.core_group.init_hover_events(Y, {"group_3962":"<div class=\"no-overflow\"><p>Alle ****-Tutorinnen und -Tutoren.<\/p>

      In HTML id's are unique and cannot be referenced multiple times

      Proposal consideration:

      • work with classes instead of of id's

            andrew_dc_hancox Andrew Hancox
            kosswa Kathrin Osswald
            Jun Pataleta Jun Pataleta
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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