Page MenuHomePhabricator

Show language selection as a dialog
Open, MediumPublic

Description

As part of MinT for Wiki Readers MVP (T359072), users can select languages at different points of the process: Home (T359401), Search (T359494 ), Confirm (T359512) and Translation options (T359829). In the current implementation, the language selector is opened on top of the existing contents without covering the viewport. As a result, the list of languages ends at an unexpected point and some contents of the underlying view may still be visible after the language selector.

For example, in the example below, opening the language selector at the Confirm step results in the "View automatic translation" element from the selected article card to remain visible.

ig.m.wikipedia.org_wiki_Ih%C3%BC_k%C3%A1r%C3%ADr%C3%AD_AutomaticTranslation_page=Moon&from=en&to=ig&step=translation(Wiki Mobile) (2).png (568×320 px, 31 KB)

This ticket proposes to adjust the way language selector is shown in the different steps to show it as part of a dialog, which will show full screen on mobile. The intended behaviour is similar to the way language selection is supported on Section Translation, for example.