Commit graph

1372 commits

Author SHA1 Message Date
ganfra
0fb93d1cca Thread decoration: update preview with new changes 2023-09-13 16:36:35 +02:00
ganfra
b36ea5cedf Thread decoration: add "Reply in thread" context 2023-09-13 16:00:44 +02:00
ganfra
27ecec763b Thread decoration : fix test compilation 2023-09-13 14:13:51 +02:00
ganfra
36fdf243cc Thread decoration: add and branch isThreaded method 2023-09-13 12:05:50 +02:00
ganfra
30436e4406 Merge branch 'develop' into feature/fga/timeline_thread_decoration 2023-09-13 11:42:46 +02:00
ganfra
9f5666ac0c Thread decoration: create the ThreadDecoration ui 2023-09-13 11:40:16 +02:00
jonnyandrew
8ab391f615
[Rich text editor] Add feature flag for rich text editor (#1289) 2023-09-13 08:17:02 +00:00
Benoit Marty
d6a2020bd9 Add contact to OidcConfiguration (#1250) 2023-09-12 21:04:57 +02:00
Jorge Martin Espinosa
fb9d08bab0
[Compound] Improve Bloom (#1272)
* Improve Bloom:
  - Simplify bloom blurred image.
  - Display very subtle bloom for avatars with soft colors.
* Improve caching and performance

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-12 14:02:59 +02:00
Marco Romano
a4c9c55a8b
New icons for Poll and Poll end (#1280)
Now both icons come from our designs and have a consistent size and padding (previously the poll one was coming from the material icons).
2023-09-12 13:35:26 +02:00
renovate[bot]
04c82aa1a5
Update core to v1.12.0 (#1242)
* Update core to v1.12.0

* Fixed now nullable `PendingIntent` creation

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-09-12 12:00:29 +02:00
ganfra
5570999951
PR review
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-09-12 09:46:12 +02:00
ganfra
4b6a44db00 TimelineEvent : fix memory leak 2023-09-11 17:47:58 +02:00
Jorge Martin Espinosa
41061da768
[Compound] Bloom (#1253)
* Add `bloom` and `avatarBloom` modifiers.

* Add `ConnectivityIndicatorContainer` to control the padding needed at the top.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-11 15:43:23 +02:00
Jorge Martin Espinosa
e6ecedf7bb
Take screen density into account when requesting thumbnails (#1262)
* Take screen density into account when requesting thumbnails

Otherwise, we could be asking for images with N size while we needed images for N@2x or N@3x size i.e.
2023-09-11 15:24:56 +02:00
Benoit Marty
76d0130ead
Merge pull request #1268 from vector-im/feature/bma/moreTrace
Add SDK trace item, set RUST_BACKTRACE and be able to configure trace before a session exists.
2023-09-11 12:34:32 +02:00
Benoit Marty
4e40d694e7 Move class AvatarColorsProvider to its own file. 2023-09-11 10:55:26 +02:00
Benoit Marty
72497b584d Now that we use a cache, there is no need to provide AvatarColors to the Avatar composable. 2023-09-11 10:55:26 +02:00
Benoit Marty
f8b630ecb2 Implement a in-memory cache for user avatar colors. 2023-09-11 10:55:26 +02:00
Benoit Marty
5d89647a89 Apply avatar colors to all the avatars across the app. 2023-09-11 10:55:26 +02:00
Benoit Marty
5059d67238 Iterate on tracing configuration
- Add targets matrix_sdk, matrix_sdk::client and matrix_sdk::oidc
- introduce default log level.
2023-09-11 08:57:09 +02:00
jonnyandrew
896c2325db
[Rich text editor] Add formatting menu (#1261)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-08 16:23:15 +00:00
Benoit Marty
5a0e0a89e5
Merge pull request #1257 from vector-im/feature/fga/sync_indicator_api
Feature/fga/sync indicator api
2023-09-08 09:54:09 +02:00
Benoit Marty
0e1d61bc12 rename parameter to match parent name. 2023-09-08 08:22:41 +02:00
Benoit Marty
41de288a8d
Merge pull request #1246 from vector-im/feature/bma/enablePolls
Feature/bma/enable polls
2023-09-07 22:48:16 +02:00
ganfra
555f706fbb Merge branch 'develop' into feature/fga/sync_indicator_api 2023-09-07 21:56:48 +02:00
ganfra
d8478da5e0
Merge pull request #1251 from vector-im/feature/fga/room-list-room-info
Use roomInfo instead of individually access roomListItem properties
2023-09-07 21:09:34 +02:00
ganfra
a3940ddc5b Use roomInfo instead of individually access roomListItem properties 2023-09-07 20:44:26 +02:00
Benoit Marty
d1ae6061ec
Merge pull request #1252 from vector-im/feature/bma/fabDesign
Floating action button design
2023-09-07 17:45:50 +02:00
jonnyandrew
f214493c9d
[Rich text editor] Integrate rich text editor library (#1172)
* Integrate rich text editor

* Also increase swapfile size in test CI

Fixes issue where screenshot tests are terminated due to lack of CI
resources.

See https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-07 15:21:29 +00:00
ganfra
6f86fca2c2 Sync: use the new SyncIndicator api 2023-09-07 17:03:52 +02:00
Benoit Marty
1dbecaac79
Fix typo 2023-09-07 17:02:45 +02:00
Benoit Marty
3d6b5976e3 Iterate on icon in Fab in the room list. 2023-09-07 15:49:51 +02:00
Benoit Marty
b9896bab80 Use CircleShape by default on FAB, for coherency with other platforms. 2023-09-07 15:10:10 +02:00
Benoit Marty
762a03259b Make a diff between FeatureFlags.defaultValue and value returned by StaticFeatureFlagProvider.isFeatureEnabled().
Iterate after Ganfra's review.
2023-09-07 12:32:21 +02:00
Benoit Marty
aacfa0d83a To avoid mistake, FeatureFlags does not have defaultValue set to true, and StaticFeatureFlagProvider return the default value.
This fixes #1241.
2023-09-07 10:51:35 +02:00
Benoit Marty
c16c875e68 Rework the feature flag module.
Fix typo, rename class and interface, add doc, do small refacto, to improve code clarity.
2023-09-07 10:50:02 +02:00
Yoan Pintas
4a5a01d710
Add room notification settings (#807)
* Add room notification settings

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: David Langley <langley.dave@gmail.com>
2023-09-07 10:24:34 +02:00
jonnyandrew
9e5b46200b
Reduce test flakiness by warming up molecule tests (#1226) 2023-09-06 10:08:21 +00:00
Benoit Marty
11982e60e9
Merge pull request #1233 from vector-im/feature/bma/fixNightly
Feature/bma/fix nightly
2023-09-06 11:53:23 +02:00
Benoit Marty
128c4a7b09
SDK 0.1.49: notification decryption is now fully handled by the Rust SDK. (#1231)
* Revert "Ensure the sync is started when receiving a Push, to ensure that the encryption loop is running."

This reverts commit 82f6f358a7.

* Integrate SDK from https://github.com/matrix-org/matrix-rust-sdk/pull/2505

* Enable retryDecryption() on the NotificationClient.

* SDK 0.1.49 - Encryption Sync is enabled by default now, and retryDecryption is the default too.

* Remove feature flag `UseEncryptionSync`

* Fix sample project build

* Exclude `DeveloperSettingsPresenter` from kover verification.

* Add changelog

---------

Co-authored-by: Jorge Martín <jorgem@element.io>
2023-09-06 11:33:36 +02:00
Benoit Marty
ffff48b66e Fix R8 error, due to exclusion of analytics group done in #1221. 2023-09-06 08:58:32 +02:00
Jorge Martin Espinosa
cfdccc904e
Replace notification permission dialog with a screen (#1223)
* Replace notification permission dialog with a screen

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-05 18:58:05 +02:00
Benoit Marty
d4b527fb80
Merge pull request #1225 from vector-im/feature/bma/forceDarkTheme
Fix system bar color after login on light theme.
2023-09-05 17:30:56 +02:00
Benoit Marty
4e8ce6c091
Merge pull request #1224 from vector-im/feature/bma/displayNameColor
Iterate on display name and avatar color
2023-09-05 17:24:26 +02:00
Benoit Marty
8b5b860d8d
Merge pull request #1215 from vector-im/sync-localazy
Sync Strings
2023-09-05 16:31:49 +02:00
Benoit Marty
717f632b35 Fix system bar color after login on light theme.
Actually for the SunsetPage, we need a light status bar.
2023-09-05 16:19:04 +02:00
Benoit Marty
6ef288c26d Rename parameter and update comment. 2023-09-05 15:45:12 +02:00
Benoit Marty
d383590910 Use bolder font for fallback avatar. 2023-09-05 15:39:31 +02:00
Benoit Marty
ff77fca34d Avoid hard-coded number and update the related test. 2023-09-05 15:39:31 +02:00