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

Administration: Use toggle for Plugin Management Table

XMLWordPrintable

    • Any
    • MOODLE_405_STABLE
    • MOODLE_405_STABLE
    • main_MDL-82141
    • Hide

      The testing instructions are mostly a clone of MDL-76867. There is also automated testing of the features.

      These tests cover the following pages under Site administration -> Plugins

      1. Activites -> Manage activities
      2. Blocks -> Manage blocks
      3. Text editors -> Manage editors
      4. Text editors -> TinyMCE -> General settings
      5. Media Players -> Manage media players

      These tests need to be completed for each of the areas under coverage (defined above):

      1. Log in as admin
      2. Navigate to the relevant page
        1. Confirm that plugins are listed without error
      3. Where there is an "Enabled" or "disabled" Toggle, try pressing it
        1. Confirm it has the intended result
      4. Toggle again
        1. Confirm it has the intended result
      5. Where there is a "Up/Down" button, try the behaviour
        1. Confirm that you cannot move an item above the top
        2. Confirm that you cannot move an item below the bottom
        3. Confirm that you cannot move an item below the bottom of the list of enabled plugins

       

      Show
      The testing instructions are mostly a clone of MDL-76867 . There is also automated testing of the features. These tests cover the following pages under Site administration -> Plugins Activites -> Manage activities Blocks -> Manage blocks Text editors -> Manage editors Text editors -> TinyMCE -> General settings Media Players -> Manage media players These tests need to be completed for each of the areas under coverage (defined above): Log in as admin Navigate to the relevant page Confirm that plugins are listed without error Where there is an "Enabled" or "disabled" Toggle, try pressing it Confirm it has the intended result Toggle again Confirm it has the intended result Where there is a "Up/Down" button, try the behaviour Confirm that you cannot move an item above the top Confirm that you cannot move an item below the bottom Confirm that you cannot move an item below the bottom of the list of enabled plugins  
    • 1
    • Team Hedgehog 2024 Sprint 2.2

      Replace the current "eye" icon for enabling and disabling plugins in tables that use the Plugin Management Table (plugin_management_table) class with the Font Awesome "toggle" icon.

      The toggle icon is better UX for disabling and enabling plugins. The eye icon is more suited for showing and hiding. The toggle icon is also being used in used interfaces (SMS: MDL-81732, AI: MDL-80889).

      This is the most centralised place currently for settings tables. As mentioned in MDL-76867 there are more places that the tables need to be refactored to use this new method. Updating other tables that do't use this class is out of scope of this issue.

      As part of this work a new behat step has been introduced, specifically for admin switch toggling. This new step better describes the action of what you're doing in the UI (more business analyst-compatible) rather than the mechanics of how that happens (more developer focused).

      The step: I toggle the "<name>" admin switch "<state>"

      Also the non-JS Behat tests for this functionality have been removed, as toggles need JS.

            matt.porritt@moodle.com Matt Porritt
            matt.porritt@moodle.com Matt Porritt
            Huong Nguyen Huong Nguyen
            Ilya Tregubov Ilya Tregubov
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 25 minutes
                5h 25m

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