Go to file
Moriel Schottlender 1ac72cc01a Split alerts and messages in Echo
Split the notifications into 'alert' and 'message' badget with two
different flyouts. Also clean up styling and module behavior.

** Depends on ooui change Id4bbe14ba0bf6c for footers in popups.
** Depends on ooui change Ie93e4d6ed5637c for fixing a bug in
   inverted icons.

** MobileFrontend must also be updated to support the new modules
   in this patch  I168f485d6e54cb4067

In this change:
* Split notifcations into alert and messages and display those in
  two different badges.
* Create two separate flyout/popups for each category with their
  notifications.
* Create a view-model to control notification state and emit events
  for both the popup and the badge to intercept and react to.
* Clean up module load and distribution:
  * Create an ext.echo.ui module for javascript-ui support and ooui
    widgets.
  * Create an ext.echo.nojs module that unifies all base classes that
    are needed for both nojs and js support, that the js version
    builds upon.
  * Create a separate ext.echo.logger module as a singleton that can
    be called to perform all logging.
* Clean up style uses
  * Move the special page LESS file into nojs module so all styles
    load properly even in nojs mode.
  * Transfer some of the styling from JS to LESS for consistency.
  * Make the 'read more' button load already with the styles it
    needs to look like a button, since its behavior is similar in
    nojs and js vesions, but before its classes were applied only
    by the js, making it inconsistent and also making its appearance
    'jump' from a link to a button.
* Delete and clean up all old and unused files.
* Moved 'Help.png' icon from modules/overlay to modules/icons for
  later use.

Bug: T108190
Change-Id: I55f440ed9f64c46817f620328a6bb522d44c9ca9
2015-09-02 15:36:37 -07:00
db_patches Allow multiple target pages per event 2015-03-31 07:56:52 +00:00
i18n Localisation updates from https://translatewiki.net. 2015-08-26 21:45:50 +02:00
includes Split alerts and messages in Echo 2015-09-02 15:36:37 -07:00
maintenance Make processEchoEmailBatch check that Echo is actually enabled before doing anything 2015-05-31 13:25:37 +01:00
modules Split alerts and messages in Echo 2015-09-02 15:36:37 -07:00
scripts chmod 644 a few files 2015-07-03 19:31:15 +01:00
tests Split alerts and messages in Echo 2015-09-02 15:36:37 -07:00
.csslintrc Add Grunt infrastructure for CI 2015-05-01 20:35:23 -07:00
.gitignore Ignore browser test screenshots 2014-09-30 13:34:28 -07:00
.gitreview Add .gitreview file 2012-04-28 01:26:21 +10:00
.jscsrc Actually pass jscs 2015-05-04 19:28:01 +00:00
.jshintignore Add ability to run QUnit tests 2014-08-01 15:55:22 -07:00
.jshintrc Split alerts and messages in Echo 2015-09-02 15:36:37 -07:00
.rubocop.yml QA: rubocop fixes broke the tests in the builds 2015-02-23 09:44:41 -07:00
.rubocop_todo.yml QA: rubocop fixes broke the tests in the builds 2015-02-23 09:44:41 -07:00
autoload.php Update tests/phpunit for new directory structure 2015-06-15 11:36:02 -07:00
COPYING Add COPYING 2014-01-24 16:00:24 -08:00
Echo.alias.php Localisation updates from https://translatewiki.net. 2015-06-14 21:06:12 +02:00
Echo.php Load only the EchoInteraction schema client-side 2015-07-08 13:17:35 -07:00
echo.sql Allow multiple target pages per event 2015-03-31 07:56:52 +00:00
Gemfile chmod 644 a few files 2015-07-03 19:31:15 +01:00
Gemfile.lock QA: update Ruby gems for mediawiki-selenium 2015-02-09 13:38:16 -07:00
Gruntfile.js build: Adding configuration for jsonlint 2015-06-11 21:32:18 -07:00
Hooks.php Split alerts and messages in Echo 2015-09-02 15:36:37 -07:00
Makefile Hygiene: Dont run jshint against .less files 2014-09-05 16:45:34 -07:00
Notifier.php Fix usage of UserMailer::Send to use new signature 2015-07-31 15:45:57 -04:00
package.json build: Adding configuration for jsonlint 2015-06-11 21:32:18 -07:00
RELEASE_NOTES Allow multiple target pages per event 2015-03-31 07:56:52 +00:00
Resources.php Split alerts and messages in Echo 2015-09-02 15:36:37 -07:00