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

AI: Placement action needs to check the status of provider action

XMLWordPrintable

    • MOODLE_405_STABLE
    • MOODLE_405_STABLE
    • MDL-83092-main
    • Hide

      Testing 1 - Admin

      1. Login as admin.
      2. Disable the OpenAI API Provider.
      3. Enabled the HTML Text Editor placement.
      4. Click Settings for HTML Text Editor placement.
      5. Verify that you will see: "This action is unavailable. No providers are configured for this action" For each action in the table.
      6. Enable the OpenAI API Provider.
      7. Click Settings for HTML Text Editor placement.
      8. Verify that you DO NOT see: "This action is unavailable. No providers are configured for this action" For each action in the table.
      9. In the OpenAI API Provider settings, disable the "Generate text" provider action using the toggle.
      10. Click Settings for HTML Text Editor placement.
      11. Verify that you see: "This action is unavailable. No providers are configured for this action" For the Generate text action in the table.
      12. Verify that you DO NOT see: "This action is unavailable. No providers are configured for this action" For the Generate Image action in the table.

      Testing 2 - Text editor

      1. Login as admin.
      2. Enable the OpenAI API Provider.
      3. In the OpenAI API Provider settings, disable the "Generate text" provider action using the toggle.
      4. Edit your profile.
      5. Verify That in the TinyMCE editor toolbar the only AI option is the AI generate image button
      6. In the OpenAI API Provider settings, enable the "Generate text" provider action using the toggle.
      7. In the OpenAI API Provider settings, disable the "Generate image" provider action using the toggle.
      8. Edit your profile.
      9. Verify That in the TinyMCE editor toolbar the only AI option is the AI generate text button

       

      Show
      Testing 1 - Admin Login as admin. Disable the OpenAI API Provider. Enabled the HTML Text Editor placement. Click Settings for HTML Text Editor placement. Verify that you will see: "This action is unavailable. No providers are configured for this action" For each action in the table. Enable the OpenAI API Provider. Click Settings for HTML Text Editor placement. Verify that you DO NOT see: "This action is unavailable. No providers are configured for this action" For each action in the table. In the OpenAI API Provider settings, disable the "Generate text" provider action using the toggle. Click Settings for HTML Text Editor placement. Verify that you see: "This action is unavailable. No providers are configured for this action" For the Generate text action in the table. Verify that you DO NOT see: "This action is unavailable. No providers are configured for this action" For the Generate Image action in the table. Testing 2 - Text editor Login as admin. Enable the OpenAI API Provider. In the OpenAI API Provider settings, disable the "Generate text" provider action using the toggle. Edit your profile. Verify That in the TinyMCE editor toolbar the only AI option is the AI generate image button In the OpenAI API Provider settings, enable the "Generate text" provider action using the toggle. In the OpenAI API Provider settings, disable the "Generate image" provider action using the toggle. Edit your profile. Verify That in the TinyMCE editor toolbar the only AI option is the AI generate text button  
    • 1
    • Team Hedgehog 2024 Sprint 3.3

      At the moment,

      If we turn off the OpenAI provider (The only provider at the moment) and click on the Setting link for the HTML Editor placement It will say that This action is unavailable. No providers are configured for this action

      But if we enable the OpenAI provider but turn off all the actions inside Settings, clicking on the Setting link for the HTML Editor placement will show the action for placement.

      Which is not correct.

      The placement action need to check the status of the provider action

        1. disabled_text.png
          110 kB
          Matt Porritt
        2. MDL-83092-1.png
          308 kB
          Ron Carl Alfon Yu
        3. MDL-83092 - 2.png
          231 kB
          Ron Carl Alfon Yu

            matt.porritt@moodle.com Matt Porritt
            huongn@moodle.com Huong Nguyen
            David Woloszyn David Woloszyn
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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