Page MenuHomePhabricator

Create an OOUI dialog subclass for the OAuth authorization dialog
Open, Needs TriagePublic


Current look of the OAuth dialog with JS:

Without JS:

The JS version creates a jQuery UI dialog and puts the form inside it. jQuery UI is deprecated and should be replaced with OOUI.

The existing OOUI dialogs look similar so we need a new dialog class. It could be something generic that puts a HTMLForm into a dialog, or something specific for OAuth (the eventual design is supposed to be more complex - see T75062 - so maybe that needs custom logic).

Event Timeline

Tgr created this task.Sep 18 2015, 9:35 PM
Tgr raised the priority of this task from to Needs Triage.
Tgr updated the task description. (Show Details)
Tgr added a subscriber: Tgr.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 18 2015, 9:35 PM
Jdforrester-WMF set Security to None.
Volker_E added a subscriber: Volker_E.EditedSep 29 2016, 8:28 AM

@Tgr When does this dialog popup? How's the process (in the sense what happened before, where have I clicked to see it)?

Tgr added a comment.Sep 29 2016, 8:50 AM

This is the standard authorization dialog shown when an application requests credentials from the Wikimedia server for accessing a certain user account. You can test it with the Hello World app ("Authorize this application" link at the bottom)

Tgr moved this task from Backlog to UI/UX on the MediaWiki-extensions-OAuth board.Mar 7 2017, 4:09 AM