mediawiki-extensions-Echo/modules/ui
Moriel Schottlender bee8aaa499 Add and listen to 'modified' event for popup clip()
Separate the behavior of promise vs event when changes happen and
we need to clip the popup. The popup should only clip itself after
the DOM has finished populating, not "just" after the model has
been populated with data.

Adding an event that triggers whenever the main list changes anything
that is in its DOM, and having the badge widget trigger a popup clip
will solve this issue and untangle the expectation of the promises
vs. the widgets populating themselves through the events.

Change-Id: Iff9996eb1810e7ade135359139e16837e6dc74f0
2017-03-07 14:35:42 -08:00
..
mw.echo.ui.ActionMenuPopupWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.BadgeLinkWidget.js Adjust unread counter position based on length 2016-12-20 13:40:54 -05:00
mw.echo.ui.BundleNotificationItemWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.ClonedNotificationItemWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.ConfirmationPopupWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.CrossWikiNotificationItemWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.CrossWikiUnreadFilterWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.DatedNotificationsWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.DatedSubGroupListWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.FooterNoticeWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.MenuItemWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.NotificationBadgeWidget.js Add and listen to 'modified' event for popup clip() 2017-03-07 14:35:42 -08:00
mw.echo.ui.NotificationItemWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.NotificationsInboxWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.NotificationsListWidget.js Add and listen to 'modified' event for popup clip() 2017-03-07 14:35:42 -08:00
mw.echo.ui.NotificationsWrapper.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.PageFilterWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.PageNotificationsOptionWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.PaginationWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.PlaceholderItemWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.ReadStateButtonSelectWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.SingleNotificationItemWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.SortedListWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.SpecialHelpMenuWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.SubGroupListWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
mw.echo.ui.ToggleReadCircleButtonWidget.js build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00