Commit graph

936 commits

Author SHA1 Message Date
ganfra
2115db7af5 Rust sdk update: make the app compile 2023-06-22 09:50:17 +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
Benoit Marty
f38f1487c5 Merge pull request #626 from vector-im/feature/bma/sonar
Sonar
2023-06-21 10:41:26 +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
Johannes Marbach
679ec376f2 Remove send message section until it's actually implemented (#632)
Fixes: #616
2023-06-19 17:24:34 +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
Benoit Marty
2452d8aa91 Fix the 6 issues reported by Sonar. 2023-06-16 18:08:20 +02:00
Benoit Marty
bd9aa38f6a Add Modifier parameter and make internal Composable private. 2023-06-16 15:27:36 +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
Benoit Marty
fbd366c40a Delete obsolete translation (also deleted on Localazy) 2023-06-16 12:00:29 +02:00
Benoit Marty
b36fd098d3 Make the link to the policy active. 2023-06-16 10:47:09 +02:00
Benoit Marty
b9ec124af4 Move extension openUrlInChromeCustomTab to :androidutils module. 2023-06-16 10:32:28 +02:00
Benoit Marty
9701abf15e Extract method about text to the design system module. 2023-06-16 09:40:00 +02:00
Benoit Marty
fb0124c438 Iterate on analytics OptIn screen 2023-06-16 09:28:21 +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
Benoit Marty
456e17de34 Fix infinite tests. 2023-06-12 18:51:17 +02:00
Benoit Marty
f7b20e2373 Let HomeserverResolver emit the List and not the Async. 2023-06-12 18:50:55 +02:00
Benoit Marty
f7fbab6ea7 Fix warning 2023-06-12 17:42:01 +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
Benoit Marty
5ce57ae951 Improve accessibility with keyboard. 2023-06-09 18:45:32 +02:00
Benoit Marty
9d00c9e120 Reduce space above the result to give more visibility especially when the keyboard is opened. 2023-06-09 18:36:10 +02:00
Benoit Marty
168f5dfa89 Add a 5s timeout to avoid infinite loading (actually waiting for network timeout which can be long and is harder to configure). 2023-06-09 18:34:00 +02:00
Benoit Marty
25eb3a556b Use a LazyColumn, in case we get more results in the future. 2023-06-09 18:30:44 +02:00
Benoit Marty
445df09411 Always use import io.element.android.libraries.ui.strings.R as StringR 2023-06-09 18:19:00 +02:00
Benoit Marty
4f4d024a9f No need to pass maxLines = 1 if singleline = true anymore. 2023-06-09 18:16:23 +02:00
Benoit Marty
9527c6825e Use the search icon on this screen. 2023-06-09 18:10:59 +02:00