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

Review tool_analytics and report_insights UI / UX

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Analytics
    • Labels:
    • Testing Instructions:
      Hide
      This issue is changing the UI, so it is worth to pay attention to anything that does not make sense

      You need:

      1. course without teacher
      2. course category without courses and course category with courses
      3. suspended user
      4. Install git clone git://github.com/dmonllao/moodle-local_testanalytics local/testanalytics
      If you already tested analytics issues and you want to discard possible problems (existing insights when the instructions state that any insight should appear) during testing you can install a new site
      1. Go to course/index.php?categoryid=(CATEGORYWITHOUTCOURSES) and expand admin menu
      2. You SHOULD NOT see any link to "Insights"
      3. Go to admin/tool/analytics/index.php
      4. Execute "Get predictions" for "Useless categories" model
        • You will need to disable the "onlycli" admin setting in order to see the "Get predictions" link in the action dropdown. The notification at the top of the analytics page will take you to the settings page.
      5. Go to course/index.php?categoryid=(CATEGORYWITHOUTCOURSES)
      6. You SHOULD see a link to "Insights"
      7. Go to admin/tool/analytics/index.php and disable Useless categories model
      8. You should see "Disabled model" in column "Insights" for all models with a "No" in "Enabled" column
      9. Go to course/index.php?categoryid=(CATEGORYWITHOUTCOURSES) and expand admin menu
      10. You SHOULD NOT see any link to "Insights"
      11. Go to admin/tool/analytics/index.php and enable Useless categories model
      12. Go to course/index.php?categoryid=(CATEGORYWITHOUTCOURSES)
      13. You SHOULD see a link to "Insights"
      14. Go to admin/tool/analytics/index.php
      15. Execute "Get predictions" action in the following models (enable them if they are not):
        • "No teaching"
        • "Binary"
        • "Undead users"
        • "Useless categories"
      16. Select "All predictions" in "No teaching" model
      17. You SHOULD see "No teaching" as the heading in the main region, "System" in the header and a navigation bar with "Site admininstration" > Reports > Insights
      18. Use the menu to select another insight (it should be binary example random calculation)
      19. You SHOULD see the pagination pages selector and you should be able to move between pages
      20. Click on Actions > View prediction details in one of the predictions
      21. You SHOULD see "System" in the header, the navbar SHOULD contain "Site administration" > "Reports" and "Insights" as the current page; also the main region SHOULD contain the name of the model, you SHOULD also see "Prediction details" and a new table below it containing just one element
        • If using boost insight's "Prediction" column should be colored and the "Prediction details" table as well
        • If using clean or more they should not be colors
      22. Switch to another theme (clean if using boost or boost if using clean) and check that colors are displayed (or not) as explain above
      23. Return to admin/tool/analytics/index.php
      24. Select one of the options in "Useless categories" model
      25. You SHOULD see the name of the category in the header, the navbar SHOULD contain the category name and "Insights" as the current page; also the main region SHOULD contain the name of the model and you SHOULD see one prediction; go to actions menu and click "View prediction details"
      26. You SHOULD see again the category name in the header and in the navbar and the insight name in a heading inside the main region of the page
      27. Return to admin/tool/analytics/index.php
      28. Select one of the options in "Undead users" model
      29. You SHOULD see the user name in the header, the navbar SHOULD contain the user name and "Insights" as the current page; also the main region SHOULD contain the name of the model and you SHOULD see one prediction; go to actions menu and click "View prediction details"
      30. You SHOULD see again the user name in the header and in the navbar and the insight name in a heading inside the main region of the page
      Show
      This issue is changing the UI, so it is worth to pay attention to anything that does not make sense You need: course without teacher course category without courses and course category with courses suspended user Install git clone git://github.com/dmonllao/moodle-local_testanalytics local/testanalytics If you already tested analytics issues and you want to discard possible problems (existing insights when the instructions state that any insight should appear) during testing you can install a new site Go to course/index.php?categoryid=(CATEGORYWITHOUTCOURSES) and expand admin menu You SHOULD NOT see any link to "Insights" Go to admin/tool/analytics/index.php Execute "Get predictions" for "Useless categories" model You will need to disable the "onlycli" admin setting in order to see the "Get predictions" link in the action dropdown. The notification at the top of the analytics page will take you to the settings page. Go to course/index.php?categoryid=(CATEGORYWITHOUTCOURSES) You SHOULD see a link to "Insights" Go to admin/tool/analytics/index.php and disable Useless categories model You should see "Disabled model" in column "Insights" for all models with a "No" in "Enabled" column Go to course/index.php?categoryid=(CATEGORYWITHOUTCOURSES) and expand admin menu You SHOULD NOT see any link to "Insights" Go to admin/tool/analytics/index.php and enable Useless categories model Go to course/index.php?categoryid=(CATEGORYWITHOUTCOURSES) You SHOULD see a link to "Insights" Go to admin/tool/analytics/index.php Execute "Get predictions" action in the following models (enable them if they are not): "No teaching" "Binary" "Undead users" "Useless categories" Select "All predictions" in "No teaching" model You SHOULD see "No teaching" as the heading in the main region, "System" in the header and a navigation bar with "Site admininstration" > Reports > Insights Use the menu to select another insight (it should be binary example random calculation) You SHOULD see the pagination pages selector and you should be able to move between pages Click on Actions > View prediction details in one of the predictions You SHOULD see "System" in the header, the navbar SHOULD contain "Site administration" > "Reports" and "Insights" as the current page; also the main region SHOULD contain the name of the model, you SHOULD also see "Prediction details" and a new table below it containing just one element If using boost insight's "Prediction" column should be colored and the "Prediction details" table as well If using clean or more they should not be colors Switch to another theme (clean if using boost or boost if using clean) and check that colors are displayed (or not) as explain above Return to admin/tool/analytics/index.php Select one of the options in "Useless categories" model You SHOULD see the name of the category in the header, the navbar SHOULD contain the category name and "Insights" as the current page; also the main region SHOULD contain the name of the model and you SHOULD see one prediction; go to actions menu and click "View prediction details" You SHOULD see again the category name in the header and in the navbar and the insight name in a heading inside the main region of the page Return to admin/tool/analytics/index.php Select one of the options in "Undead users" model You SHOULD see the user name in the header, the navbar SHOULD contain the user name and "Insights" as the current page; also the main region SHOULD contain the name of the model and you SHOULD see one prediction; go to actions menu and click "View prediction details" You SHOULD see again the user name in the header and in the navbar and the insight name in a heading inside the main region of the page
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-59153_master

      Description

      tool_models and report_insights UI has not passed UX team validation. I am pretty sure you will have some ideas about how to improve the current UI (Alberto Corado, Barbara Ramiro)

        Attachments

        1. insights-page.png
          68 kB
          David Monllaó
        2. inspire-models.png
          61 kB
          David Monllaó
        3. inspire-models-log.png
          64 kB
          David Monllaó
        4. inspire-prediction-details.png
          65 kB
          David Monllaó
        5. inspire-predictions.png
          66 kB
          David Monllaó
        6. prediction-details.png
          37 kB
          David Monllaó

          Issue Links

            Activity

              People

              Assignee:
              dmonllao David Monllaó
              Reporter:
              dmonllao David Monllaó
              Peer reviewer:
              Damyon Wiese
              Integrator:
              Dan Poltawski
              Tester:
              Ryan Wyllie
              Participants:
              Component watchers:
              Elizabeth Dalton, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17