element-hq / element-hq/element-web

Remove the `Configure your app` (server configuration provisioning link) section from the mobile guide for `app.element.io`

Open
#21,761 0 comments 0 reactions 0 assignees View on GitHub
A-Login A-Mobile A-Registration O-Occasional T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

#### What would you like to do?

Remove the `Configure your app` (server configuration provisioning link) section on https://app.element.io/mobile_guide/. They are redundant on `app.element.io` because `matrix.org` and `vector.im` are already the defaults in Android/[iOS](https://github.com/vector-im/element-ios/blob/0a92018e766a54091edba450a745618c559f9e3e/Config/BuildSettings.swift#L101-L103) apps.

#### Why would you like to do it?

They are unnecessary steps to worry about and are confusing when you're just trying to view a Matrix room on mobile coming from a `matrix.to` link.

Does this feature even work anymore? Not on Android https://github.com/vector-im/element-android/issues/5748

Configure does not work on Android ❌

With Element Android installed on the sign in screen.

Press configure | Just redirects me to `mobile.element.io` and pressing "Try again" does nothing
--- | ---
|

Configure does work on iOS ✅

Press configure | Brings me to the app | Has the custom info filled out as expected
--- | --- | ---
Screen Shot 2022-04-12 at 2 34 39 PM | Screen Shot 2022-04-12 at 2 34 48 PM | Screen Shot 2022-04-12 at 2 35 08 PM

#### How would you like to achieve it?

Don't show the configure section [`src/vector/mobile_guide/index.html#L322-L332`](https://github.com/vector-im/element-web/blob/03ab1237ed77fd8ada5fe15b758da1ccc47c9ba6/src/vector/mobile_guide/index.html#L322-L332) if it's using the `matrix.org` `vector.im` defaults.

Relevant Android/iOS code (search for `mobile.element.io`):

- [`vector-im/element-ios` -> `Riot/Modules/Application/LegacyAppDelegate.m#L1841-L1845`](https://github.com/vector-im/element-ios/blob/0a92018e766a54091edba450a745618c559f9e3e/Riot/Modules/Application/LegacyAppDelegate.m#L1841-L1845)
- [`vector-im/element-android` -> `vector/src/main/java/im/vector/app/features/login/LoginConfig.kt#L23-L46`](https://github.com/vector-im/element-android/blob/4adb469b381431e76816876dcd0736441b05bd80/vector/src/main/java/im/vector/app/features/login/LoginConfig.kt#L23-L46)

### Have you considered any alternatives?

Somehow a re-design to make this less confusing, less clutter, and actually correct for each platform:

- https://github.com/vector-im/element-web/issues/19516
- https://github.com/vector-im/element-web/issues/11340

Scanning a QR code sounds a lot better although tricky if you're working from the same device: https://github.com/vector-im/element-android/issues/5097

### Additional context

These configure instructions are probably more useful for external Element deployments where the homeserver and identity server URL's are set to something custom.

Related to https://github.com/vector-im/element-web/issues/7378

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.