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

Change the display of the event names of the items on the timeline block

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-72543-master
    • Hide

      Pre requisites

      1. A course with a student enrolled.
      2. A third-party activity plugin that creates action events, for example mod_questionnaire

      Setup

      1. Log in as admin and go to the course.
      2. Add one activity of each type, enabling and setting the dates (under Availability section):
        • Assignment
        • Choice
        • Database
        • Feedback
        • Forum
        • Lesson
        • Quiz
        • Scorm
        • Workshop
        • Questionnaire
          Note: Quiz module has the open/close dates under Timing section in settings.

      Testing

      1. Log in as student and go to the Dashboard.
      2. In the Timeline block, go through each activity making sure:
        • The link to the activity displays only the title.
        • On the line below, it should display the Course name followed by the activity type and the event type language string, eg: Course 1 · Feedback closes
        • Only Questionnaire module should display the event lang string "requires action", eg. Course 1 · Questionnaire requires action
      3. Change the view to Sort by courses.
      4. Make sure it does not display the course name on the second line (below the activity link) eg Workshop deadline for submissions, Assignment is due .
      Show
      Pre requisites A course with a student enrolled. A third-party activity plugin that creates action events, for example mod_questionnaire Setup Log in as admin and go to the course. Add one activity of each type, enabling and setting the dates (under Availability section): Assignment Choice Database Feedback Forum Lesson Quiz Scorm Workshop Questionnaire Note : Quiz module has the open/close dates under Timing section in settings. Testing Log in as student and go to the Dashboard . In the Timeline block, go through each activity  making sure : The link to the activity displays only the title. On the line below, it should display the Course name followed by the activity type and the event type language string, eg: Course 1 · Feedback closes Only Questionnaire module should display the event lang string "requires action", eg.  Course 1 · Questionnaire requires action Change the view to Sort by courses . Make sure it does not display the course name on the second line (below the activity link) eg Workshop deadline for submissions , Assignment is due .
    • 4
    • HQ Team International Sprint 9, HQ Team International Sprin 10

      Currently, we use the calendar event name of the items in the calendar block. Having the whole event name in a link is a bit hard to read.

      In order to further improve the readability of timeline block items, we need to update the layout as follows:

      1. The link of the timeline block item should only contain the activity name (eg "Organic Chemistry Lab Report").
      2. The item description will be displayed on the line below via a generic string depending on the event type and activity, in the following format for dates view:

        <course name> · <activity type> <event action>

        For example, an item relating to an assignment being due in the "Chemistry 101" course, would be shown as:

        Chemistry 101 · Assignment is due

      3. This will look similar to the following (replacing the colon shown in the prototype with the space and dot described above):
      4. In courses view, the second line does not need to include the course name, so will use the following format:

        <activity type> <event action>

      5. The courses view will look as follows:
      6. In both views, the second line (course/event info) should be truncated (with ellipses)  when it is too long, with a tooltip or similar showing the whole contents of that line when hovered over.

            lameze Simey Lameze
            jpataleta Jun Pataleta
            Michael Hawkins Michael Hawkins
            Adrian Greeve Adrian Greeve
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 2 hours, 52 minutes
                1w 2h 52m

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