Page MenuHomePhabricator

Generalize OO.ui.GroupElement into an OO.EmitterList
Closed, ResolvedPublic

Description

The main behavior of GroupElement mixin is extremely useful as a basic object, namely the handling of items and aggregation of events. We could move that into an OO.List object in oojs and have the GroupElement mixin inherit and expand on it.

Event Timeline

Mooeypoo claimed this task.
Mooeypoo raised the priority of this task from to Needs Triage.
Mooeypoo updated the task description. (Show Details)
Mooeypoo added projects: OOjs core, OOUI.
Mooeypoo subscribed.

Change 243068 had a related patch set uploaded (by Mooeypoo):
Add an OO.List object

https://gerrit.wikimedia.org/r/243068

Mooeypoo renamed this task from Generalize OO.ui.GroupElement into an OO.List to Generalize OO.ui.GroupElement into an OO.EmitterList.Oct 5 2015, 9:54 PM
Mooeypoo set Security to None.

Change 243245 had a related patch set uploaded (by Mooeypoo):
[wip] Have GroupElement use OO.EmitterList

https://gerrit.wikimedia.org/r/243245

Change 243068 merged by jenkins-bot:
Add EmitterList class

https://gerrit.wikimedia.org/r/243068

Jdforrester-WMF moved this task from Backlog to Doing on the OOUI board.

Change 300689 had a related patch set uploaded (by Mooeypoo):
Change EmitterList#insertItem from @private to @protected

https://gerrit.wikimedia.org/r/300689

Change 300689 merged by jenkins-bot:
EmitterList: Change insertItem from @private to @protected

https://gerrit.wikimedia.org/r/300689

Jdforrester-WMF moved this task from Doing to OOjs-UI-0.17.9 on the OOUI board.
Jdforrester-WMF edited projects, added OOUI (OOjs-UI-0.17.9); removed OOUI.

Change 243245 merged by jenkins-bot:
Have GroupElement use OO.EmitterList

https://gerrit.wikimedia.org/r/243245

Change 306307 had a related patch set uploaded (by Jforrester):
Have GroupElement use OO.EmitterList

https://gerrit.wikimedia.org/r/306307

Change 306307 merged by jenkins-bot:
[oojs/ui@master] GroupElement: Transform to be an OO.EmitterList mixin

https://gerrit.wikimedia.org/r/306307

Volker_E moved this task from Reviewing to OOjs-UI-0.20.1 on the OOUI board.
Volker_E edited projects, added OOUI (OOjs-UI-0.20.1); removed OOUI.
Volker_E removed a project: Patch-For-Review.
Volker_E removed a subscriber: gerritbot.