Page MenuHomePhabricator

Exploratory patches extracting a high-level interface for the booklet layout
Closed, ResolvedPublic0 Estimated Story Points

Description

The current interface to BookletLayout is very low-level and requires its caller to have knowledge of its children and perform some of its logic.

  • Introduce a class that will eventually encapsulate some of this interface, giving it a high-level interface like, addPart(id), which creates a sidebar item and content page.
  • Start with the simplest possible interface, just take over one method.
  • Do not wire to the transcluded wikitext if possible, this can stay a TemplateDialog responsibility.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 698191 had a related patch set uploaded (by Awight; author: Awight):

[mediawiki/extensions/VisualEditor@master] Introduce a new class to encapsulate booklet inter-pane wiring

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

Change 698573 had a related patch set uploaded (by Awight; author: Awight):

[mediawiki/extensions/VisualEditor@master] Method for getting the currently selected element

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

awight moved this task from Sprint Backlog to Review on the WMDE-TechWish-Sprint-2021-05-26 board.
awight set the point value for this task to 0.

Change 698191 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Introduce a new class to encapsulate booklet inter-pane wiring

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

Change 698573 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Method for getting the currently selected element

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

awight claimed this task.
awight moved this task from Review to Done on the WMDE-TechWish-Sprint-2021-06-09 board.