Page MenuHomePhabricator

Decide: Should the hCaptcha challenge appear in a new panel in the publish dialog?
Open, LowPublic

Description

Summary

VisualEditor has a publish dialog after the user presses "Save changes...". Once this dialog appears, we add the disclaimer text ("This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply.") and when the user presses "Save changes" again, hCaptcha's bot detection code runs and presents a challenge to approximately 0.1% of human sessions. (There is also a "showcaptcha" AbuseFilter consequence that is used sparingly, and this can also result in a challenge appearing.)

In order to display the visual challenge, we need to resize the publish dialog so that hCaptcha's iframe has enough space to expand into, to present the challenge to the user.

Options:

  1. Expand the existing "Save your changes" dialog
  2. Switch to a new panel when a challenge is shown, and swap back to the previous panel when the challenge is closed/completed

The existing FancyCaptcha integration shows the input field for the CAPTCHA in the "Save your changes" dialog.

Acceptance criteria

  • Editing team decides what their preference is for how the visual challenge is presented, between the two options listed above

Event Timeline

Next step(s)

  • Editing Engineering and Design to document what (if any) blocking concerns they hold about moving forward with the "Expand the existing Save your changes dialog" approach
  • Assuming editing Engineering and design do not hold blocking concerns about the "Expand the existing Save your changes dialog" approach, name (any) lightweight improvements they think could be made to improve the UX
NOTE: all of the above should be considered with the context that this modified experienced will be shown in ~0.1% of editing sessions.