kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Picture password: snackbar and error notification give contradictory feedback on failed sign-in

Open akolson opened this issue 6 months ago • 6 comments

Description

When a learner enters an incorrect picture password sequence, two conflicting error messages can appear:

  • The error notification (inline alert) says: "Wrong pictures, try again" — correctly identifying the problem.
  • The snackbar says: "Sorry! Something went wrong, please try again." — a generic message that implies a system/network failure rather than a credential error.

These two messages appearing together are contradictory: one tells the user they entered the wrong pictures, the other implies an unexpected error occurred. This is likely to confuse learners, particularly those with lower digital literacy, who may not understand why they are seeing two different error messages at the same time.

Steps to reproduce

  1. Navigate to the picture password sign-in page.
  2. Enter an incorrect picture sequence and submit.
  3. Observe both the inline error notification and the snackbar appearing simultaneously.

https://github.com/user-attachments/assets/5f701a81-cc5d-4700-9114-4f14795e2bed

Current behaviour

Both the inline error notification and the snackbar are shown, with messaging that implies different causes for the failure.

Desired behaviour

To be discussed — options include:

  • Disabling/hiding the snackbar when a credential error is the known cause.
  • Updating the snackbar message to be consistent with the inline notification (by checking for specific errors).
  • Consolidating both into a single, clearly-worded error message.

Context

This is part of the picture password sign-in feature. The inline error notification (wrongPictures) and the snackbar (defaultErrorMessage) are currently triggered by separate code paths in PictureSignInPage.vue.

akolson avatar May 26 '26 10:05 akolson

hello @akolson , Can i work on this issue?

NihalShinde4933 avatar Jun 02 '26 09:06 NihalShinde4933

Hi! 👋

Thanks so much for your interest! This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues. If there are no unassigned 'help wanted' issues available, please wait until new ones are added.

We really appreciate your willingness to help. 😊

Are you preparing for Google Summer of Code? See our GSoC guidelines.

learning-equality-bot avatar Jun 02 '26 09:06 learning-equality-bot

The concrete conflict here is that the known credential failure message, “Wrong pictures, try again”, can appear at the same time as the generic “Something went wrong” snackbar. wrongPictures is the part I would inspect first, then trace where the failed picture-password submit also triggers snackbar error handling. For a PR, I would start by suppressing the generic snackbar for this known credential error.

saisharan0103 avatar Jul 13 '26 05:07 saisharan0103

Hi! 👋

Thanks so much for your interest! This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues. If there are no unassigned 'help wanted' issues available, please wait until new ones are added.

We really appreciate your willingness to help. 😊

Are you preparing for Google Summer of Code? See our GSoC guidelines.

learning-equality-bot avatar Jul 13 '26 05:07 learning-equality-bot

I think this has been resolved incidentally as I can't reproduce it. Not super high urgency, but @radinamatic @pcenov I think this would be good to confirm? What I see is I do get the UI alert, but I don't get the "extra" error message in the snackbar.

marcellamaki avatar Oct 15 '26 21:10 marcellamaki

Agreed, I also did not encounter this last week while testing these workflows for UX writing review. Snackbar must have been lost at some point, but given that we have a visible error message above the pictures, and the appropriate aria-live notification, I don't consder this an issue.

radinamatic avatar Oct 15 '26 21:10 radinamatic

Closing as resolved

marcellamaki avatar Oct 15 '26 21:10 marcellamaki