Page MenuHomePhabricator

options parameter of OO.ui.{alert|confirm|prompt} should accept proposed dialog size
Closed, ResolvedPublic

Description

It would be nice if "options" on https://doc.wikimedia.org/oojs-ui/master/js/#!/api/OO.ui-method-alert could accept and handle dialog "size" as I am forced to apply that with some css !important hacking in our local gadgets. (or is there any other appropiate way to do that? please let me know). Thanks

Event Timeline

Ebrahim renamed this task from OO.ui.MessageDialog.getSetupProcess should also handle and pass size parameter to options parameter of OO.ui.{alert|confirm|prompt} should accept proposed dialog size.Apr 1 2017, 7:03 PM
Ebrahim updated the task description. (Show Details)

Change 345984 had a related patch set uploaded (by Ebrahim):
[oojs/ui@master] Accept proposed size dialog on getSetupProcess

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

Volker_E moved this task from Reviewing to OOjs-UI-0.20.2 on the OOUI board.
Volker_E edited projects, added OOUI (OOjs-UI-0.20.2); removed OOUI.
This comment was removed by Ebrahim.

Change 345984 merged by Bartosz Dziewoński:
[oojs/ui@master] MessageDialog: Accept proposed size dialog on getSetupProcess

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

Volker_E assigned this task to Ebrahim.
Volker_E removed a project: Patch-For-Review.
Volker_E removed a subscriber: gerritbot.