Commit graph

1420 commits

Author SHA1 Message Date
Benoit Marty
1c56d95eab Do not render notification if the user has dismiss the notification.
It should not change anything, just avoid doing useless notification rendering.
2023-09-15 15:42:55 +02:00
Benoit Marty
60104822cd Notification: log roomId and eventId 2023-09-15 14:45:46 +02:00
jonnyandrew
6563dca4f2
[Rich text editor] Update design (#1332)
* Fix composer height and padding

* Update plus and cancel icons with design system icons

* Update border so that it is always visible

* Update placeholder color

* Update send and tick icons

* Update design of formatting buttons

* Update RTE icons

* Reduce bottom padding

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-15 10:16:30 +00:00
ganfra
2d98b397c6
Merge pull request #1346 from vector-im/feature/fga/update_rust_sdk_0.1.53
Update rust sdk to 0.1.53
2023-09-15 10:55:32 +02:00
ganfra
7914ec0a28 Update rust sdk to 0.1.53 2023-09-15 10:27:57 +02:00
Marco Romano
2bd442b3a4 Add preview for progressIndicatorTrackColor
Forgot to add it in https://github.com/vector-im/element-x-android/pull/1295
2023-09-15 09:24:55 +02:00
Benoit Marty
32f4141480 Fix typo in fun names. 2023-09-14 19:48:20 +02:00
Benoit Marty
4fe2f7a64b Developer mode on for debug build. 2023-09-14 19:48:20 +02:00
Benoit Marty
657ac05e01 Remove feature flag RichTextEditor, it's replaced by an advanced settings. 2023-09-14 19:47:41 +02:00
Benoit Marty
2d9cdd1acf Add Advanced Settings screen in the preferences. 2023-09-14 19:46:18 +02:00
ganfra
239730702d
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
4e5036f962 Avoid lint false positive. 2023-09-14 18:16:10 +02:00
Benoit Marty
7f39e178c3
Merge branch 'develop' into feature/bma/manageAccountAndDevice 2023-09-14 17:24:29 +02:00
ganfra
cc33e39dc6
Merge branch 'develop' into feature/fga/timeline_thread_decoration 2023-09-14 16:57:20 +02:00
ganfra
b382993cbb Sync Strings from Localazy 2023-09-14 14:38:49 +00:00
Benoit Marty
b4546118f9 Account management with OIDC: split account and session management. #1303 2023-09-14 16:38:13 +02:00
Benoit Marty
1e0665c3e9 Import English strings from Localazy 2023-09-14 16:33:09 +02:00
David Langley
3406b8a85f
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
206579e647
Merge pull request #1308 from vector-im/feature/fixMaestro
Fix Maestro test.
2023-09-14 11:30:21 +02:00
David Langley
9cf4346805
Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-14 09:52:07 +01:00
Jorge Martin Espinosa
97bbb8296f
Fix possible memory leak in EventMessageMapper. (#1326) 2023-09-14 08:30:41 +02:00
David Langley
62dedbb320
Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-13 21:15:03 +01:00
David Langley
004abd16dc 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
4bf439d5ec
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
3c81f12f93 Ensure testTag does not resize the Composable. 2023-09-13 16:39:49 +02:00
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
Marco Romano
7fdd83bf91 GRemove the @JvmField annotation whenever using WarmUpRule. 2023-09-13 15:19:26 +02:00
David Langley
5e8cb958f8 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
aedfed3be9 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
27ecec763b Thread decoration : fix test compilation 2023-09-13 14:13:51 +02:00
David Langley
0d53626077
Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-13 13:00:11 +01:00
David Langley
1260272c33 Add tests, mocks and lint 2023-09-13 12:44:22 +01:00
ganfra
36fdf243cc Thread decoration: add and branch isThreaded method 2023-09-13 12:05:50 +02:00
Marco Romano
b960892f09
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
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
David Langley
c3fbac4678 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
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
David Langley
a0ac324e3f 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
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