Marco Romano
7464cbb769
Use eventSink method reference in TimelinePresenter.kt ( #1428 )
...
Has been changed in https://github.com/vector-im/element-x-android/pull/1172 but in general method references should always be preferred to lambdas in composable functions (because they have higher stability guarantees).
1 year ago
Marco Romano
f4b46aa2bb
Push TimelineEvents further down the UI tree. ( #1424 )
...
So that timeline items don't have to route their callback all the way down to TimelinePresenter.
1 year ago
bmarty
c72bb92ef2
Sync Strings from Localazy
1 year ago
Benoit Marty
03eacdc454
Add animation on the timeline content, to avoid glitch ( #1323 )
1 year ago
bmarty
a7ce12d91d
Sync Strings from Localazy
1 year ago
Benoit Marty
56a57de3e1
Suppress LargeClass on test.
1 year ago
Benoit Marty
5a8f2c5efa
Add missing test on this Presenter
1 year ago
Benoit Marty
658c59d489
Add missing test on this Presenter
1 year ago
Benoit Marty
d19b624c6f
Rename Event for clarity
1 year ago
Benoit Marty
08b455afd3
Create FakePermissionsPresenterFactory, to reduce boilerplate.
1 year ago
Benoit Marty
f644d314f3
Request Camera permission before launching the external Camera app - when sending attachment to a room ( #1395 )
1 year ago
Benoit Marty
0e4c146e87
Detekt: Rename `DayNightPreviews` to `PreviewsDayNight` to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
1 year ago
Benoit Marty
48fd833f8b
More cleanup
1 year ago
Benoit Marty
d531e71cd8
Migrate other icons to compound icons.
1 year ago
Benoit Marty
085b3bbfa4
Iterate on icons ( #1320 )
1 year ago
Benoit Marty
c652606f56
Remove VectorIcons object, inline the values.
1 year ago
jonnyandrew
ee8d27e927
[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
1 year ago
Benoit Marty
2819448cd4
Use `DayNightPreview`
1 year ago
Benoit Marty
0453ea5904
Localazy sync
1 year ago
bmarty
d2f9b02bbf
Sync Strings from Localazy
1 year ago
Benoit Marty
32f4141480
Fix typo in fun names.
1 year ago
Benoit Marty
7d9b865575
Show "View Event" if the developer mode is enabled.
1 year ago
Benoit Marty
0424192834
Rename Developer -> ViewSource
1 year ago
Benoit Marty
657ac05e01
Remove feature flag RichTextEditor, it's replaced by an advanced settings.
1 year ago
jonnyandrew
15eb976ffb
[Rich text editor] Fix 'text formatting' option only partially visible ( #1335 )
1 year ago
Benoit Marty
4e5036f962
Avoid lint false positive.
1 year ago
ganfra
b382993cbb
Sync Strings from Localazy
1 year ago
ganfra
96fbdb91c7
Thread decoration : pr review
1 year ago
Jorge Martin Espinosa
754671303a
Fix long click on simple formatted messages ( #1327 )
1 year ago
ganfra
0fb93d1cca
Thread decoration: update preview with new changes
1 year ago
ganfra
b36ea5cedf
Thread decoration: add "Reply in thread" context
1 year ago
Marco Romano
7fdd83bf91
GRemove the @JvmField annotation whenever using `WarmUpRule`.
1 year ago
Marco Romano
b426084415
Test analytics when sending messages ( #1296 )
...
Covers changes in https://github.com/vector-im/element-x-android/pull/1288
1 year ago
ganfra
36fdf243cc
Thread decoration: add and branch isThreaded method
1 year ago
ganfra
9f5666ac0c
Thread decoration: create the ThreadDecoration ui
1 year ago
jonnyandrew
8ab391f615
[Rich text editor] Add feature flag for rich text editor ( #1289 )
1 year ago
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.
1 year ago
Marco Romano
8abaee8708
Polls analytics ( #1285 )
...
Send poll analytics event (creation, vote, end) where appropriate.
1 year ago
Benoit Marty
664caf3041
Renane fun.
1 year ago
Benoit Marty
c0b5084c62
Fix overlapping issue - still not perfect when text is on several lines.
1 year ago
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`.
1 year ago
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).
1 year ago
Benoit Marty
be5bece629
Attempt to add extra spacing for Document ( #1228 )
1 year ago
Benoit Marty
23358b9edb
Disable swipe to reply action for unsupported events.
1 year ago
Benoit Marty
962acc08f6
Hide Reply action if user cannot post to the room.
1 year ago
Benoit Marty
72497b584d
Now that we use a cache, there is no need to provide AvatarColors to the Avatar composable.
1 year ago
Benoit Marty
f8b630ecb2
Implement a in-memory cache for user avatar colors.
1 year ago
jonnyandrew
896c2325db
[Rich text editor] Add formatting menu ( #1261 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
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>
1 year ago
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>
1 year ago