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

Expand inplace_editable to cater for toggle and selects

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1
    • 3.1
    • JavaScript
    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • wip-MDL-53172-master
    • Hide

      This issue only adds functionality but there are no usages of it yet.

      To check for regressions make sure that course section names are editable in-place and so are tag names on "Manage tags" page.

      1. Pick the last commit from branch
      2. Go to Site administration>Appearance>Manage tags
      3. Make sure you can enable/disable each tag area (this is "toggle" inplace editable)
      4. Make sure after each change the table row becomes dimmed/not dimmed (this is testing js events observing)
      5. Make sure you can change the "standard tags use" for each tag area (this is "select" inplace editable)
      6. Create new tag collection
      7. Make sure that you can now select tag collection for each tag area (again, "select")

      Test in both clean and base themes

      Show
      This issue only adds functionality but there are no usages of it yet. To check for regressions make sure that course section names are editable in-place and so are tag names on "Manage tags" page. Pick the last commit from branch Go to Site administration>Appearance>Manage tags Make sure you can enable/disable each tag area (this is "toggle" inplace editable) Make sure after each change the table row becomes dimmed/not dimmed (this is testing js events observing) Make sure you can change the "standard tags use" for each tag area (this is "select" inplace editable) Create new tag collection Make sure that you can now select tag collection for each tag area (again, "select") Test in both clean and base themes

      Add input type to the inplace_editable element (default text as it is now)
      other options (to start with):

      • toggle
      • dropdown

      Other changes to the existing element in this issue:

      • add loading spinner during update
      • fixed bug with 'updated' trigger not working after the first time
      • if the text/select element does not have a link in display value, make the whole element clickable

            marina Marina Glancy
            marina Marina Glancy
            Andrew Lyons Andrew Lyons
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Simey Lameze Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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