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
ganfra
1c01c0a6cc
Media: implements share action
1 year ago
Jorge Martin Espinosa
dc4b385ada
[Message actions] Update timeline context menu ( #498 )
...
* Replace bottom sheets in timeline with M3 ones.
* Add missing options to menu with the right icons
* Add message summary and reaction emoji row.
* Use the same icon in the message summary and file timeline item
1 year ago
ganfra
7386936217
Media: improve creation of LocalMedia
1 year ago
ganfra
966199a007
Media: finally revert to using only uri but with the proper scheme..
1 year ago
ganfra
7b90f5bfcf
Media: refactor LocalMedia so the source of data is clear (uri or file)
1 year ago
ganfra
bc35db3ffd
Media viewer: start adding save on disk action
1 year ago
ganfra
bbc10ea3ff
File: new design for file timeline item
1 year ago
ganfra
ab95218e50
Pdf: rework pdf viewer a bit
1 year ago
Jorge Martin Espinosa
a36f4b7947
[Room details] Open room member details when clicking on user data in timeline ( #482 )
1 year ago
ganfra
acb716849d
Pdf: improve rendering with zoom and spaces between pages
1 year ago
ganfra
3030799649
Pdf: first iteration of pdf renderer
1 year ago
Chris Smith
6ad14aa223
Fix flaky media tests. ( #479 )
...
Creating a mock during the test run seems to sometimes take a
large amount of time when running the tests in parallel (possibly
some kind of resource contention?)
Instead, perform the mocking in the test class so it's part of
the setup, not the actual test runs.
1 year ago
Benoit Marty
ff1147e611
Sync localazy to fix lint error.
1 year ago
Benoit Marty
28ff9ea437
Reduce number of warnings
1 year ago
Benoit Marty
03e2fa04cb
Fix alignment issue when there is an error.
1 year ago
Benoit Marty
60593fb1d7
Add preview for TimelineEventTimestampView
1 year ago
Benoit Marty
34980d34ad
Improve preview again
1 year ago
Benoit Marty
0cbddd58bc
Fix compilation issue after rebase.
1 year ago
Benoit Marty
25e432d24e
Fix setting y offset to -12.dp can overlap a state event displayed above. Rework how the vertical offset are applied.
1 year ago
Benoit Marty
c590a32942
Move extension to a common file for code clarity.
1 year ago