Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3454

Support disabling check available text filters in the app

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Tested
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.2
    • Fix Version/s: None
    • Component/s: Filters
    • Testing Instructions:
      Hide

      This issue only needs to be tested in 1 device. You will need to inspect network requests.

      1. In a 3.9 or master site as admin, enable MathJax filter.
      2. Create a page with MathJax. In master there is one already created in MM Dev Testing > Resource: Page > Page with MathJax.
      3. Go to Site administration > Mobile app > Mobile features.
      4. Disable "Text filters". We should probably change this name in Moodle since we're not disabling the filters, we're disabling checking the enabled filters.
      5. Start the app and login in that site in case you didn't have it already.
      6. Go to More > Preferences and delete the storage (to clear the cache).
      7. Now restart the app and inspect Network requests. Check that:
        1. The text in the app loads faster right at the start (you no longer need to wait to see some texts like course or activity names).
        2. There are no WS calls to core_filters_get_available_in_context.
      8. Open the MathJax page in the app. Check that MathJax is correctly rendered.
      Show
      This issue only needs to be tested in 1 device. You will need to inspect network requests. In a 3.9 or master site as admin, enable MathJax filter. Create a page with MathJax. In master there is one already created in MM Dev Testing > Resource: Page > Page with MathJax. Go to Site administration > Mobile app > Mobile features. Disable "Text filters". We should probably change this name in Moodle since we're not disabling the filters, we're disabling checking the enabled filters. Start the app and login in that site in case you didn't have it already. Go to More > Preferences and delete the storage (to clear the cache). Now restart the app and inspect Network requests. Check that: The text in the app loads faster right at the start (you no longer need to wait to see some texts like course or activity names). There are no WS calls to  core_filters_get_available_in_context . Open the MathJax page in the app. Check that MathJax is correctly rendered.
    • Affected Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.9.3

      Description

      In Moodle 3.9 a new disabled feature was added: Text filters. We should support disabling text filters in the app.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Pau Ferrer
            Integrator:
            Juan Leyva
            Tester:
            Pau Ferrer
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: