Page MenuHomePhabricator

Codex: Display warning about file title in form instead of extra page
Open, Needs TriagePublic

Description

We want to display the warning about unmatching characters in the file title in the form with Codex instead of opening a new page (see screenshot).

Screenshot from 2023-10-12 13-51-13.png (377×902 px, 28 KB)

Outcome

Screenshot from 2023-10-26 10-56-15.png (374×1 px, 104 KB)

Screencast (click to view):

Peek 2023-10-24 16-46.gif (717×1 px, 1 MB)

Event Timeline

Change 965769 had a related patch set uploaded (by Svantje Lilienthal; author: Svantje Lilienthal):

[mediawiki/extensions/FileImporter@master] [WIP] Display warning about file title in form instead of extra page

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

Only one remark: I find it quite surprising to see the height of the button change. That shouldn't happen. But this is for a later, proper redesign by the WMDE-Design team. As this is all hidden behind a feature flag anyway it's totally fine to merge it as this for the moment.

Agreed, that is actually strange. I also did not find any examples in the codex specification where there is an input field with a button next to it (neither in the TextInput nor in the Field ). Maybe we can ask someone from the design team, if we missed something or if the docu could be improved?

Change 965769 merged by jenkins-bot:

[mediawiki/extensions/FileImporter@master] Codex: Display warning about file title in form instead of extra page

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

WMDE-Fisch renamed this task from Display warning about file title in form instead of extra page to Code: Display warning about file title in form instead of extra page.Oct 30 2023, 9:36 AM
WMDE-Fisch renamed this task from Code: Display warning about file title in form instead of extra page to Codex: Display warning about file title in form instead of extra page.
WMDE-Fisch moved this task from Backlog to Tickets in sprint on the Move-Files-To-Commons board.

Change 978003 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/FileImporter@master] Avoid growing the button when the field grows

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

Change 978003 merged by jenkins-bot:

[mediawiki/extensions/FileImporter@master] Avoid growing the button when the field grows

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

In sprint demo we noticed that the warning is not working for titles that have a space in the name. Example

Change 980415 had a related patch set uploaded (by Svantje Lilienthal; author: Svantje Lilienthal):

[mediawiki/extensions/FileImporter@master] Codex: Fix title warning for titles with a blank space

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

Change 980415 merged by jenkins-bot:

[mediawiki/extensions/FileImporter@master] Codex: Fix title warning for titles with a blank space

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