From 8d6c8b4a30255d95f127626eef9c9ef363f7e870 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Fri, 24 Jul 2020 19:50:06 +0200 Subject: [PATCH] Re-prioritize login selection 1. Matrix-ID 2. "Other" -> Custom server 3. Matrix - Matrix-ID should be intuitive (compare: email address) - Promoting Element Matrix Services for organisations makes not much sense here - if you have a server hosted this way, you can use the "other" selection or mxid as well (?) - if organisations feel like using SchildiChat instead of Element, they will probably find a way ;) --- .../fragment_login_server_selection.xml | 134 ++++++++++++------ vector/src/main/res/values-de/strings_sc.xml | 8 ++ vector/src/main/res/values/strings_sc.xml | 8 ++ 3 files changed, 106 insertions(+), 44 deletions(-) diff --git a/vector/src/main/res/layout/fragment_login_server_selection.xml b/vector/src/main/res/layout/fragment_login_server_selection.xml index 3ca1d76097..1b9f6ca3e7 100644 --- a/vector/src/main/res/layout/fragment_login_server_selection.xml +++ b/vector/src/main/res/layout/fragment_login_server_selection.xml @@ -44,6 +44,92 @@ app:layout_constraintTop_toBottomOf="@+id/loginServerTitle" /> + + + + + + + + + + + + + + + + + app:layout_constraintTop_toBottomOf="@+id/loginServerChoiceOther"> @@ -138,49 +225,7 @@ - - - - - - - - + diff --git a/vector/src/main/res/values-de/strings_sc.xml b/vector/src/main/res/values-de/strings_sc.xml index 59b28dfb1e..636369fd73 100644 --- a/vector/src/main/res/values-de/strings_sc.xml +++ b/vector/src/main/res/values-de/strings_sc.xml @@ -18,4 +18,12 @@ SchildiChat Konversationen werden hier angezeigt + + Mit Matrix-ID anmelden + Mit Matrix-ID anmelden + z. B. @user:domain.com + @string/login_a11y_choose_other + Benutzerdefinierter Server + Erweiterte Server-Einstellungen + diff --git a/vector/src/main/res/values/strings_sc.xml b/vector/src/main/res/values/strings_sc.xml index e3feeb3334..570edc9f64 100644 --- a/vector/src/main/res/values/strings_sc.xml +++ b/vector/src/main/res/values/strings_sc.xml @@ -18,4 +18,12 @@ SchildiChat Chats will be displayed here + + @string/login_connect_using_matrix_id_submit + @string/login_connect_using_matrix_id_submit + e.g. @user:domain.com + @string/login_a11y_choose_other + Custom server + Advanced server settings +