element-hq / element-hq/hydrogen-web

login button doesn't show that anything is happening

Open
#698 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
714
Forks
131
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

The `POST /_matrix/client/r0/login` endpoint may take some time to respond. During this time, there is no feedback to the user that anything has going on, so it's unclear if the user action has been registered, the application has had an error, or what's going on in general.

**To Reproduce**
Steps to reproduce the behavior:
1. Enter login details
2. Click 'Login'

**Expected behavior**

A spinner? or greying out the button?

**Screenshots**

**Desktop (please complete the following information):**
- OS: linux
- Browser: chrome

**Additional context**

Contributor guide

Open the contributing guide

Research direction

Reproduce the delay after submitting login details to POST /_matrix/client/r0/login in Chrome on Linux and inspect the login UI entry point. Done means the button visibly indicates that the request is in progress, such as with a spinner or disabled styling, and the behavior can be verified during a slow response.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.