Skip to content

Commit c51823d

Browse files
authored
Revert "Update the mobile_guide page to the new design. (element-hq#30006)" (element-hq#30104)
1 parent 5b51fe4 commit c51823d

File tree

15 files changed

+799
-566
lines changed

15 files changed

+799
-566
lines changed

docs/config.md

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -130,37 +130,32 @@ complete re-branding/private labeling, a more personalised experience can be ach
130130
6. `mobile_builds`: Optional. Like `desktop_builds`, except for the mobile apps. Also described in more detail down below.
131131
7. `mobile_guide_toast`: When `true` (default), users accessing the Element Web instance from a mobile device will be prompted to
132132
download the app instead.
133-
8. `mobile_guide_app_variant`: Optional. The mobile app that the user is prompted to download from the `/mobile_guide` page. When omitted
134-
the mobile guide will be configured with the Classic apps. Allowed values are as follows:
135-
1. `classic`: Element Android/iOS.
136-
2. `x`: Element X Android/iOS.
137-
3. `pro`: Element Pro Android/iOS.
138-
9. `update_base_url`: For the desktop app only, the URL where to acquire update packages. If specified, must be a path to a directory
133+
8. `update_base_url`: For the desktop app only, the URL where to acquire update packages. If specified, must be a path to a directory
139134
containing `macos` and `win32` directories, with the update packages within. Defaults to `https://packages.element.io/desktop/update/`
140135
in production.
141-
10. `map_style_url`: Map tile server style URL for location sharing. e.g. `https://api.maptiler.com/maps/streets/style.json?key=YOUR_KEY_GOES_HERE`
142-
This setting is ignored if your homeserver provides `/.well-known/matrix/client` in its well-known location, and the JSON file
143-
at that location has a key `m.tile_server` (or the unstable version `org.matrix.msc3488.tile_server`). In this case, the
144-
configuration found in the well-known location is used instead.
145-
11. `welcome_user_id`: **DEPRECATED** An optional user ID to start a DM with after creating an account. Defaults to nothing (no DM created).
146-
12. `custom_translations_url`: An optional URL to allow overriding of translatable strings. The JSON file must be in a format of
136+
9. `map_style_url`: Map tile server style URL for location sharing. e.g. `https://api.maptiler.com/maps/streets/style.json?key=YOUR_KEY_GOES_HERE`
137+
This setting is ignored if your homeserver provides `/.well-known/matrix/client` in its well-known location, and the JSON file
138+
at that location has a key `m.tile_server` (or the unstable version `org.matrix.msc3488.tile_server`). In this case, the
139+
configuration found in the well-known location is used instead.
140+
10. `welcome_user_id`: **DEPRECATED** An optional user ID to start a DM with after creating an account. Defaults to nothing (no DM created).
141+
11. `custom_translations_url`: An optional URL to allow overriding of translatable strings. The JSON file must be in a format of
147142
`{"affected|translation|key": {"languageCode": "new string"}}`. See https://github.com/matrix-org/matrix-react-sdk/pull/7886 for details.
148-
13. `branding`: Options for configuring various assets used within the app. Described in more detail down below.
149-
14. `embedded_pages`: Further optional URLs for various assets used within the app. Described in more detail down below.
150-
15. `disable_3pid_login`: When `false` (default), **enables** the options to log in with email address or phone number. Set to
143+
12. `branding`: Options for configuring various assets used within the app. Described in more detail down below.
144+
13. `embedded_pages`: Further optional URLs for various assets used within the app. Described in more detail down below.
145+
14. `disable_3pid_login`: When `false` (default), **enables** the options to log in with email address or phone number. Set to
151146
`true` to hide these options.
152-
16. `disable_login_language_selector`: When `false` (default), **enables** the language selector on the login pages. Set to `true`
147+
15. `disable_login_language_selector`: When `false` (default), **enables** the language selector on the login pages. Set to `true`
153148
to hide this dropdown.
154-
17. `disable_guests`: When `false` (default), **enable** guest-related functionality (peeking/previewing rooms, etc) for unregistered
149+
16. `disable_guests`: When `false` (default), **enable** guest-related functionality (peeking/previewing rooms, etc) for unregistered
155150
users. Set to `true` to disable this functionality.
156-
18. `user_notice`: Optional notice to show to the user, e.g. for sunsetting a deployment and pushing users to move in their own time.
151+
17. `user_notice`: Optional notice to show to the user, e.g. for sunsetting a deployment and pushing users to move in their own time.
157152
Takes a configuration object as below:
158153
1. `title`: Required. Title to show at the top of the notice.
159154
2. `description`: Required. The description to use for the notice.
160155
3. `show_once`: Optional. If true then the notice will only be shown once per device.
161-
19. `help_url`: The URL to point users to for help with the app, defaults to `https://element.io/help`.
162-
20. `help_encryption_url`: The URL to point users to for help with encryption, defaults to `https://element.io/help#encryption`.
163-
21. `force_verification`: If true, users must verify new logins (eg. with another device / their recovery key)
156+
18. `help_url`: The URL to point users to for help with the app, defaults to `https://element.io/help`.
157+
19. `help_encryption_url`: The URL to point users to for help with encryption, defaults to `https://element.io/help#encryption`.
158+
20. `force_verification`: If true, users must verify new logins (eg. with another device / their recovery key)
164159

165160
### `desktop_builds` and `mobile_builds`
166161

playwright/e2e/mobile-guide/mobile-guide.spec.ts

Lines changed: 0 additions & 33 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.

src/IConfigOptions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ export interface IConfigOptions {
8181
};
8282

8383
mobile_guide_toast?: boolean;
84-
mobile_guide_app_variant?: "classic" | "x" | "pro";
8584

8685
default_theme?: "light" | "dark" | string; // custom themes are strings
8786
default_country_code?: string; // ISO 3166 alpha2 country code

src/vector/mobile_guide/assets/app-store-badge.svg

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)