Page MenuHomePhabricator

Overlays should support multiple screens
Closed, DuplicatePublic

Description

in the EditorOverlay and CollectionEditorOverlay in Gather we have logic for various screens e.g. edit, preview, save
Despite this there is no easy way to do this without editing the entire template or hacking the partial by using overlay-sub-header elements

Let's talk about how we could do this better and find a better approach
e.g. Overlay.prototype.screens = { header: headerOptions, content: contentOptions, template: template }
(see https://gerrit.wikimedia.org/r/#/c/215368/1)

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson added a project: Readers-Web-Backlog.
Jdlrobson moved this task to Triaged but Future on the Readers-Web-Backlog board.
Jdlrobson added a subscriber: Jdlrobson.

Note OOJS UI solves this with its StackLayout