UX: Login error message delayed on password-less sign in
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Observed behavior When using the "Sign in with no password" facility setting, entering a non-existent username and clicking the "Sign In" button results in no immediate visual feedback. The error message (e.g., "Username is not correct") does not appear upon clicking the submit button. It only appears if the user subsequently clicks back inside the username input field (triggering a focus/blur event).
Errors and logs No specific crash logs or console errors are generated. This appears to be a frontend state/validation timing issue where the validation trigger is missing on the form submission event.
Expected behavior The validation error message should be displayed immediately after clicking the "Sign In" button, informing the user right away that the account was not found, without requiring further interaction with the input field.
User-facing consequences This creates confusion, particularly for young learners (the primary target for password-less login). Users may believe the "Sign In" button is broken or unresponsive because clicking it produces no visible result.
Steps to reproduce Set up a Facility with the setting "Allow learners to sign in with no password" enabled.
Navigate to the Sign In page.
Enter a username that does not exist (e.g., invalid_user).
Click the "Next" button.
Observe that no error message appears.
Click back inside the username text field.
Observe that the error message finally appears.
Context Kolibri version: 0.20.0.dev0 (Latest develop branch)
Operating system: Ubuntu (WSL2)
Browser: Chrome / Edge
🤖 This issue was written with AI assistance, under supervision, review and final edits by @11-andy-11 🤖
Hi @11-andy-11 - curious why you closed this if this was a genuine issue report?
Hi there!
I closed it because while creating the issue, I encountered an automated notice saying "This issue is not open for contribution", and I wanted to respect the project's guidelines and avoid creating unauthorized noise.
However, this is indeed a genuine UX inconsistency I found while setting up my development environment for GSoC 2026.
If it is appropriate to track this here, I would be happy to reopen the issue and work on a fix!
Yes, it's not open for broader contribution until we label it as such - but opening issues is allowed!
Thanks for the clarification!
I would love to work on fixing this UX issue as my first contribution. I have my development environment running and I've already located the relevant frontend logic.
Could I be assigned to this issue?
@11-andy-11 thank you for the report! I don't think we can assign this right now as we'll probably want to discuss the expected UX internally a bit.
We cannot display the message immediately because we make an API request which may take some time depending on the device/server configuration. I suspect that the expected behavior will require some accessibility considerations as we'll want to convey "please wait" to the user that clicked the button.
Keep an eye out - we'll add "Help wanted" if and when we get this ready for assignment.
Thank you for the detailed explanation, @nucleogenesis!
That makes perfect sense regarding the API latency. I agree that a simple error message wouldn't be enough and that a proper "loading" state is needed to indicate the request is processing, especially for accessibility.
I will keep an eye on this issue and wait for the internal UX decision. If you decide on a direction and add the "Help wanted" label, I am still very interested in implementing it!
Hi @rtibbles @nucleogenesis , I’m genuinely interested in contributing and wanted to ask for a bit of guidance: would you prefer new contributors to start by picking up and improving existing issues, or by proposing new issues/ideas that align with the project’s direction?
If there are particular areas or types of contributions you’re currently looking for, I’d be happy to explore those and contribute accordingly.
Thanks for your time!
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.
Noting for whoever picks this up that I looked into it a bit on the code side and appears that we really just need to focus the username textbox after we get the particular error here. I think adding a this.$refs.username.focus() when the error is the "user not found" one would do the trick.
If that doesn't do the trick, we could then use the showInvalidText prop to show it without focusing the username textbox, but we would automatically show the error message if we focused it. The invalid prop only shows when the element is focused, but showInvalidText forces showing it regardless of focus.
The UX should end up:
- I enter a nonexistent username
- I click to submit the form
- I wait briefly
- I see the error message on the username field (and ideally will see it because it was automatically focused).