MDL-63793 block_myoverview: Persist the user's paging limit preference
authorPeter <peter@moodle.com>
Tue, 30 Oct 2018 05:42:14 +0000 (13:42 +0800)
committerPeter <peter@moodle.com>
Mon, 19 Nov 2018 01:43:00 +0000 (09:43 +0800)
commit11988d74b42980e62dd81f022dc96dbe1e2dc6b8
tree645cf64149a2fdd143d305cc92e21040c236ebec
parent208950cff04f87e16eb008cd395c2222ec6934a7
MDL-63793 block_myoverview: Persist the user's paging limit preference

* providers for paging preferences
* Moved the user pref persistence to the factory
* Added client defined namespace in config
* Define custom client events in the client instead of passing to the
  factory
14 files changed:
blocks/myoverview/amd/build/view.min.js
blocks/myoverview/amd/src/view.js
blocks/myoverview/block_myoverview.php
blocks/myoverview/classes/output/main.php
blocks/myoverview/classes/privacy/provider.php
blocks/myoverview/lang/en/block_myoverview.php
blocks/myoverview/lib.php
blocks/myoverview/templates/courses-view.mustache
blocks/myoverview/tests/behat/block_myoverview_pagelimit_persistence.feature [new file with mode: 0644]
blocks/myoverview/tests/privacy_test.php
lib/amd/build/paged_content.min.js
lib/amd/build/paged_content_factory.min.js
lib/amd/src/paged_content.js
lib/amd/src/paged_content_factory.js