Commit Graph

2824 Commits

Author SHA1 Message Date
ganfra
df09d82a58 Pinned messages : introduces banner view 2024-07-23 13:05:59 +02:00
Marco Antonio Alvarez
cdcaace227 Fix stickers display text on room summary (#3221)
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-07-19 22:14:22 +02:00
Jorge Martin Espinosa
bc87ff01cf Cancel ringing call notification on call cancellation (#3047)
* Cancel ringing call notification on call cancellation

* Improve implementation, add some comments to clarify how it works.

* Make sure the call timeout job is cancelled
2024-07-19 17:51:44 +02:00
renovate[bot]
f2378ca6ea Update wysiwyg to v2.37.7 (#3218)
* Update wysiwyg to v2.37.7

* Fix API breaks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-07-19 14:14:21 +02:00
renovate[bot]
8a2335f7aa Update dependency org.matrix.rustcomponents:sdk-android to v0.2.33 (#3220)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.33

* Fix API breaks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-07-19 13:33:27 +02:00
Jorge Martin Espinosa
30154783e8 Use the right filename for log files so they're sorted in rageshakes (#3219)
* Use the right filename for log files so they're sorted in rageshakes

* Hide the suffix part so it's not changed by accident
2024-07-19 10:33:33 +00:00
Benoit Marty
8a0d7183ee Remove the alpha channel on those 2 images.
Reduce the image size and fixes an issue in dark mode.
2024-07-18 16:20:00 +02:00
Benoit Marty
f6bafab9c2 Merge pull request #3216 from element-hq/feature/bma/forceDarkTheme
Ensure that the manual dark theme is rendering correctly regarding -night resource and keyboard
2024-07-18 15:30:42 +02:00
Jorge Martin Espinosa
896b1a3e60 Add logging to help debug forced logout issues (#3208)
* Add logging to help debug forced logout issues

* Use tags instead of manually adding the values to the logs.

- Also add extension functions to easily get anonymized tokens from `Session`/`SessionData`.

* Make sure only 1 operation related to token persistence can run at the same time
2024-07-18 13:16:20 +00:00
Benoit Marty
32f5c018d5 Ensure that the manual dark theme is rendering correctly regarding night resource and keyboard. 2024-07-18 14:37:47 +02:00
Benoit Marty
a31e78f186 Merge pull request #3209 from element-hq/feature/bma/fixTruncatedButtons
Reduce the risk of text truncation in buttons.
2024-07-18 10:32:48 +02:00
ganfra
8550680adf Merge pull request #3186 from element-hq/feature/fga/investigate_performance_issue
Performance : improve time to open a room.
2024-07-17 19:18:03 +02:00
Benoit Marty
685f43374d Rename val for clarity. 2024-07-17 18:42:15 +02:00
Benoit Marty
dea8f78cd6 Merge pull request #3206 from element-hq/feature/bma/updateGrammar
Update grammar on Matrix Ids to be more spec compliant and render error instead of infinite loading in room member list screen
2024-07-17 18:20:46 +02:00
Benoit Marty
1dcdde98c2 Reduce the risk of text truncation in buttons. 2024-07-17 17:46:36 +02:00
ganfra
303f46852a Performance : call roomFactory.destroy() 2024-07-17 17:23:15 +02:00
ganfra
dc36634f1c Performance : rename RustRoomObjects to RustRoomReferences 2024-07-17 17:22:56 +02:00
ganfra
79812f8ee4 Performance : do not trigger back pagination when opening room. 2024-07-17 15:49:11 +02:00
ganfra
e93378e7de Performance : add cache on roomListItem and fullRoom 2024-07-17 14:45:14 +02:00
Benoit Marty
79660dab51 Be more lenient on Matrix pattern to support existing rooms in the wild (will fix crash on debug build). 2024-07-17 10:08:25 +02:00
Benoit Marty
81bd3dcca0 Still need to support both eventId legacy and v4 2024-07-16 18:40:03 +02:00
Benoit Marty
48cbf57340 Add extra test for room alias. 2024-07-16 18:25:20 +02:00
Benoit Marty
7506070698 No need to make the block optional. 2024-07-16 18:23:25 +02:00
Benoit Marty
da7743f0bb Add test on MatrixPatterns functions. 2024-07-16 18:21:02 +02:00
Benoit Marty
220a8f67f5 Iterate on MatrixPatterns. 2024-07-16 18:06:18 +02:00
ganfra
27226e382a Merge pull request #3202 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.32
2024-07-16 18:01:07 +02:00
renovate[bot]
d660a859b6 Update dependency org.matrix.rustcomponents:sdk-android to v0.2.32 2024-07-16 17:22:13 +02:00
Benoit Marty
abcc93e616 Merge pull request #3203 from element-hq/feature/bma/clearNotificationWhenMarkAsRead
Clear existing notification when a room is marked as read
2024-07-16 14:48:36 +02:00
Jorge Martin Espinosa
61b6970a6b Fix crash in the room list after a forced log out in background (#3180) 2024-07-16 11:17:04 +00:00
Benoit Marty
e3c7e37f23 When user manually mark a room as read, also dismiss the notifications for this room. 2024-07-16 13:10:30 +02:00
Benoit Marty
b593b47515 Remove PushBindsModule and use ContributesBinding. 2024-07-16 11:29:55 +02:00
Benoit Marty
2585f8ba52 Rename interface NotificationDrawerManager to NotificationCleaner since it actually contains only method to remove notifications. 2024-07-16 11:24:41 +02:00
Benoit Marty
5de86c5df5 Update documentation 2024-07-16 11:14:04 +02:00
Benoit Marty
591eac4ddc Merge pull request #3199 from element-hq/feature/bma/improvePip
Improve pip and add feature flag.
2024-07-16 10:18:13 +02:00
Jorge Martin Espinosa
89ec904c4a Restore intentional mentions in the markdown/plain text editor (#3193)
* Restore intentional mentions in the markdown/plain text editor

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-15 18:27:59 +02:00
Benoit Marty
b95004fe23 Call in PiP: add feature flag, disabled in release builds. 2024-07-15 16:48:39 +02:00
bmarty
3865709d98 Sync Strings from Localazy 2024-07-15 00:23:30 +00:00
ganfra
0fbab53943 Performance : subscribe to timeline items only when necessary 2024-07-12 18:11:36 +02:00
Jorge Martin Espinosa
176755ac33 Subscribe to RoomListItems in the visible range (#3169)
* Subscribe to `RoomListItems` in the visible range

This ensures the room list items always have updated info.
2024-07-11 10:54:56 +02:00
Jorge Martin Espinosa
bb47ff8f49 Unify the way we decide whether a room is a DM or a group room (#3100)
* Add centralised 'room is DM' check

Also add extension functions for `MatrixRoom` and `MatrixRoomInfo`.

* Use the centralised method and extension functions through the app, including:

- Room list.
- Room details screen.
- Invites.
- Notifications.

Replace most `isDirect` usages with `isDm`.

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-10 16:28:46 +00:00
Benoit Marty
29b115dfdf Introduce ElementThemeApp to avoid code duplication. 2024-07-09 11:10:10 +02:00
Jorge Martin Espinosa
c0e1c33159 Fix MainActionButton layout for long texts (#3158)
* Fix `MainActionButton` layout for long texts

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-08 11:43:24 +00:00
ElementBot
8e059cc5c2 Sync Strings (#3156)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-07-08 07:34:58 +00:00
renovate[bot]
8aa4fbdade Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31 (#3145)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31

* Use new Rust client side sorting API

* Make `RoomListEntriesUpdate.describe()` an extension function

* Remove `RoomListSummary.Filled` and `RoomListSummary.Empty`

* Fix icon sizes to pass the lint checks

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-05 15:25:42 +00:00
Benoit Marty
5de08795f4 Merge pull request #3064 from element-hq/feature/bma/avatarClick
Improve click behavior on room timeline title
2024-07-04 16:08:40 +02:00
ganfra
8a3d33c350 Bugfix : avoid potential NPE on verification service. 2024-07-04 14:51:14 +02:00
Benoit Marty
ea62ed7c5a Improve click behavior on room timeline title. #3063 2024-07-04 09:26:39 +02:00
ganfra
d0eecd01b3 Merge pull request #3132 from element-hq/feature/fga/draft_in_memory_when_editing
Draft : add volatile storage when moving to edit mode.
2024-07-03 15:38:00 +02:00
jmartinesp
58f2cbf489 Sync Strings from Localazy 2024-07-03 11:21:27 +00:00
Jorge Martin Espinosa
950e502ca6 Improve screenshot testing with ComposablePreviewScanner (#3125)
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-07-03 13:05:06 +02:00