Commit Graph

3488 Commits

Author SHA1 Message Date
Marco Romano
bda4e12790 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
5d8666a507 Warmup molecule only once. 2023-09-13 15:42:48 +02:00
Marco Romano
b860bd30bd GRemove the @JvmField annotation whenever using WarmUpRule. 2023-09-13 15:19:26 +02:00
Marco Romano
47f030cffe 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
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
jonnyandrew
d5b01ac0b4 [Rich text editor] Add feature flag for rich text editor (#1289) 2023-09-13 08:17:02 +00:00
Marco Romano
f136a308b2 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
3e0390e374 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
d9225d4465 Add contact to OidcConfiguration (#1250) 2023-09-12 21:04:57 +02:00
renovate[bot]
57ae88ef80 Update dependency org.matrix.rustcomponents:sdk-android to v0.1.51 2023-09-12 16:42:48 +00:00
Marco Romano
5b018fd308 Polls analytics (#1285)
Send poll analytics event (creation, vote, end) where appropriate.
2023-09-12 16:03:40 +02:00
Benoit Marty
aeaf3409bf Merge pull request #1271 from vector-im/feature/bma/replyCondition
Reply action: harmonize condition
2023-09-12 15:13:40 +02:00
Benoit Marty
eccb793be4 Renane fun. 2023-09-12 15:13:19 +02:00
Benoit Marty
878e25a565 Merge pull request #1286 from vector-im/feature/bma/timestampAlign
Timestamp align
2023-09-12 15:02:51 +02:00
ElementBot
69603db138 Update screenshots 2023-09-12 12:37:51 +00:00
Benoit Marty
2913e2b3ff Fix overlapping issue - still not perfect when text is on several lines. 2023-09-12 14:28:49 +02: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
5ddaf0547f 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
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
ElementBot
ca6d6f8a94 Update screenshots 2023-09-12 11:28:15 +00:00
Benoit Marty
c4f2ecbe78 Attempt to add extra spacing for Document (#1228) 2023-09-12 13:20:29 +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
0ed6268f12 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
8da433884e PR review
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-09-12 09:46:12 +02:00
ganfra
4196b973f4 TimelineEvent : fix memory leak 2023-09-11 17:47:58 +02:00
Benoit Marty
0ff92b4f92 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
fa42ad210f Changelog 2023-09-11 16:39:01 +02:00
Benoit Marty
d626243834 Disable swipe to reply action for unsupported events. 2023-09-11 16:23:29 +02:00
Benoit Marty
a14f13a2a2 Hide Reply action if user cannot post to the room. 2023-09-11 16:02:26 +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
6537bc1617 Just try using actions/checkout@v4 2023-09-11 14:51:12 +02:00
Benoit Marty
ac6d822bef 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
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
43247f7206 Merge pull request #1264 from vector-im/feature/bma/roomColors
Room avatar colors
2023-09-11 12:14:45 +02:00
Benoit Marty
04a132373a Fix and add test. 2023-09-11 12:12:48 +02:00
Benoit Marty
a5bc188e73 Class annotated with @ContributesMultibinding cannot be internal. 2023-09-11 12:03:17 +02:00
Benoit Marty
12f8913fe1 changelog. 2023-09-11 11:37:56 +02:00
Benoit Marty
23d549d2e2 Ensure Posthog data are sent to "https://posthog.element.io" for release build. 2023-09-11 11:35:19 +02:00
ElementBot
0f0e5ed4ac Update screenshots 2023-09-11 09:08:37 +00: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
82bc4b9917 Fix preview 3 of AddPeopleView. 2023-09-11 10:55:26 +02:00
Benoit Marty
8cb84576be Add @OptIn(ExperimentalCoroutinesApi::class)
Fix warning on runCurrent()
2023-09-11 10:55:26 +02:00
Benoit Marty
05bbff3da8 Add warning about issue on alpha07 2023-09-11 10:55:26 +02:00
Benoit Marty
39119f0131 Merge pull request #1266 from vector-im/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.2.2
2023-09-11 10:41:28 +02:00
Benoit Marty
d4f286a821 Reorder params. 2023-09-11 10:40:49 +02:00
ElementBot
c1fa564097 Update screenshots 2023-09-11 08:08:27 +00:00