Benoit Marty
529720079a
Move FileSizeFormatter to a new module for injectable Android utilities.
1 year ago
bmarty
874739ece9
Sync Strings from Localazy
1 year ago
Jorge Martin Espinosa
cf2723ac7f
[Message Actions] Copy events to clipboard ( #665 )
...
* Add `Copy` action for text events
* Remove 'Copy' action from the list for non-text events
* Use `@ContributesBinding` to inject `AndroidClipboardHelper`.
1 year ago
Jorge Martin Espinosa
9251cbf536
[Message Actions] Report messages ( #642 )
...
* Add report messages feature
* Try to improve how snackbars are delivered
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
ganfra
e0e50a97e9
API: simplify NetworkMonitor api
1 year ago
Jorge Martin Espinosa
42827206b3
[Message Actions] Forward messages ( #635 )
...
* Add forwarding messages base
* Make forwarding single-selection
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
ganfra
8e617b427d
CanSendEvent default to true and branch refresh mechanism...
1 year ago
Benoit Marty
da110bd2c4
Extract `getCanSendEvent` to the `matrixui` module, rename to `canSendEventAsState` and use produceState.
1 year ago
bmarty
700fadb09d
Sync Strings from Localazy
1 year ago
ganfra
6ca36b2339
Timeline media: kind of align with other messenger apps
1 year ago
github-actions[bot]
fe5524bae4
Sync Strings ( #630 )
...
* Sync Strings from Localazy
* Update strings, remove broken German translation
* Update screenshots
---------
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
9f01d6f66a
Display a banner instead of the composer when user cannot post message to a room ( #602 )
1 year ago
ganfra
35dcc5dd5a
Media : Fix test compilation
1 year ago
ganfra
33c74fb4e5
Fix MediaPreProcessor for images/videos sent as file
1 year ago
ganfra
2cc78fd5fb
Timeline: fix unknown aspectRatio
1 year ago
ganfra
d4526e52c6
Matrix rust sdk: update to 0.1.20 (and fix compilation issues)
1 year ago
Jorge Martin Espinosa
244306545f
Move logic of different BottomSheets in `MessagesView` to presenters ( #600 )
...
* Move bottom sheet logic in `MessagesView` to presenters.
* Make the block inside `SheetState.hide` suspend.
1 year ago
ganfra
cc1e3d9a0a
Timeline: use thumbnailSource for image if available (except for gif)
1 year ago
ganfra
e817afef84
Media: introduce a Kind.File so we don't use In-memory bytearray in timeline
1 year ago
Jorge Martin Espinosa
31555c4bd0
[Message Actions] Retry sending failed messages ( #596 )
...
* Add `RetrySendMessageMenu` to retry sending failed messages or removing its local echo.
* Fix initial event being retrieved, not the updated one
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
9b4b9e9140
Introduce `simulateLongTask` to ensure that the Presenter State `Loading` is visible.
...
Also do some cleanup on the tests.
1 year ago
ganfra
8ddc1090b1
Timeline: fix wrong username for reply
1 year ago
ganfra
800896be88
Timeline: fix ReplyToContent clip on click
1 year ago
Benoit Marty
4a56d433c6
Unblock develop
1 year ago
ganfra
26746f5e27
Extract fetchDetailsForEvent and use coroutineDispatchers.io
1 year ago
Benoit Marty
9e73e70a22
Enforce usage of `TestScope.testScheduler`
1 year ago
Jorge Martin Espinosa
1831ec7ab4
Fix timeline item padding and corners ( #573 )
...
* Try to fix timeline offsets and rounded corners.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Jorge Martin Espinosa
9fa261e393
[Message Actions] Add emoji reactions option ( #568 )
...
* Add logic to send message reactions
* Add emoji library, create EmojiPicker component
* Fix bottom sheet behaviors
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Jorge Martin Espinosa
688ab3bd5e
[Message Actions] Display debug info for events in the timeline ( #555 )
...
* Display debug info for events in the timeline on debug builds.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
ganfra
50c015801f
Clean tests values for file extension
1 year ago
ganfra
efee010b8c
Tests: fix tests for media
1 year ago
Jorge Martin Espinosa
c176eab4a3
[Message actions] New UI for replies ( #545 )
...
* Add 'reply to' UI to the message composer.
* Move the `BlurHashAsyncImage` to `:libraries:designsystem` as it is now used in several modules.
* Create reusable `AttachmentThumbnail` and associated data classes and enums, it's now added to `:libraries:matrixui`.
* Re-use `AttachmentThumbnail` in a `ActionListView` and `TextComposer`.
* Add 'inReplyTo' models and UI.
* Add min size for images
* Create a separate layout for media items with no reply to info. Also, separate `Timeline__Row` components from `TimelineView`, as it was getting too large.
* Added `EqualWidthColumn` to use inside message bubbles. Also fixed some modifiers for media items replying to other messages.
* Disable `inReplyToClicked`.
* Remove unused resources and libraries.
* Remove any traces of `BlurHashAsyncImage` in `:features:messages`, since it was moved to the design system.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
ganfra
c48dd99bf9
Media: extract LocalMediaViewState to his own file
1 year ago
ganfra
c9f6093f22
Media: make some minor UI fixes
1 year ago
ganfra
a09ea589f2
Media: address PR review
1 year ago
Jorge Martin Espinosa
e376c1be82
[Message actions] New UI for message composer and editing ( #526 )
...
* Add UI for edit composer mode
* Remove leftover code from the RTE implementation
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
ganfra
51389053bf
Media : timeline file adjustment
1 year ago
ganfra
468ed5276f
Media: clean up code
1 year ago
ganfra
c0def1c3dc
Media actions: add more tests
1 year ago
ganfra
950e474c72
Media: make tests passing again
1 year ago
ganfra
092e1544ca
Media: rework how we get the activity context (and fix test compilation)
1 year ago
ganfra
be009baed7
File: improve a bit pdf loading
1 year ago
ganfra
e322ba1b32
Media: handle openWith and share actions (need to inject context for tests...). Also introduce MediaInfo
1 year ago
github-actions[bot]
044a3c991e
Sync Strings ( #522 )
...
Sync Strings from Localazy
1 year ago
Benoit Marty
9f5daf070a
Introduce ButtonColumnMolecule and ButtonRowMolecule.
1 year ago
ganfra
fa63ed1faf
MediaViewer: improve actions (save on disk and share)
1 year ago
ganfra
89d4b81f80
Media action: show snackbar when file saved on disk
1 year ago
ganfra
1d9ef72ed5
Media Viewer: rename the shared file with the known name if any.
1 year ago
ganfra
d5bff3437b
Pdf : fix after merge
1 year ago
ganfra
d878e7274d
Pdf : add small comment
1 year ago