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>
2023-06-23 10:44:47 +02:00
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>
2023-06-22 13:27:59 +02:00
ganfra
8e617b427d
CanSendEvent default to true and branch refresh mechanism...
2023-06-21 17:43:08 +02:00
Benoit Marty
9df0030967
Merge pull request #631 from vector-im/feature/bma/sendPermission
...
Take into acount send permission (power level)
2023-06-21 11:35:33 +02:00
Benoit Marty
da110bd2c4
Extract getCanSendEvent to the matrixui module, rename to canSendEventAsState and use produceState.
2023-06-21 10:57:55 +02:00
ganfra
c7b2ac5acd
Merge pull request #617 from vector-im/feature/fga/fix_media_pre_processing
...
Feature/fga/fix media pre processing
2023-06-20 16:17:50 +02:00
bmarty
700fadb09d
Sync Strings from Localazy
2023-06-19 20:15:52 +00:00
ganfra
6ca36b2339
Timeline media: kind of align with other messenger apps
2023-06-19 21:38:54 +02:00
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>
2023-06-19 11:18:01 +00:00
Benoit Marty
9f01d6f66a
Display a banner instead of the composer when user cannot post message to a room ( #602 )
2023-06-19 11:52:34 +02:00
ganfra
35dcc5dd5a
Media : Fix test compilation
2023-06-16 14:23:52 +02:00
ganfra
15ef9abed6
Merge branch 'develop' into feature/fga/fix_media_pre_processing
2023-06-16 14:05:11 +02:00
ganfra
33c74fb4e5
Fix MediaPreProcessor for images/videos sent as file
2023-06-16 13:52:07 +02:00
ganfra
2cc78fd5fb
Timeline: fix unknown aspectRatio
2023-06-15 22:50:01 +02:00
ganfra
2290b6dba5
Merge pull request #603 from vector-im/feature/fga/update-rust-sdk-0.1.20
...
Matrix rust sdk: update to 0.1.20 (and fix compilation issues)
2023-06-15 16:35:45 +02:00
Benoit Marty
97923af7d8
Merge pull request #591 from vector-im/feature/bma/noDelayInTests
...
No delay in tests
2023-06-15 15:27:41 +02:00
ganfra
d4526e52c6
Matrix rust sdk: update to 0.1.20 (and fix compilation issues)
2023-06-15 15:26:53 +02:00
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.
2023-06-15 14:58:18 +02:00
ganfra
65ecfcc681
Merge pull request #599 from vector-im/feature/fga/timeline_media_improvements
...
Feature/fga/timeline media improvements
2023-06-15 14:36:15 +02:00
ganfra
cc1e3d9a0a
Timeline: use thumbnailSource for image if available (except for gif)
2023-06-15 12:11:37 +02:00
ganfra
e817afef84
Media: introduce a Kind.File so we don't use In-memory bytearray in timeline
2023-06-15 12:06:58 +02:00
ganfra
18cdfdf439
Merge pull request #597 from vector-im/feature/fga/fix_reply_timeline_ui
...
Feature/fga/fix reply timeline UI
2023-06-15 11:38:30 +02:00
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>
2023-06-15 11:27:37 +02:00
Benoit Marty
9b4b9e9140
Introduce simulateLongTask to ensure that the Presenter State Loading is visible.
...
Also do some cleanup on the tests.
2023-06-15 10:57:05 +02:00
ganfra
8ddc1090b1
Timeline: fix wrong username for reply
2023-06-15 10:28:23 +02:00
ganfra
800896be88
Timeline: fix ReplyToContent clip on click
2023-06-15 10:28:12 +02:00
Benoit Marty
4a56d433c6
Unblock develop
2023-06-13 11:11:27 +02:00
Benoit Marty
d557d1fcad
Merge pull request #584 from vector-im/feature/fga/fix_work_on_main_thread
...
Extract fetchDetailsForEvent and use coroutineDispatchers.io
2023-06-13 10:05:01 +02:00
Benoit Marty
0c64921f10
Merge pull request #549 from vector-im/feature/bma/onboardingServer
...
Onboarding iteration
2023-06-13 09:21:50 +02:00
ganfra
26746f5e27
Extract fetchDetailsForEvent and use coroutineDispatchers.io
2023-06-12 20:23:58 +02:00
Benoit Marty
9e73e70a22
Enforce usage of TestScope.testScheduler
2023-06-12 19:49:56 +02:00
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>
2023-06-12 10:42:35 +02:00
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>
2023-06-09 16:56:40 +02:00
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>
2023-06-09 06:13:22 +00:00
ganfra
50c015801f
Clean tests values for file extension
2023-06-08 17:17:13 +02:00
ganfra
efee010b8c
Tests: fix tests for media
2023-06-08 16:10:38 +02:00
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>
2023-06-08 12:15:13 +02:00
ganfra
76e35582da
Merge branch 'develop' into feature/fga/media_viewer_actions
2023-06-07 16:31:28 +02:00
ganfra
c48dd99bf9
Media: extract LocalMediaViewState to his own file
2023-06-07 15:58:05 +02:00
ganfra
c9f6093f22
Media: make some minor UI fixes
2023-06-07 15:55:16 +02:00
ganfra
a09ea589f2
Media: address PR review
2023-06-07 15:41:07 +02:00
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>
2023-06-07 13:06:19 +02:00
Benoit Marty
5d7be76feb
Merge pull request #527 from vector-im/feature/bma/designSystem
...
Preparatory work to integrate new FTUE screen
2023-06-07 08:59:13 +02:00
ganfra
51389053bf
Media : timeline file adjustment
2023-06-06 23:10:02 +02:00
ganfra
468ed5276f
Media: clean up code
2023-06-06 22:18:13 +02:00
ganfra
c0def1c3dc
Media actions: add more tests
2023-06-06 22:08:57 +02:00
ganfra
438fc6bb99
Merge branch 'develop' into feature/fga/media_viewer_actions
2023-06-06 14:35:25 +02:00
ganfra
950e474c72
Media: make tests passing again
2023-06-06 13:48:12 +02:00
ganfra
092e1544ca
Media: rework how we get the activity context (and fix test compilation)
2023-06-05 23:39:48 +02:00
ganfra
be009baed7
File: improve a bit pdf loading
2023-06-05 22:45:49 +02:00