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

AI: Move sparkles icons to core

XMLWordPrintable

    • MOODLE_405_STABLE
    • MDL-83222-main
    • Hide

      Setup

      1. Log in as admin
      2. Go to Site admin -> AI -> Manage settings for AI providers
      3. Enable 'OpenAI API Provider'
      4. Click the 'Settings' link for 'OpenAI API Provider'
      5. Enter in a valid 'OpenAI API key' and 'OpenAI organization ID' and save changes.
      6. Ensure all provider actions are enabled (Generate text, generate image and summarise text).
      7. Go to Site admin -> AI -> Manage settings for AI placements
      8. Ensure both 'Course assistance placement' and 'HTML Text Editor Placement' are enabled.

      Test scenario

      1. Create a course.
      2. Create a 'Page' resource.
      3. On the 'Page' settings page, locate the TinyMCE editor for the 'Content' section.
      4. CONFIRM that you can see the 'sparkles' icon in the toolbar.
      5. Click cancel.
      6. Fill out the mandatory fields for the 'Page' resource and click 'Save and display'.
      7. CONFIRM that the black 'sparkles' icon is visible on the 'Summarise' button.
      8. Mouse-over the 'Summarise' button.
      9. CONFIRM that the white 'sparkles' icon is toggled.
      10. Click on the 'Summarise' button.
      11. CONFIRM you can see the 'sparkles' icon text to the words 'Generated by AI'.
      Show
      Setup Log in as admin Go to Site admin -> AI -> Manage settings for AI providers Enable 'OpenAI API Provider' Click the 'Settings' link for 'OpenAI API Provider' Enter in a valid 'OpenAI API key' and 'OpenAI organization ID' and save changes. Ensure all provider actions are enabled (Generate text, generate image and summarise text). Go to Site admin -> AI -> Manage settings for AI placements Ensure both 'Course assistance placement' and 'HTML Text Editor Placement' are enabled. Test scenario Create a course. Create a 'Page' resource. On the 'Page' settings page, locate the TinyMCE editor for the 'Content' section. CONFIRM that you can see the 'sparkles' icon in the toolbar. Click cancel. Fill out the mandatory fields for the 'Page' resource and click 'Save and display'. CONFIRM that the black 'sparkles' icon is visible on the 'Summarise' button. Mouse-over the 'Summarise' button. CONFIRM that the white 'sparkles' icon is toggled. Click on the 'Summarise' button. CONFIRM you can see the 'sparkles' icon text to the words 'Generated by AI'.
    • 1
    • Team Hedgehog 2024 Sprint 3.3

      Currently, the TinyMCE aiplacement plugin and Course assistance have the same sparkles icons at their own location.

      We should move those icons to core_ai so we can reuse them.

            david.woloszyn@moodle.com David Woloszyn
            huongn@moodle.com Huong Nguyen
            Stevani Andolo Stevani Andolo
            Huong Nguyen Huong Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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