Commit Graph

733 Commits

Author SHA1 Message Date
Benoit Marty
9b72992d51 Create FakePermissionsPresenterFactory, to reduce boilerplate. 2023-09-21 12:54:15 +02:00
Benoit Marty
c2bc3a7828 Request Camera permission before launching the external Camera app - when sending attachment to a room (#1395) 2023-09-21 12:48:03 +02:00
Benoit Marty
54ca7c1ea5 More cleanup 2023-09-20 17:32:32 +02:00
Benoit Marty
d6ea21da22 Migrate other icons to compound icons. 2023-09-20 16:44:59 +02:00
Benoit Marty
caa0ce0c0a Iterate on icons (#1320) 2023-09-20 16:44:59 +02:00
Benoit Marty
8fedc40008 Remove VectorIcons object, inline the values. 2023-09-20 16:44:59 +02:00
Benoit Marty
4d7cad592c Merge pull request #1372 from vector-im/feature/bma/dayNightPreview
Day night preview annotation
2023-09-19 14:04:49 +02:00
jonnyandrew
d291622eea [Rich text editor] Add link functionality to rich text editor (#1309)
* Add link functionality to rich text editor
* Add 'list dialog' component compound design library
* Add 'text field list item' component to compound design library
2023-09-19 11:20:07 +00:00
Benoit Marty
e326e49e4c Use DayNightPreview 2023-09-19 11:49:12 +02:00
Benoit Marty
d3d9367feb Localazy sync 2023-09-18 16:42:35 +02:00
bmarty
6e5e538724 Sync Strings from Localazy 2023-09-18 00:09:19 +00:00
Benoit Marty
33bf410710 Fix typo in fun names. 2023-09-14 19:48:20 +02:00
Benoit Marty
1a6641a5f7 Show "View Event" if the developer mode is enabled. 2023-09-14 19:48:20 +02:00
Benoit Marty
bf67c6e349 Rename Developer -> ViewSource 2023-09-14 19:48:20 +02:00
Benoit Marty
f55e8a6ad8 Remove feature flag RichTextEditor, it's replaced by an advanced settings. 2023-09-14 19:47:41 +02:00
ganfra
54b290d630 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
1b4d5d8a16 [Rich text editor] Fix 'text formatting' option only partially visible (#1335) 2023-09-14 16:32:15 +00:00
Benoit Marty
e69e961a70 Avoid lint false positive. 2023-09-14 18:16:10 +02:00
ganfra
b60b481ee0 Merge branch 'develop' into feature/fga/timeline_thread_decoration 2023-09-14 16:57:20 +02:00
ganfra
455d39c629 Sync Strings from Localazy 2023-09-14 14:38:49 +00:00
ganfra
d70295d6c6 Thread decoration : pr review 2023-09-14 14:57:39 +02:00
Jorge Martin Espinosa
b7e0befc6a Fix long click on simple formatted messages (#1327) 2023-09-14 11:51:10 +02:00
ganfra
62cabff39a Thread decoration: update preview with new changes 2023-09-13 16:36:35 +02:00
ganfra
c0e518e050 Thread decoration: add "Reply in thread" context 2023-09-13 16:00:44 +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
ganfra
b6be989884 Thread decoration: add and branch isThreaded method 2023-09-13 12:05:50 +02:00
ganfra
f27f49160d Merge branch 'develop' into feature/fga/timeline_thread_decoration 2023-09-13 11:42:46 +02:00
ganfra
95d6b6e58b Thread decoration: create the ThreadDecoration ui 2023-09-13 11:40:16 +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
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
Benoit Marty
2913e2b3ff Fix overlapping issue - still not perfect when text is on several lines. 2023-09-12 14:28:49 +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
Benoit Marty
c4f2ecbe78 Attempt to add extra spacing for Document (#1228) 2023-09-12 13:20:29 +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
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
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
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
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
jonnyandrew
301e49c3a3 Reduce test flakiness by warming up molecule tests (#1226) 2023-09-06 10:08:21 +00: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