Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce the timeout when continuing from the onboarding carousel. #7603

Open
nisbet-hubbard opened this issue Jun 17, 2023 · 3 comments
Open
Labels
A-Authentication O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@nisbet-hubbard
Copy link

nisbet-hubbard commented Jun 17, 2023

Steps to reproduce

Where are you starting? What can you see?

The startup screen. In a geography where matrix.org is blocked.

What do you click?

‘I already have an account’

Outcome

What did you expect?

The server selection screen should be shown after ~15 seconds rather than waiting for a whole 40-seconds which feels very broken.

Or better still, the server selection screen could even be shown first, before any connection test is performed on a server selected by user (this is the workflow in FluffyChat).

If a connection test must be done before a server is selected, do it on a domain known to not have been blocked anywhere instead of matrix.org.

What happened instead?

A screen says Loading for a whole 40 seconds whilst waiting to time out, and then the server selection screen is shown.

Your phone model

iPhone SE2

Operating system version

iOS 16.3.1

Application version

Element 1.10.12

Homeserver

matrix.org

Will you send logs?

No

@nisbet-hubbard nisbet-hubbard added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Jun 17, 2023
@pixlwave pixlwave changed the title Allow changing server when matrix.org is blocked Reduce the timeout when continuing from the onboarding carousel. Jun 20, 2023
@pixlwave
Copy link
Member

@nisbet-hubbard I've tested it and the app will timeout after 40-seconds and show the server selection screen. There has to be some timeout period for it to determine that matrix.org is unreachable as you could be on a bad connection.

I've updated this issue to reflect that the timeout should be reduced.

@pixlwave pixlwave added S-Minor Impairs non-critical functionality or suitable workarounds exist O-Uncommon Most users are unlikely to come across this or unexpected workflow A-Authentication labels Jun 20, 2023
@nisbet-hubbard
Copy link
Author

Thanks @pixlwave!

If the purpose is to test for bad connection, surely it applies equally to non-matrix.org homeservers?

For better UX, could we use something like what FluffyChat does? Namely, let the user choose a homeserver upfront and do the timeout test on whichever homeserver they've chosen.

@pixlwave
Copy link
Member

Unfortunately the majority of our focus is on Element X now, so this is unlikely to receive any time over here. But I think the EX flow might be more suitable for the suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Authentication O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

No branches or pull requests

2 participants