schumacherfm/mage2-pace v0.2.1

Magento2 Automatic page load progress bar for the backend and frontend.

Type

magento2-module

License

MIT

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Magento2-Pace

Magento2 Pace - Automatic page load progress bar for the backend and frontend.

Pace will automatically monitor your ajax requests, event loop lag, document ready state, and elements on your page to decide the progress. On ajax navigation it will begin again!

Based on https://github.com/HubSpot/pace

Demo http://github.hubspot.com/pace/docs/welcome/

Theme is configurable in the backend section System -> Configuration -> Advanced -> System -> Pace.

Backend Integration

A plugin has been created to after intercept the toHtml() method in \Magento\Backend\Block\Page\RequireJs. That is the only way to integrate pace directly after the <head> tag. Pace CSS/JS will be cached.

Frontend Integration

@todo because internal Mage2 code states: Temporary solution

Tests

@todo once calling phpunit will not take aeon.

Installation via Composer

Add the following to the require section of your Magento 2 composer.json file

"schumacherfm/mage2-pace": "v0.2.0"

additionally add the following in the repository section

    "repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/SchumacherFM/Magento2-Pace.git"
    }
]

run composer update

add the following to app/etc/config.php

'SchumacherFM_Pace'=>1

Compatibility

  • Magento >= 2
  • php >= 5.5.0

Support / Contribution

Report a bug using the issue tracker or send us a pull request.

Instead of forking I can add you as a Collaborator IF you really intend to develop on this module. Just ask :-)

I am using that model: A successful Git branching model

For versioning have a look at Semantic Versioning 2.0.0

History

0.2.0

  • Compatible to Magento 2 GA 2.0.0
  • PHP7 compatible

0.1.0

  • pace.js to 1.0.2
  • Initial release

License

The MIT License (MIT)

Copyright (c) 2013-2016 Cyrill Schumacher

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Author

Cyrill Schumacher

My pgp public key