Page MenuHomePhabricator

Footer text on types of unacceptable behavior step is not in dialog footer
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

  • Footer text appears in body section

What should have happened instead?:

  • Footer text appears in dialog footer

footer-placement.png (691×504 px, 53 KB)

Event Timeline

Change #1099715 had a related patch set uploaded (by Harroyo-wmf; author: Harroyo-wmf):

[mediawiki/extensions/ReportIncident@master] dialog: Don't duplicate the footer in the behaviour list temmplate

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

@KColeman-WMF the designs in Figma show that the screen to select the type of behavior does not have an icon in the left side of the footer message that says "Pressing continue will..."

image.png (791×360 px, 61 KB)

However, in our current implementation we show the image.png (14×20 px, 445 B) cdxIconUserGroup icon for that step too. That's because we use the same Codex message for all steps, which happens to expect an icon that we switch depending on the particular flow the user is taking (emergency/non-emergency). All other screens in Figma, except the last one, show an icon in the left side of the footer.

image.png (621×534 px, 62 KB)

I already have a draft fix to hide the icon in that screen but, just for confirmation, is it expected for that screen to not have an icon in the left side?

@KColeman-WMF the designs in Figma show that the screen to select the type of behavior does not have an icon in the left side of the footer message that says "Pressing continue will..."

image.png (791×360 px, 61 KB)

However, in our current implementation we show the image.png (14×20 px, 445 B) cdxIconUserGroup icon for that step too. That's because we use the same Codex message for all steps, which happens to expect an icon that we switch depending on the particular flow the user is taking (emergency/non-emergency). All other screens in Figma, except the last one, show an icon in the left side of the footer.

image.png (621×534 px, 62 KB)

I already have a draft fix to hide the icon in that screen but, just for confirmation, is it expected for that screen to not have an icon in the left side?

Yes, that's correct. There should be no icon icon on this screen. Thanks for checking!

Change #1099715 merged by jenkins-bot:

[mediawiki/extensions/ReportIncident@master] dialog: Don't duplicate the footer in the behaviour list template

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

Change #1100117 had a related patch set uploaded (by Kosta Harlan; author: Harroyo-wmf):

[mediawiki/extensions/ReportIncident@wmf/1.44.0-wmf.6] dialog: Don't duplicate the footer in the behaviour list template

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

The fix to move the text to the footer and remove the icon has been merged and is ready for QA.

image.png (647×1 px, 192 KB)

Change #1100117 merged by jenkins-bot:

[mediawiki/extensions/ReportIncident@wmf/1.44.0-wmf.6] dialog: Don't duplicate the footer in the behaviour list template

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

Mentioned in SAL (#wikimedia-operations) [2024-12-04T08:13:18Z] <kharlan@deploy2002> Started scap sync-world: Backport for [[gerrit:1100117|dialog: Don't duplicate the footer in the behaviour list template (T381189)]]

Mentioned in SAL (#wikimedia-operations) [2024-12-04T08:18:27Z] <kharlan@deploy2002> kharlan: Backport for [[gerrit:1100117|dialog: Don't duplicate the footer in the behaviour list template (T381189)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-12-04T08:25:26Z] <kharlan@deploy2002> Finished scap sync-world: Backport for [[gerrit:1100117|dialog: Don't duplicate the footer in the behaviour list template (T381189)]] (duration: 12m 08s)

Djackson-ctr subscribed.

QA is completed...
Footer text now appears in dialog footer.

image.png (892×457 px, 193 KB)

NOTE: Disregard the header title in the screenshot, it currently says Unacceptable User behavior, the header title will be changed in ticket T381529 Wrong title on Types of unacceptable behavior step