Commit graph

2081 commits

Author SHA1 Message Date
Benoit Marty
096c935874 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
3bf8093cca Notification: log roomId and eventId 2023-09-15 14:45:46 +02:00
Jorge Martín
41e614310f Changes:
- Improve UI to match designs.
- Extract `EditableAvatarView` component.
- Create `LabelledOutlinedTextField`.
- Get strings from Localazy.
2023-09-15 14:04:21 +02:00
jonnyandrew
6ca4317ca5 Merge branch 'develop' into jonny/fix-placeholder-overflow 2023-09-15 11:57:11 +01:00
Jorge Martín
fa277f062f Add preference screen for user profile 2023-09-15 12:16:47 +02:00
jonnyandrew
36119106a9 [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
jonnyandrew
c56a7fb3f5 Merge branch 'develop' into jonny/fix-placeholder-overflow 2023-09-15 11:14:54 +01:00
jonnyandrew
743a1e654b Fix placeholder spilling onto multiple lines 2023-09-15 11:11:43 +01:00
David Langley
b87e88d2f2 Use userDefinedNotificationMode. 2023-09-15 10:42:54 +01:00
David Langley
a3ef7c791e Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration 2023-09-15 10:26:24 +01:00
ganfra
fe41d2aa28 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
6c45945f57 Update rust sdk to 0.1.53 2023-09-15 10:27:57 +02:00
Marco Romano
44a9da8fbf Make PollContentView a11y friendly
Improves a bit how screen readers read polls in the timeline.
- Adds a few `contentDescription` so that talkback reads “poll” or “ended poll” before the poll question.
- Changes the compose structure of the answers so that they are properly scanned by the screen reader. This meant getting rid of the `IconToggleButton` which was made redundant by the use of the `selectable`.
2023-09-15 09:53:17 +02:00
Marco Romano
79e5bc7ae5 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
David Langley
fc487ba9da Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration 2023-09-14 19:30:02 +01:00
David Langley
f0aaa56425 Fix test compilation 2023-09-14 19:28:56 +01:00
Benoit Marty
33bf410710 Fix typo in fun names. 2023-09-14 19:48:20 +02:00
Benoit Marty
cdd8f0e158 Developer mode on for debug build. 2023-09-14 19:48:20 +02:00
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
2a7a46841e Show a room list decoration for notification setting applied
- Add the UI
- Rebuild room summaries when push rules change or when user disables notifications(hide them all)
2023-09-14 14:24:13 +01: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