Commit Graph

1412 Commits

Author SHA1 Message Date
Benoit Marty
f55e8a6ad8 Remove feature flag RichTextEditor, it's replaced by an advanced settings. 2023-09-14 19:47:41 +02:00
Benoit Marty
7091ad2e01 Add Advanced Settings screen in the preferences. 2023-09-14 19:46:18 +02:00
ganfra
54b290d630 Merge pull request #1298 from vector-im/feature/fga/timeline_thread_decoration
Feature/fga/timeline thread decoration
2023-09-14 18:45:33 +02:00
Benoit Marty
e69e961a70 Avoid lint false positive. 2023-09-14 18:16:10 +02:00
Benoit Marty
7a7160d688 Merge branch 'develop' into feature/bma/manageAccountAndDevice 2023-09-14 17:24:29 +02:00
ganfra
b60b481ee0 Merge branch 'develop' into feature/fga/timeline_thread_decoration 2023-09-14 16:57:20 +02:00
ganfra
455d39c629 Sync Strings from Localazy 2023-09-14 14:38:49 +00:00
Benoit Marty
51e663ffdc Account management with OIDC: split account and session management. #1303 2023-09-14 16:38:13 +02:00
Benoit Marty
aa22e731f9 Import English strings from Localazy 2023-09-14 16:33:09 +02:00
David Langley
433c3554f8 Merge pull request #1304 from vector-im/dla/feature/connect_sdk_to_global_notifications_ui
Add global notification settings
2023-09-14 11:17:11 +01:00
Benoit Marty
fcd33c7721 Merge pull request #1308 from vector-im/feature/fixMaestro
Fix Maestro test.
2023-09-14 11:30:21 +02:00
David Langley
f6f55acbff Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-14 09:52:07 +01:00
Jorge Martin Espinosa
3699b516ea Fix possible memory leak in EventMessageMapper. (#1326) 2023-09-14 08:30:41 +02:00
David Langley
cf3fd06c7e Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-13 21:15:03 +01:00
David Langley
a1a9b57df7 Address PR review comments.
- use util startNotificationSettingsIntent.
- add documentation.
- use remember with userPushStoreFactory for recomposition.
2023-09-13 21:03:52 +01:00
Jorge Martin Espinosa
c1ae0ead3b Fix top padding in room list when app is opened in offline mode (#1299)
* Fix top padding in room list when app is opened in offline mode

* Fix `avatarBloom` not passing the `bottomSoftEdgeColor` to `bloom`
2023-09-13 15:13:15 +00:00
Benoit Marty
a6b2a4af94 Ensure testTag does not resize the Composable. 2023-09-13 16:39:49 +02:00
ganfra
62cabff39a Thread decoration: update preview with new changes 2023-09-13 16:36:35 +02:00
ganfra
c0e518e050 Thread decoration: add "Reply in thread" context 2023-09-13 16:00:44 +02:00
Marco Romano
b860bd30bd GRemove the @JvmField annotation whenever using WarmUpRule. 2023-09-13 15:19:26 +02:00
David Langley
827dd35791 Enabled NotificationSettings by default, Fix spacing, use activeMemberCount for isOneToOne.
- Enabled Notification Settings by default
- Fix spacing
- Use activeMemberCount for isOneToOne
2023-09-13 14:18:28 +01:00
Benoit Marty
6702dc6895 Maestro: ensure the Rich Text Editor can be clicked by Maestro.
We cannot click on the hint "Message" anymore, since it's now a separate Text.
2023-09-13 14:33:32 +02:00
ganfra
7021fc0fe5 Thread decoration : fix test compilation 2023-09-13 14:13:51 +02:00
David Langley
91cf00a3c4 Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-13 13:00:11 +01:00
David Langley
ccd684ea40 Add tests, mocks and lint 2023-09-13 12:44:22 +01:00
ganfra
b6be989884 Thread decoration: add and branch isThreaded method 2023-09-13 12:05:50 +02:00
Marco Romano
c3e595bf4f Set proper progress indicator track color on polls (#1295)
Not yet a semantic color, so hardcoding it.
2023-09-13 11:51:29 +02:00
ganfra
f27f49160d Merge branch 'develop' into feature/fga/timeline_thread_decoration 2023-09-13 11:42:46 +02:00
ganfra
95d6b6e58b Thread decoration: create the ThreadDecoration ui 2023-09-13 11:40:16 +02:00
jonnyandrew
d5b01ac0b4 [Rich text editor] Add feature flag for rich text editor (#1289) 2023-09-13 08:17:02 +00:00
Benoit Marty
d9225d4465 Add contact to OidcConfiguration (#1250) 2023-09-12 21:04:57 +02:00
David Langley
7d95feadc1 Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-12 16:30:36 +01:00
Jorge Martin Espinosa
07d63298be [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
aa67dfb17a 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]
29bbb0bfc4 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
8da433884e PR review
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-09-12 09:46:12 +02:00
David Langley
2f6f28bfbb Implement Notification Settings
- Add UI and logic to inform the user of mismatched notification settings and help them correct it.
- Display a warning when the system notification settings are disabled and a link out to the app settings.
- A toggle to disable notifications for the device
- A screen for editing the group and direct chat notification defaults.
- A toggle for switching on/off atRoom and call notifications.
2023-09-12 01:11:13 +01:00
ganfra
4196b973f4 TimelineEvent : fix memory leak 2023-09-11 17:47:58 +02:00
Jorge Martin Espinosa
94dc6f41e2 [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
ddb8f66c32 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
0a8e6ad073 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
f4b2c40f0d Move class AvatarColorsProvider to its own file. 2023-09-11 10:55:26 +02:00
Benoit Marty
fad442760d 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
5a85efc458 Implement a in-memory cache for user avatar colors. 2023-09-11 10:55:26 +02:00
Benoit Marty
06a607abf8 Apply avatar colors to all the avatars across the app. 2023-09-11 10:55:26 +02:00
Benoit Marty
5f77740533 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
a05f4d8999 [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
7564d195b5 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
a759e08d18 rename parameter to match parent name. 2023-09-08 08:22:41 +02:00
Benoit Marty
5636996605 Merge pull request #1246 from vector-im/feature/bma/enablePolls
Feature/bma/enable polls
2023-09-07 22:48:16 +02:00