Commit Graph

1557 Commits

Author SHA1 Message Date
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 7fdd83bf91 GRemove the @JvmField annotation whenever using WarmUpRule. 2023-09-13 15:19:26 +02: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
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
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
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
Benoit Marty be5bece629 Attempt to add extra spacing for Document (#1228) 2023-09-12 13:20:29 +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
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 d69728c0ff Fix and add test. 2023-09-11 12:12:48 +02:00
Benoit Marty 72497b584d 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 f8b630ecb2 Implement a in-memory cache for user avatar colors. 2023-09-11 10:55:26 +02:00
Benoit Marty 3201358cb5 Fix preview 3 of AddPeopleView. 2023-09-11 10:55:26 +02:00
Benoit Marty 046453170c Add @OptIn(ExperimentalCoroutinesApi::class)
Fix warning on runCurrent()
2023-09-11 10:55:26 +02:00
Benoit Marty ac5acd4949 Reorder params. 2023-09-11 10:40:49 +02:00
Benoit Marty 9c9a6ce7be Add a way to configure tracing when the session does not exist yet. 2023-09-11 09:58:40 +02:00
Benoit Marty a30af97ecd Add ConfigureTracingEntryPoint to be able to access the screen from outside the Preference screen. 2023-09-11 09:57:45 +02:00
Benoit Marty 5059d67238 Iterate on tracing configuration
- Add targets matrix_sdk, matrix_sdk::client and matrix_sdk::oidc
- introduce default log level.
2023-09-11 08:57:09 +02:00
Jorge Martin Espinosa 33457e9c58 Make sure notification permission screen is dismissed (#1263)
* Make sure notification permission screen is dismissed
2023-09-11 07:54:44 +02:00
jonnyandrew 896c2325db [Rich text editor] Add formatting menu (#1261)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-08 16:23:15 +00:00
Benoit Marty d1ae6061ec Merge pull request #1252 from vector-im/feature/bma/fabDesign
Floating action button design
2023-09-07 17:45:50 +02:00
Benoit Marty 54968f98ed Add a last Spacer item to ensure that the FAB does not hide the last room item 2023-09-07 17:25:50 +02:00
jonnyandrew f214493c9d [Rich text editor] Integrate rich text editor library (#1172)
* Integrate rich text editor

* Also increase swapfile size in test CI

Fixes issue where screenshot tests are terminated due to lack of CI
resources.

See https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-07 15:21:29 +00:00
Benoit Marty 3d6b5976e3 Iterate on icon in Fab in the room list. 2023-09-07 15:49:51 +02:00
Yoan Pintas 4a5a01d710 Add room notification settings (#807)
* Add room notification settings

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: David Langley <langley.dave@gmail.com>
2023-09-07 10:24:34 +02:00
Benoit Marty 1a1a0f4503 Make links in room topic clickable (#612) 2023-09-06 15:25:40 +02:00
jonnyandrew 9e5b46200b Reduce test flakiness by warming up molecule tests (#1226) 2023-09-06 10:08:21 +00:00
Benoit Marty 128c4a7b09 SDK 0.1.49: notification decryption is now fully handled by the Rust SDK. (#1231)
* Revert "Ensure the sync is started when receiving a Push, to ensure that the encryption loop is running."

This reverts commit 82f6f358a7.

* Integrate SDK from https://github.com/matrix-org/matrix-rust-sdk/pull/2505

* Enable retryDecryption() on the NotificationClient.

* SDK 0.1.49 - Encryption Sync is enabled by default now, and retryDecryption is the default too.

* Remove feature flag `UseEncryptionSync`

* Fix sample project build

* Exclude `DeveloperSettingsPresenter` from kover verification.

* Add changelog

---------

Co-authored-by: Jorge Martín <jorgem@element.io>
2023-09-06 11:33:36 +02:00
Jorge Martin Espinosa cfdccc904e Replace notification permission dialog with a screen (#1223)
* Replace notification permission dialog with a screen

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-05 18:58:05 +02:00
Benoit Marty 4e8ce6c091 Merge pull request #1224 from vector-im/feature/bma/displayNameColor
Iterate on display name and avatar color
2023-09-05 17:24:26 +02:00
Benoit Marty 6ef288c26d Rename parameter and update comment. 2023-09-05 15:45:12 +02:00
Benoit Marty 74fc570708 Composable functions that return a value should start with a lowercase letter 2023-09-05 15:39:31 +02:00
Benoit Marty 1cffbbdca7 Apply colors to default user avatar in the timeline. 2023-09-05 12:44:36 +02:00
Benoit Marty e301d60648 Compute avatar color of users and apply foreground color to the sender displayname. 2023-09-05 12:23:42 +02:00
Benoit Marty 9bf3521f39 Compute avatar color of users and apply foreground color to the sender displayname. 2023-09-05 12:10:30 +02:00
jmartinesp 74b2ddebfd Sync Strings from Localazy 2023-09-05 06:37:36 +00:00