Commit Graph

923 Commits

Author SHA1 Message Date
bmarty
2faa96a4e4 Sync Strings from Localazy 2023-06-19 20:15:52 +00:00
Johannes Marbach
c63cba2cb8 Remove send message section until it's actually implemented (#632)
Fixes: #616
2023-06-19 17:24:34 +02:00
github-actions[bot]
3f7738c001 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
7a1416aad4 Add Modifier parameter and make internal Composable private. 2023-06-16 15:27:36 +02:00
Benoit Marty
b61ad40c65 Delete obsolete translation (also deleted on Localazy) 2023-06-16 12:00:29 +02:00
Benoit Marty
11926e80ef Make the link to the policy active. 2023-06-16 10:47:09 +02:00
Benoit Marty
f70d999382 Move extension openUrlInChromeCustomTab to :androidutils module. 2023-06-16 10:32:28 +02:00
Benoit Marty
9d6946aa20 Extract method about text to the design system module. 2023-06-16 09:40:00 +02:00
Benoit Marty
1e73dfbaf8 Iterate on analytics OptIn screen 2023-06-16 09:28:21 +02:00
ganfra
a900721c0e 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
e907d610c2 Merge pull request #591 from vector-im/feature/bma/noDelayInTests
No delay in tests
2023-06-15 15:27:41 +02:00
ganfra
170c741130 Matrix rust sdk: update to 0.1.20 (and fix compilation issues) 2023-06-15 15:26:53 +02:00
Jorge Martin Espinosa
9bdf53f43d 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
9be0587b8b 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
8207098091 Timeline: use thumbnailSource for image if available (except for gif) 2023-06-15 12:11:37 +02:00
ganfra
022e4645b4 Media: introduce a Kind.File so we don't use In-memory bytearray in timeline 2023-06-15 12:06:58 +02:00
ganfra
7b84a7d8fe 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
7ddf93ed09 [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
9321a9f718 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
2f3a930ca3 Timeline: fix wrong username for reply 2023-06-15 10:28:23 +02:00
ganfra
123872dc3a Timeline: fix ReplyToContent clip on click 2023-06-15 10:28:12 +02:00
Benoit Marty
3c250b2a0d Unblock develop 2023-06-13 11:11:27 +02:00
Benoit Marty
1734b3ec60 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
ef7ddb8d0f Merge pull request #549 from vector-im/feature/bma/onboardingServer
Onboarding iteration
2023-06-13 09:21:50 +02:00
ganfra
92adef5384 Extract fetchDetailsForEvent and use coroutineDispatchers.io 2023-06-12 20:23:58 +02:00
Benoit Marty
91d20e1b78 Enforce usage of TestScope.testScheduler 2023-06-12 19:49:56 +02:00
Benoit Marty
0d55c47d4f Fix infinite tests. 2023-06-12 18:51:17 +02:00
Benoit Marty
7705c93ead Let HomeserverResolver emit the List and not the Async. 2023-06-12 18:50:55 +02:00
Benoit Marty
7cc9b63124 Fix warning 2023-06-12 17:42:01 +02:00
Jorge Martin Espinosa
4a5373395d 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
de3eb23a24 Improve accessibility with keyboard. 2023-06-09 18:45:32 +02:00
Benoit Marty
ddafe50eb5 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
cdf89e86d6 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
6b1809ed3b Use a LazyColumn, in case we get more results in the future. 2023-06-09 18:30:44 +02:00
Benoit Marty
19e090f6dc Always use import io.element.android.libraries.ui.strings.R as StringR 2023-06-09 18:19:00 +02:00
Benoit Marty
8d50acaff4 No need to pass maxLines = 1 if singleline = true anymore. 2023-06-09 18:16:23 +02:00
Benoit Marty
03273985b2 Use the search icon on this screen. 2023-06-09 18:10:59 +02:00
Benoit Marty
f8a16f2ea3 Inline the scroll state. 2023-06-09 18:09:09 +02:00
Benoit Marty
4fa30f384d Better comment 2023-06-09 18:06:29 +02:00
Benoit Marty
0c199a012b Move the resolver to the parent package. 2023-06-09 18:05:08 +02:00
Benoit Marty
1e3727bb39 Use LaunchedEffect to avoid multiple calls. 2023-06-09 17:58:36 +02:00
Benoit Marty
b98010d74d Merge the 2 map. 2023-06-09 17:55:09 +02:00
Benoit Marty
8b177645a9 Rename InlineErrorMessage to simple Error to not consider how the error will be used (actually used in a dialog now) 2023-06-09 17:51:42 +02:00
Benoit Marty
0dd4109d21 Use function ref. 2023-06-09 17:45:51 +02:00
Benoit Marty
9fbc918f10 Enforce lambda parameters to be passed in. 2023-06-09 17:43:34 +02:00
Benoit Marty
dc064069ba Rename nodes and organize by package into screens subpackage for clarity 2023-06-09 17:38:04 +02:00
ganfra
53f234d135 Merge pull request #566 from vector-im/feature/fga/update-rust-sdk-0.1.16
Feature/fga/update rust sdk 0.1.16
2023-06-09 17:26:11 +02:00
ganfra
2a15681151 Remove internal state machine library 2023-06-09 17:00:11 +02:00
Jorge Martin Espinosa
e591a588b3 [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
ganfra
39602d8491 Verification: integrate with new statemachine library 2023-06-09 16:48:58 +02:00