Marco Romano
5a7f77bc92
Extract more content from audio messages. ( #1607 )
...
`TimelineItemAudioContent`:
- Use `java.time.Duration` instead of milliseconds. This will ease up things in the future because currently milliseconds are sent over the wire but in the future seconds will be sent (as per the stable MSC). Using `Duration` will allow our downstream code to be independent of what's passed over the wire.
- Rename `audioSource` property to `mediaSource` to better match its type.
`AudioMessageType`:
- Add and populate new fields `details` and `isVoiceMessage` to be used by voice messages.
11 months ago
Jorge Martin Espinosa
9aa4c59516
Hide keyboard when exiting the room screen ( #1593 )
11 months ago
bmarty
586a53653d
Sync Strings from Localazy
11 months ago
Benoit Marty
3be6e655d7
Fix issue detected by Konsist.
11 months ago
jonnyandrew
12404fab78
[Voice messages] Add voice recording UI ( #1546 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
Benoit Marty
c3bc44bfec
Ensure screen does not turn off when playing a video ( #1519 )
11 months ago
Benoit Marty
bcefbb9861
Render body for m.room.message if msgtype is unknown, in timeline and as room list last message. #1539
12 months ago
Benoit Marty
8c2a5f281b
MessageContent.type cannot be null
12 months ago
Benoit Marty
97fea4e6dd
data object
12 months ago
Benoit Marty
0bc2020411
Konsist: add test Function which creates Presenter in test MUST be named 'createPresenterName', and fix existing issues
12 months ago
Benoit Marty
8929a90970
Konsist: add test to ensure filename match top level Composable View, and fix existing issue
12 months ago
Benoit Marty
632389daa9
Remove not used dependencies to some accompanist libraries.
12 months ago
Benoit Marty
35b7b661f2
Code review: improve API.
12 months ago
Benoit Marty
8f660facbf
Render emote in the timeline: prefix with sender display name
12 months ago
Benoit Marty
46d5417dd3
avoid `else` in when statement.
12 months ago
renovate[bot]
1e24e39b2e
Update dependency androidx.compose.material3:material3 to v1.2.0-alpha09 ( #1493 )
...
* Update dependency androidx.compose.material3:material3 to v1.2.0-alpha09
* Fix deprecation issues
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
12 months ago
Benoit Marty
34d05e01eb
Fetch edited event in advanced (similar to reply mode).
12 months ago
Benoit Marty
bed135f7c3
Add comment.
12 months ago
bmarty
7e3b9d8d3b
Sync Strings from Localazy
12 months ago
jonnyandrew
6bca8be525
Fix composer options bottom sheet position ( #1469 )
12 months ago
Benoit Marty
0ba9d77189
Ensure the preview match the behavior (and improve code coverage)
12 months ago
jonnyandrew
53cf82f025
[Rich text editor] Add full screen mode ( #1447 )
...
- Add full screen mode for the rich text editor (RTE). When text formatting options are enabled, the editor can be dragged to full screen.
- Remove `ConstraintLayout` from `textcomposer` module, now made much simpler now the RTE supports being called in multiple layouts matrix-org/matrix-rich-text-editor#822
- Part of vector-im/element-meta#1973
- Includes design from #1315
- Fixes #1293 (through new layout)
- Fixes #1394 (through inclusion of matrix-org/matrix-rich-text-editor#824 )
- Fixes #1259 (through inclusion of matrix-org/matrix-rich-text-editor#820 )
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
12 months ago
Benoit Marty
2eed49f041
Use generic `action_remove`
12 months ago
Benoit Marty
928a60672c
Use the AutoMirrored version.
12 months ago
Benoit Marty
c9c7af6e06
Simplify the management of `inReplyToEventTimelineItem`
12 months ago
Benoit Marty
a192a8823f
Ensure `getEventTimelineItemByEventId` is called when we enter in reply mode.
12 months ago
Benoit Marty
702c137ead
Replace `mutableStateOf` by `mutableIntStateOf` and `mutableFloatStateOf`. Use `intValue` and `floatValue` to avoid unboxing.
1 year ago
Benoit Marty
3eb112381d
Call `openFile` instead of `open` and avoid unwrapping the Activity context.
1 year ago
Benoit Marty
bf49078e40
Detekt: fix OptionalUnit issue.
1 year ago
Benoit Marty
3f73443ebb
Be able to install APK from Element X.
1 year ago
Benoit Marty
e7ba973e7b
Improve default mime type.
1 year ago
Marco Romano
2e6581a5ad
Show poll creator view in timeline ( #1429 )
...
- Shows edit/end poll buttons when the user is the creator of the poll.
- Only the end poll button is wired right now as there is no "edit poll" screen yet.
1 year ago
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