Commit graph

6393 commits

Author SHA1 Message Date
ganfra
f3c1eb6738 Use the new setIsFavorite api 2024-02-06 16:04:44 +01:00
Benoit Marty
706ce1d0cd Do not use a key for the LazyColumn, or the scroll will not behave as expected if a room is moved to the top of the list. 2024-02-06 15:33:03 +01:00
Benoit Marty
94b7460614
Merge pull request #2351 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.97
2024-02-06 15:16:13 +01:00
Benoit Marty
2870375499
Merge pull request #2347 from element-hq/feature/bma/gradleWrapperUpgrade
Upgrade gradle wrapper to 8.6 using command line
2024-02-06 09:19:10 +01:00
Benoit Marty
8c56f0bd92 Fix API break and change from SDK 0.1.97 2024-02-06 09:18:35 +01:00
Benoit Marty
07d13fc981 Fix test now that the send button is always enabled but can fail if description is too short. 2024-02-06 09:01:59 +01:00
Benoit Marty
d7b6c39eb0 Small rework: create classical createPresenter() method to reduce code duplication. 2024-02-06 08:54:49 +01:00
renovate[bot]
3fa17be222
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.97 2024-02-05 19:57:51 +00:00
Benoit Marty
9cef656d20 Fiw formatting error. 2024-02-05 18:33:35 +01:00
ElementBot
3814ea0046 Update screenshots 2024-02-05 15:25:54 +00:00
Benoit Marty
87f14d8bab Make the button to send problem enable, but show an error if the decription is too short to prevent users from being blocked. 2024-02-05 16:00:29 +01:00
Benoit Marty
bab2ae4bfe
Merge pull request #2348 from element-hq/feature/bma/fixMatrixRoomLink
Change link to Element Android room to Element X Android room.
2024-02-05 15:27:48 +01:00
Benoit Marty
320d5192c9 Remove _, added by mistake. 2024-02-05 15:25:39 +01:00
ElementBot
cbb11d2550 Update screenshots 2024-02-05 14:25:10 +00:00
Benoit Marty
95fba29669 Changelog 2024-02-05 15:16:13 +01:00
Benoit Marty
9f6c6ef76f Change link to Element Android room to Element X Android room. 2024-02-05 14:34:54 +01:00
Benoit Marty
cbf7e9cfce Hide Read Receipt if the user set Rended Read Receipt to false (actually disabled the "Share presence" toggle) 2024-02-05 13:07:27 +01:00
Benoit Marty
5747453505 Take into account the setting isSendTypingNotificationsEnabled to not send typing notification when it's been disabled by the user. 2024-02-05 13:07:27 +01:00
Benoit Marty
23fb7811f3 Update advanced settings screen. Replace Read Receipt private mode by Share presence. 2024-02-05 13:07:27 +01:00
Benoit Marty
9d1bc5925c Avoid computing default value if it's not necessary. 2024-02-05 12:29:36 +01:00
Benoit Marty
a3716d0e0d SessionPreferencesStore: add entries for sharePresence, renderReadReceipts, sendTypingNotifications, renderTypingNotifications.
`sharePresence` should take existing value of `sendPublicReadReceipts`, which has been added first.
2024-02-05 12:27:04 +01:00
Benoit Marty
da1e86a51b Upgrade gradle wrapper to 8.6 using command line:
./gradlew wrapper --gradle-version 8.6 --distribution-type all --gradle-distribution-sha256-sum 85719317abd2112f021d4f41f09ec370534ba288432065f4b477b6a3b652910d
2024-02-05 11:21:01 +01:00
Benoit Marty
8891186ddf
Merge pull request #2344 from element-hq/renovate/com.google.truth-truth-1.x
Update dependency com.google.truth:truth to v1.4.0
2024-02-05 10:59:16 +01:00
Benoit Marty
e009c9ee68
Merge pull request #2345 from element-hq/sync-localazy
Sync Strings
2024-02-05 10:26:37 +01:00
bmarty
03c95555e3 Sync Strings from Localazy 2024-02-05 00:09:59 +00:00
renovate[bot]
fee8cda04a
Update dependency com.google.truth:truth to v1.4.0 2024-02-02 22:17:18 +00:00
Jorge Martin Espinosa
aabca49c20
Merge pull request #2342 from element-hq/feature/jme/2330-add-empty-state-for-room-list
Add an empty state to the room list
2024-02-02 16:30:58 +01:00
Jorge Martin Espinosa
eff515e544
Merge pull request #2303 from element-hq/misc/jme/remove-session-preferences-on-logout
Remove session preferences on logout.
2024-02-02 16:26:15 +01:00
ganfra
d9017a098c Favorite : rework and add tests 2024-02-02 14:54:28 +01:00
Jorge Martín
5f064a4b27 Only display placeholder list when the room list hasn't loaded yet 2024-02-02 13:31:43 +01:00
ElementBot
8060c870f1 Update screenshots 2024-02-02 12:12:03 +00:00
Jorge Martín
02fe07a6bd Tweak room list behaviour:
- Instead of an extra item, use `contentPadding`.
- Make sure each item has an unique id.
2024-02-02 13:05:37 +01:00
Jorge Martín
e9c0aee96e Fix full placeholder screen 2024-02-02 13:04:56 +01:00
Jorge Martín
aa32123c82 Make the RoomListRoomSummaryFactory.createPlaceholder and RoomListRoomSummaryFactory.createFakeList functions static ones 2024-02-02 13:04:28 +01:00
Jorge Martín
49646f2bef Add an empty state to the room list.
- Make `RoomListDataSource.allRooms` a `SharedFlow` so we can know when we don't have a value yet.
- Map its output in `RoomListPresenter` to `AsyncData`.
- Display the new empty state when the room list has loaded and has no items.
2024-02-02 12:39:09 +01:00
Jorge Martín
b3538e9d96 Add changelog 2024-02-02 11:37:01 +01:00
Jorge Martín
686d58ee0a Fix message forwarding after SDK API change
Created `Room.fullRoomWithTimeline` helper to always get an initialized timeline with the room object.
2024-02-02 11:34:12 +01:00
Benoit Marty
9fad3f9b23
Merge pull request #2339 from element-hq/renovate/wysiwyg
Update wysiwyg to v2.27.0
2024-02-02 09:41:32 +01:00
Jorge Martin Espinosa
6de07ccc50
Merge pull request #2212 from surakin/align-cta-button-on-login-flow
Aligned CTA button on login flow
2024-02-02 08:15:17 +01:00
Marco Antonio Alvarez
3cc5716095 empty commit 2024-02-01 18:25:27 +01:00
ElementBot
e99d28bbc1 Update screenshots 2024-02-01 17:21:58 +00:00
Marco Antonio Alvarez
8351b89da8 fix spacing between continue and report problem
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-02-01 18:09:35 +01:00
Marco Antonio Alvarez
f98cd5b99b Merge branch 'develop' of github.com:element-hq/element-x-android into align-cta-button-on-login-flow
# Conflicts:
#	features/onboarding/impl/src/main/kotlin/io/element/android/features/onboarding/impl/OnBoardingView.kt
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_0,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_1,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_2,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_3,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_4,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_0,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_1,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_2,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_3,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_4,NEXUS_5,1.0,en].png
2024-02-01 17:54:11 +01:00
Jorge Martin Espinosa
f89d02fa74
Merge pull request #2336 from element-hq/renovate/org.sonarqube-4.x
Update plugin sonarqube to v4.4.1.3373
2024-02-01 16:37:36 +01:00
Jorge Martin Espinosa
a189e744e7
Merge pull request #2333 from element-hq/feature/jme/use-unencrypted-room-calls-if-room-is-not-encrypted
Use `MatrixRoom.isEncrypted` value to set encryption mode in room calls
2024-02-01 16:19:42 +01:00
renovate[bot]
857b47d69e
Update wysiwyg to v2.27.0 2024-02-01 15:14:09 +00:00
Jorge Martín
c392477f49 Remove sonarqube regression warning message 2024-02-01 16:09:14 +01:00
Benoit Marty
e946d92ec3
Merge pull request #2328 from element-hq/sync-localazy
Sync Strings
2024-02-01 15:44:42 +01:00
Benoit Marty
fcb61e7c9f
Merge pull request #2326 from element-hq/renovate/gradle-gradle-build-action-3.x
Update gradle/gradle-build-action action to v3
2024-02-01 15:43:01 +01:00
Benoit Marty
69bd18e8f6
Merge pull request #2334 from SpiritCroc/up-unregister-crash
Do not crash on UP unregistered
2024-02-01 15:41:33 +01:00