Benoit Marty
5a85efc458
Implement a in-memory cache for user avatar colors.
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
Jorge Martin Espinosa
f03cbc1c2e
Make sure notification permission screen is dismissed ( #1263 )
...
* Make sure notification permission screen is dismissed
2023-09-11 07:54:44 +02:00
jonnyandrew
a05f4d8999
[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
a3b9864939
Merge pull request #1252 from vector-im/feature/bma/fabDesign
...
Floating action button design
2023-09-07 17:45:50 +02:00
Benoit Marty
12e5fbb69b
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
11c1fca92e
[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
02c94501f4
Iterate on icon in Fab in the room list.
2023-09-07 15:49:51 +02:00
Yoan Pintas
4a870fc4a5
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
31e14aa59d
Make links in room topic clickable ( #612 )
2023-09-06 15:25:40 +02:00
jonnyandrew
301e49c3a3
Reduce test flakiness by warming up molecule tests ( #1226 )
2023-09-06 10:08:21 +00:00
Benoit Marty
a3adb7deaa
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 74a444966e .
* 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
ee3d3ae213
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
71319e6677
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
3168775446
Rename parameter and update comment.
2023-09-05 15:45:12 +02:00
Benoit Marty
9e1c8279b2
Composable functions that return a value should start with a lowercase letter
2023-09-05 15:39:31 +02:00
Benoit Marty
2652362e60
Apply colors to default user avatar in the timeline.
2023-09-05 12:44:36 +02:00
Benoit Marty
a79e3d41d6
Compute avatar color of users and apply foreground color to the sender displayname.
2023-09-05 12:23:42 +02:00
Benoit Marty
9db45a997d
Compute avatar color of users and apply foreground color to the sender displayname.
2023-09-05 12:10:30 +02:00
jmartinesp
c3b883623c
Sync Strings from Localazy
2023-09-05 06:37:36 +00:00
Benoit Marty
8a46faeaf8
Fix detekted issues.
2023-09-01 17:39:54 +02:00
Benoit Marty
17f3ed7aa7
Developer setting: add entry point to configure the Tracing.
...
Developer setting: add screen to configure log level.
Give the custom trace filter to the SDK.
2023-09-01 16:26:39 +02:00
David Langley
ec3b6bf1ae
Merge pull request #1162 from vector-im/feature/dla/emojibase_integration
...
Emojibase integration
2023-08-31 15:49:15 +01:00
Marco Romano
88eda62f56
New icon for "poll end" in both action menu and timeline item. ( #1203 )
...
- Also fixes preview of action list (reply is included as it will soon be added).
2023-08-31 15:40:51 +02:00
David Langley
c4995d0b43
Merge branch 'develop' into feature/dla/emojibase_integration
2023-08-31 14:14:01 +01:00
Marco Romano
d736261317
Poll end ( #1182 )
...
- Adds an "End Poll" item in the action list long press menu.
- Shows only on remote polls that have not ended yet and only if the user is the creator or has redact powers.
Closes https://github.com/vector-im/element-meta/issues/2026
2023-08-31 14:39:11 +02:00
Jorge Martin Espinosa
e4124e93b8
Re-enable SyncService.withEncryptionSync to improve decryption of notifications ( #1199 )
...
* Re-enable `SyncService.withEncryptionSync` to improve decryption of notifications.
* Add feature flag
2023-08-31 13:37:20 +02:00
Jorge Martin Espinosa
1c4eb45a60
Protect TimelineItemAspectRatioBox against Float.NaN ( #1201 )
...
* Protect `TimelineItemAspectRatioBox` against infinite values.
2023-08-31 10:58:37 +00:00
David Langley
ecbfe20f94
Merge branch 'feature/dla/emojibase_integration' of https://github.com/vector-im/element-x-android into feature/dla/emojibase_integration
2023-08-31 11:41:31 +01:00
David Langley
8c5a8e8a04
Fix FakeEmojibaseProvider
2023-08-31 11:41:06 +01:00
David Langley
1341d827fb
Merge branch 'develop' into feature/dla/emojibase_integration
2023-08-31 11:38:28 +01:00
David Langley
f8de314c93
Fix colon aligment and load emojis lazily.
...
- Fix colon aligment
- Load emojis lazily.
2023-08-31 11:37:08 +01:00
Marco Romano
3a9a3f9e83
Focus on question field when opening screen. ( #1194 )
2023-08-31 12:08:21 +02:00
Marco Romano
14791c3628
Poll vote ( #1181 )
...
- Adds sendPollVote rust room API (still not operational, need to wait for a rust sdk release)
- Adds an optional EventId in TimelineItemPollContent
- Wires the poll answer click listeners all the way to the TimelinePresenter in order to call the new room API
- Shows question as message summary in long press menu
Closes https://github.com/vector-im/element-meta/issues/2025
2023-08-30 15:05:11 +00:00
David Langley
188df7a4fc
lint
2023-08-30 12:55:50 +01:00
David Langley
64c156bd4f
Merge branch 'develop' of https://github.com/vector-im/element-x-android into feature/dla/emojibase_integration
2023-08-30 12:48:38 +01:00
David Langley
a4e8f0c8fd
Fix tests and improve structure of CustomReactionState
...
- Fix tests
- Improve structure of CustomReactionState
2023-08-30 12:47:31 +01:00
Jorge Martin Espinosa
7929181c0f
Bug reporter crashes when 'send logs' is disabled. ( #1184 )
...
* Bug reporter crashes when 'send logs' is disabled.
* Make sure generated files are cleaned up when uploading the logs fails.
2023-08-30 12:49:58 +02:00
Benoit Marty
e67c7ac9f1
Merge pull request #1177 from vector-im/feature/bma/analyticsSettingLink
...
Fix issue on analytics setting link
2023-08-30 11:16:46 +02:00
Benoit Marty
79c5bd25c3
Compact the code and reorder vals for code clarity
2023-08-30 10:24:57 +02:00
Benoit Marty
c88b087feb
Remove unused lambda parameter. The link is opened by the LocalUriHandler now.
2023-08-30 10:21:27 +02:00
Jorge Martín
0a77590e76
Split link text into a ListSupportingText component.
...
This also requires some internal changes to `ListSupportingText`, `ClickableLinkText` and `TimelineTextView` to match the behaviour and design.
2023-08-30 09:33:53 +02:00
Florian Renaud
45a653be03
Fix test compilation
2023-08-30 09:31:55 +02:00
Florian Renaud
e599777b89
Merge pull request #1161 from vector-im/feature/fre/polls_timeline_item_tests
...
[Polls] Add unit tests for TimelineItemContentPollFactory
2023-08-30 08:32:21 +02:00
renovate[bot]
78eb7aea81
Update kotlin to 1.9.10 ( #1123 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-30 08:28:06 +02:00
Marco Romano
b4e6d83fb7
"Create poll" UI ( #1143 )
...
NB: This is missing analytics, which will be added once https://github.com/matrix-org/matrix-analytics-events/pull/85 is merged.
Closes https://github.com/vector-im/element-meta/issues/2011
2023-08-29 22:31:21 +02:00
Benoit Marty
1a12e97524
Fix style (typo and color) for supporting content.
2023-08-29 18:03:29 +02:00
Benoit Marty
e8b6cddd6b
format.
2023-08-29 16:46:59 +02:00
Benoit Marty
fb743e72c3
OptIn screen: make only the here word be clickable.
2023-08-29 16:46:42 +02:00