• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7
    • 2.7
    • Themes
    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • MDL-44597-master
    • Hide
      • Switch to a theme using lessphp (e.g. theme_more)
      • Enable theme designer mode
      • In a browser supporting sourcemaps, open the developer tools (Currently: Chrome, and Firefox 32/nightly);
      • Enable the sourceMap support:
      • Refresh the page
      • Inspect some styles and click through to view the sourcemap (generally by clicking on the foo.less file)
      • Confirm that the sourcemap looks to be for the correct thing
      • Repeat for a range of:
        • moodle-specific item styles; and
        • bootstrap styles.
      • Bask in the gloriousness that it sourceMaps.
      • Switch to a different theme (one which does not use lessphp)
      • Browser around some more
        • Confirm that the sourceMaps are no longer present
      • Switch back to theme_more and confirm that sourceMaps are once again available
      • Disable theme designer mode
      • Browser around some more
        • Confirm that the sourceMaps are no longer present
      Show
      Switch to a theme using lessphp (e.g. theme_more) Enable theme designer mode In a browser supporting sourcemaps, open the developer tools (Currently: Chrome, and Firefox 32/nightly); Enable the sourceMap support: Chrome: https://developers.google.com/chrome-developer-tools/docs/css-preprocessors#toc-enabling-css-source-maps FirefoxNightly: https://hacks.mozilla.org/2014/02/live-editing-sass-and-less-in-the-firefox-developer-tools/ Refresh the page Inspect some styles and click through to view the sourcemap (generally by clicking on the foo.less file) Confirm that the sourcemap looks to be for the correct thing Repeat for a range of: moodle-specific item styles; and bootstrap styles. Bask in the gloriousness that it sourceMaps. Switch to a different theme (one which does not use lessphp) Browser around some more Confirm that the sourceMaps are no longer present Switch back to theme_more and confirm that sourceMaps are once again available Disable theme designer mode Browser around some more Confirm that the sourceMaps are no longer present
    • 5
    • FRONTEND Sprint 11

      When compiling LESS from PHP in designer mode, we should add the source maps to make it easier to debug the CSS.

            dobedobedoh Andrew Lyons
            fred Frédéric Massart
            Frédéric Massart Frédéric Massart
            Marina Glancy Marina Glancy
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

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