Commit Graph

3036 Commits

Author SHA1 Message Date
renovate[bot]
e2fb396189 Update dependency com.google.firebase:firebase-bom to v32.2.2 (#1025)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 09:44:21 +00:00
renovate[bot]
03cfe4acde Update dependency org.matrix.rustcomponents:sdk-android to v0.1.40 (#1026)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 09:43:06 +00:00
ganfra
615b05178e Update rust sdk to 0.1.39 (#1024)
Co-authored-by: ganfra <francoisg@element.io>
2023-08-02 19:53:05 +00:00
David Langley
30c513b1b5 Reactions ux updates (#1020)
* Fix ordering of reaction count/key label on outgoing messages and fix reaction button height

- Fix ordering of reaction count/key label on outgoing messages
- Fix reaction button height

* Fix emojis circles on action list

* Fix shape of reaction summary button when pressed

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-02 19:18:16 +00:00
ganfra
ed6af5e49d Feature/fga/matrix client versions (#1022)
* Extract a RustMatrixClientFactory

* Use serverVersions api on client builder to speed up startup.

* Clean up

* Fix compilation of sample

---------

Co-authored-by: ganfra <francoisg@element.io>
2023-08-02 18:56:26 +00:00
renovate[bot]
249b8aed02 Update dependency me.saket.telephoto:zoomable-image-coil to v0.5.0 (#1017)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 18:43:47 +00:00
Jorge Martin Espinosa
22d4df1baf Fix notification rendering by removing leftover test code (#1019) 2023-08-02 11:55:13 +00:00
Jorge Martin Espinosa
f8ebb5930d Fix sending read receipts when entering a room (#1016)
* Fix sending read receipts when entering a room

* Improve solution for sending a read receipt when opening a room

* Roll back previous solution as it broke unit tests

* Remove dead code
2023-08-02 11:55:04 +00:00
Jorge Martín
414bbd2f2c Fix concurrentcy group for building develop with a matrix of variants 2023-08-02 11:20:25 +02:00
Jorge Martín
d79b05878a Fix concurrentcy group for building develop 2023-08-02 11:19:28 +02:00
renovate[bot]
acd2623598 Update dependency org.matrix.rustcomponents:sdk-android to v0.1.38 (#1015)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.38

* Fix API breaks

* Use `roomListItem.avatarUrl` if possible

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-08-01 10:29:36 +00:00
ganfra
e453b984ef RoomList: use same logic than Timeline for caching built items. (#1013)
* RoomList: use same logic than Timeline for caching built items. Extract into reusable components.

* RoomList: fix tests

* Fix `DiffCacheUpdater` docs

---------

Co-authored-by: ganfra <francoisg@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-08-01 08:53:41 +00:00
Jorge Martin Espinosa
89b1bba96e CI improvements (#1012) 2023-07-31 21:05:28 +02:00
David Langley
8fd71b4126 Reaction summary view and sorting reactions by count and then timestamp (#942)
* Sort reactions by count and then timestamp

- Sort reactions within an aggregation by timestamp descending. This puts the most recent at the top, useful in cases like the reaction summary view or getting the most recent reaction.
- Sort aggregated reactions by count and then timestamp ascending, using the most recent reaction in the aggregation. This appends new aggregations on the end of the reaction layout.

* Add reaction summary view

* fix warnings

* Fix test unit tests and add sorting tests

- Fix broken build in test code
- Add a test for reaction sorting

* Remove default closure, move logic to presenter and add tests

* Update screenshots

* Fix imports

* Revert Screenshots I didn't update

* Fix imports remove screetshots

* Update screenshots

* Update screenshots

* Address comments.

* Update screenshots

* Remove unnecessary snapshotFlow

* Fix code quality checks

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-31 17:39:20 +00:00
Jorge Martin Espinosa
ffdf005507 Try to skip extra checks in the CI for up to date PRs in merge queue. (#1010)
* Try to skip extra checks in the CI for up to date PRs in merge queue.

* Try to simplify check

* Remove expression syntax from `if`s
2023-07-31 15:19:51 +00:00
Marco Romano
fb1299c955 Properly inline tryOrNull() (#1003)
Nullable params can't be inlined, default empty lambdas are therefore preferred.
2023-07-31 13:49:57 +00:00
ElementBot
e88e8069aa Sync Strings from Localazy (#1002)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-07-31 13:49:52 +00:00
renovate[bot]
dadc0495b2 Update dependency com.freeletics.flowredux:compose to v1.2.0 (#996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 13:48:34 +00:00
Jorge Martin Espinosa
a1dd524471 Try to fix using the merge queue (#1009) 2023-07-31 13:35:38 +00:00
Jorge Martin Espinosa
75137c1469 Fix detekt issues in develop (#1004)
Co-authored-by: Marco Romano <marcor@element.io>
2023-07-31 14:01:08 +02:00
ganfra
7ecbbb0a81 Merge pull request #997 from vector-im/feature/fga/remove_from_main_thread
Feature/fga/remove from main thread
2023-07-31 13:39:06 +02:00
ganfra
e99255f3a1 Merge pull request #998 from vector-im/feature/fga/safer_callback_flows
No crash when room is already destroyed...
2023-07-31 11:59:54 +02:00
ganfra
4290ec7e70 Fix CI 2023-07-31 11:58:49 +02:00
ganfra
1bdb67e4e3 Merge branch 'develop' into feature/fga/safer_callback_flows 2023-07-31 11:36:59 +02:00
ganfra
1571ba9135 Small changes after reviews 2023-07-31 11:36:28 +02:00
ganfra
33595baf90 Merge pull request #999 from vector-im/renovate/anvil
Update anvil to v2.4.7-1-8
2023-07-31 10:09:33 +02:00
renovate[bot]
82d1542241 Update anvil to v2.4.7-1-8 2023-07-29 04:17:49 +00:00
ganfra
a60364d304 Makes sure NotificationService is suspendable 2023-07-28 17:56:17 +02:00
ganfra
42f0474dd2 Messages: remove some blocking code from main thread 2023-07-28 17:55:43 +02:00
Benoit Marty
70787a0345 Merge pull request #986 from vector-im/feature/bma/bigFontSizeImprovement
Big font size improvements
2023-07-28 17:02:29 +02:00
Benoit Marty
e927c05b07 Merge pull request #989 from vector-im/feature/bma/noEmojiForStateEvent
Prevent reaction on state events and deleted events
2023-07-28 16:56:50 +02:00
Benoit Marty
d06f86f79d Merge pull request #967 from vector-im/feature/bma/detektConfig
Update detekt config.
2023-07-28 16:47:26 +02:00
Benoit Marty
8dd1aeabff fix typo 2023-07-28 16:34:37 +02:00
ElementBot
cac4aa6f42 Update screenshots 2023-07-28 14:24:03 +00:00
ganfra
a2c59d4469 Timeline: move TimelineEncryptedHistoryPostProcessor off the main thread 2023-07-28 16:22:30 +02:00
Benoit Marty
443671e355 Merge pull request #991 from vector-im/feature/bma/redactRegardingPowerLevel
Allow user with enough power level to redact other's messages (#969)
2023-07-28 16:13:54 +02:00
Benoit Marty
4d7307bae2 Showkase does not take into account the fontScale parameter of the Preview annotation, so alter the LocalDensity in the CompositionLocalProvider. 2023-07-28 16:08:38 +02:00
Benoit Marty
aabb455ea4 Split long line. 2023-07-28 16:08:38 +02:00
Benoit Marty
157e761000 Rewrite the test, maybe the CI will be happier. 2023-07-28 15:33:35 +02:00
ganfra
ca4bbbc050 No crash when room is already destroyed... 2023-07-28 13:40:18 +02:00
Benoit Marty
0b5a3c56d6 Update the API and add UI screenshots demoing it. 2023-07-28 10:29:13 +02:00
Benoit Marty
bfb27db58b Move extension to dedicated file. 2023-07-28 10:01:22 +02:00
Benoit Marty
962596b417 Merge pull request #993 from vector-im/feature/bma/cleanup
Cleanup doc, and avoid uploading artifact in Maestro job.
2023-07-28 09:54:50 +02:00
Benoit Marty
b2ba9e746f Merge pull request #992 from vector-im/feature/fga/update-rust-sdk-0.1.37
Feature/fga/update rust sdk 0.1.37
2023-07-27 23:20:51 +02:00
Benoit Marty
e07b664108 [doc] Element X can now create room. 2023-07-27 23:14:32 +02:00
Benoit Marty
32bf308b42 ElementX -> Element X 2023-07-27 23:12:54 +02:00
Benoit Marty
438e0c598a Update the recipe about screenshots recording. 2023-07-27 23:10:26 +02:00
Benoit Marty
54e16eae0f No need to upload artifact in this job. This is done by the build job. 2023-07-27 23:03:40 +02:00
ganfra
271d0db587 Also catch Exception instead of RoomListException 2023-07-27 21:12:07 +02:00
ganfra
632c4ef168 Fix warning 2023-07-27 21:11:34 +02:00