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
Jorge Martín
f456eea0e4
Request focus after adding an answer
2023-09-13 16:35:32 +02:00
Marco Romano
bdc6cdd12a
Optimize WarmUpRule #1310
...
This PR is made of 2 commits.
The first is just a mass rename in order to spare 1 line of code every time `WarmUpRule` is used.
The second tweaks `WarmUpRule` so that the warmup code is only run once per test class.
2023-09-13 16:27:32 +02:00
Marco Romano
8881f9732f
Warmup molecule only once.
2023-09-13 15:42:48 +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
ElementBot
18f4016842
Update screenshots
2023-09-13 12:14:40 +00: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
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
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
Benoit Marty
6f93e70871
Merge pull request #1290 from vector-im/renovate/org.matrix.rustcomponents
...
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.51
2023-09-12 23:47:27 +02:00
Benoit Marty
d6a2020bd9
Add contact to OidcConfiguration ( #1250 )
2023-09-12 21:04:57 +02:00
renovate[bot]
d4e141aad8
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.51
2023-09-12 16:42:48 +00: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
Benoit Marty
664caf3041
Renane fun.
2023-09-12 15:13:19 +02:00
Benoit Marty
dd134c626f
Merge pull request #1286 from vector-im/feature/bma/timestampAlign
...
Timestamp align
2023-09-12 15:02:51 +02:00
ElementBot
d48577d792
Update screenshots
2023-09-12 12:37:51 +00:00
Benoit Marty
c0b5084c62
Fix overlapping issue - still not perfect when text is on several lines.
2023-09-12 14:28:49 +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
00d21e24e5
Update analytics sdk to v0.8.0 ( #1284 )
...
Integrates a few breaking changes introducing a `messageType` Composer prop:
- Sends `messageType` = Text by default in composer.
- Refactors existing location analytics to send the appropriate `messageType`.
2023-09-12 14:01:33 +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
ElementBot
da0b691fec
Update screenshots
2023-09-12 11:28:15 +00:00
Benoit Marty
be5bece629
Attempt to add extra spacing for Document ( #1228 )
2023-09-12 13:20:29 +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
bd8b2d0a68
Merge pull request #1273 from vector-im/feature/fga/memory_leak_timeline_content
...
TimelineEvent : fix memory leak
2023-09-12 10:07:38 +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
Benoit Marty
3d0c5e729b
Merge pull request #1220 from vector-im/renovate/actions-checkout-4.x
...
Update actions/checkout action to v4
2023-09-11 16:41:30 +02:00
Benoit Marty
e3d2fe9ec9
Changelog
2023-09-11 16:39:01 +02:00
Benoit Marty
23358b9edb
Disable swipe to reply action for unsupported events.
2023-09-11 16:23:29 +02:00
Benoit Marty
962acc08f6
Hide Reply action if user cannot post to the room.
2023-09-11 16:02:26 +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
995d4e9f6d
Just try using actions/checkout@v4
2023-09-11 14:51:12 +02:00
Benoit Marty
f09e9f9c1f
Merge pull request #1269 from vector-im/feature/bma/posthogProd
...
Ensure Posthog data are sent to "https://posthog.element.io " for release build
2023-09-11 14:44:18 +02:00