Commit Graph

1622 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 e058402a64 Merge branch 'develop' into feature/bma/advancedSettings 2023-09-14 20:13:26 +02:00
Benoit Marty c01cc4aeb4 Move developer settings and remove extra dividers. 2023-09-14 19:48:20 +02:00
Benoit Marty 93da8d419e Add test on AdvancedSettingsPresenterTest 2023-09-14 19:48:20 +02:00
Benoit Marty 32f4141480 Fix typo in fun names. 2023-09-14 19:48:20 +02:00
Benoit Marty 7d9b865575 Show "View Event" if the developer mode is enabled. 2023-09-14 19:48:20 +02:00
Benoit Marty 0424192834 Rename Developer -> ViewSource 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
Benoit Marty 6ff9e802fc Change implementation to testImplementation on a test module. 2023-09-14 19:44:24 +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
jonnyandrew 15eb976ffb [Rich text editor] Fix 'text formatting' option only partially visible (#1335) 2023-09-14 16:32:15 +00: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
ganfra 96fbdb91c7 Thread decoration : pr review 2023-09-14 14:57:39 +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
Marco Romano 819b82533d Change "anonymous" copy in the create poll screen (#1325) 2023-09-14 12:12:49 +02:00
Jorge Martin Espinosa 754671303a Fix long click on simple formatted messages (#1327) 2023-09-14 11:51:10 +02:00
David Langley f6b6a0a1e2 Fix warning for removed call notification setting code. 2023-09-14 09:51:45 +01: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 3907067b7f lint 2023-09-13 21:14:37 +01:00
David Langley 79c70d68c9 - Remove call notification toggle 2023-09-13 21:12:16 +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
Marco Romano 49c723e3b2 Poll Creation: Switch focus to newly added option field when clicking "Add option". #1294
Poll Creation: Switch focus to newly added option field when clicking "Add option".
2023-09-13 16:59:17 +02:00
ganfra 0fb93d1cca Thread decoration: update preview with new changes 2023-09-13 16:36:35 +02:00
Jorge Martín f456eea0e4 Request focus after adding an answer 2023-09-13 16:35:32 +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
David Langley 48e24a0b6a Merge branch 'dla/feature/connect_sdk_to_global_notifications_ui' of https://github.com/vector-im/element-x-android into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-13 13:22:11 +01:00
David Langley ebde39055c Use CommonStirngs 2023-09-13 13:22:05 +01:00
Marco Romano 21e25e93e1 Poll Creation: Switch focus to newly added option field when clicking "Add option".
- Also scrolls the list to make the "Add option" button visible for further additions.
2023-09-13 14:12:58 +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
Marco Romano 9932bc7ed3 Improve ListItem logical item grouping 2023-09-13 13:43:54 +02:00
Marco Romano b426084415 Test analytics when sending messages (#1296)
Covers changes in https://github.com/vector-im/element-x-android/pull/1288
2023-09-13 13:43:17 +02: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
Marco Romano f327726f53 Send composer analytics when sending a message (#1288)
Composer event are not sent to posthog when sending messages.

After investigation I've found that in `MessageComposerPresenter` the `analyticsService.capture()` call is invoked in the `SetMode` event handler rather than in the `SendMessage` event handler.

This change should result in the desired behavior.
2023-09-13 07:59: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
Marco Romano 8abaee8708 Polls analytics (#1285)
Send poll analytics event (creation, vote, end) where appropriate.
2023-09-12 16:03:40 +02:00
Benoit Marty 05a3b64c05 Merge pull request #1271 from vector-im/feature/bma/replyCondition
Reply action: harmonize condition
2023-09-12 15:13:40 +02:00