Commit Graph

1727 Commits

Author SHA1 Message Date
Benoit Marty
cb81c2a633 Remove previous Suppress and its TODO, in the code and in the template. 2023-10-02 14:02:53 +02:00
Benoit Marty
cf4ad7649f Merge pull request #1465 from vector-im/feature/bma/codeCoverage
Improve code coverage
2023-10-02 10:18:31 +02:00
bmarty
cd0a0f7c9a Sync Strings from Localazy 2023-10-02 00:09:47 +00:00
jonnyandrew
f84cd01e73 Fix composer options bottom sheet position (#1469) 2023-09-29 16:29:57 +00:00
Benoit Marty
3a570aab78 Follow naming convention and cleanup the module. 2023-09-29 17:06:58 +02:00
Benoit Marty
cdf4b52b5d Add preview for SlidingSyncNotSupportedDialog 2023-09-29 17:06:58 +02:00
Benoit Marty
b2b5a76caa Ensure the preview match the behavior (and improve code coverage) 2023-09-29 16:18:12 +02:00
jonnyandrew
70dfbd7c31 [Rich text editor] Add full screen mode (#1447)
- Add full screen mode for the rich text editor (RTE). When text formatting options are enabled, the editor can be dragged to full screen.
- Remove `ConstraintLayout` from `textcomposer` module, now made much simpler now the RTE supports being called in multiple layouts matrix-org/matrix-rich-text-editor#822

- Part of vector-im/element-meta#1973
- Includes design from #1315
- Fixes #1293 (through new layout)
- Fixes #1394 (through inclusion of matrix-org/matrix-rich-text-editor#824)
- Fixes #1259 (through inclusion of matrix-org/matrix-rich-text-editor#820)

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-29 09:11:18 +00:00
Benoit Marty
f65e5b6802 Update string (from Localazy) 2023-09-29 09:02:10 +02:00
Benoit Marty
9b7976565d Use generic common_verification_cancelled 2023-09-29 09:02:10 +02:00
Benoit Marty
f395472c67 Use generic action_remove 2023-09-29 09:02:10 +02:00
Benoit Marty
7190ffa3e0 Add strings for advanced settings into Localazy. 2023-09-28 17:09:08 +02:00
Benoit Marty
4a63847245 Use generic common_username and common_password 2023-09-28 16:43:05 +02:00
Benoit Marty
98fbc57aa0 Use generic common_people 2023-09-28 16:40:44 +02:00
Benoit Marty
fbfd6826ae Use generic action_start 2023-09-28 16:37:57 +02:00
Benoit Marty
2527f22ed4 Use generic action_continue 2023-09-28 16:21:16 +02:00
Benoit Marty
0c267abab2 Merge pull request #1389 from vector-im/renovate/androidx.compose.material3-material3-1.x
Update dependency androidx.compose.material3:material3 to v1.2.0-alpha08
2023-09-28 15:30:12 +02:00
Benoit Marty
16390e5df0 Use the AutoMirrored version. 2023-09-28 14:21:27 +02:00
Benoit Marty
31fc1ab959 Ensure http url entered by the user are provided to the SDK without being altered.
Also change values in `LoginConstants`, this was not really correct.
2023-09-28 10:22:08 +02:00
Benoit Marty
9514aed890 Merge pull request #1437 from vector-im/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.58
2023-09-27 11:53:17 +02:00
Benoit Marty
d32a7c6ddf Simplify the management of inReplyToEventTimelineItem 2023-09-27 11:31:12 +02:00
Benoit Marty
b785f90a94 Merge pull request #1434 from vector-im/feature/bma/elementCallTweaks
Element call tweaks
2023-09-27 10:51:04 +02:00
Benoit Marty
9d0e185d1c Ensure getEventTimelineItemByEventId is called when we enter in reply mode. 2023-09-27 10:48:31 +02:00
Benoit Marty
652597c127 Merge pull request #1436 from vector-im/feature/bma/mutableIntFloat
Mutable int float
2023-09-26 18:31:36 +02:00
Benoit Marty
f21b3e385b Merge pull request #1432 from vector-im/feature/bma/installApk
Install apk from the app - REQUEST_INSTALL_PACKAGES
2023-09-26 18:15:35 +02:00
Benoit Marty
99caa031e8 Replace mutableStateOf by mutableIntStateOf and mutableFloatStateOf. Use intValue and floatValue to avoid unboxing. 2023-09-26 18:07:53 +02:00
Benoit Marty
7d12425a6f Call openFile instead of open and avoid unwrapping the Activity context. 2023-09-26 17:48:26 +02:00
Benoit Marty
9a74948536 Detekt: fix OptionalUnit issue. 2023-09-26 17:48:26 +02:00
Benoit Marty
34114caeb5 Be able to install APK from Element X. 2023-09-26 17:48:26 +02:00
Benoit Marty
45cd853c21 Improve default mime type. 2023-09-26 17:48:26 +02:00
Benoit Marty
d4b83cfd45 Detekt: sentences must end with a period. 2023-09-26 16:48:13 +02:00
Benoit Marty
5ae265a94d Element call: Pass in custom call URL query parameters 2023-09-26 16:19:38 +02:00
Benoit Marty
4e658be3cc Element call URL must have https scheme. 2023-09-26 15:41:31 +02:00
Marco Romano
295e10e612 Show poll creator view in timeline (#1429)
- Shows edit/end poll buttons when the user is the creator of the poll.
- Only the end poll button is wired right now as there is no "edit poll" screen yet.
2023-09-26 11:19:24 +02:00
Benoit Marty
54fb1e79c5 Merge pull request #1419 from vector-im/sync-localazy
Sync Strings
2023-09-26 10:05:46 +02:00
Marco Romano
2ab9c564ba Use eventSink method reference in TimelinePresenter.kt (#1428)
Has been changed in https://github.com/vector-im/element-x-android/pull/1172 but in general method references should always be preferred to lambdas in composable functions (because they have higher stability guarantees).
2023-09-25 21:56:41 +02:00
Marco Romano
20813deeaa Push TimelineEvents further down the UI tree. (#1424)
So that timeline items don't have to route their callback all the way down to TimelinePresenter.
2023-09-25 15:31:10 +00:00
bmarty
e9a7c7bbaf Sync Strings from Localazy 2023-09-25 00:09:17 +00:00
Benoit Marty
38ee16725e Add animation on the timeline content, to avoid glitch (#1323) 2023-09-21 18:43:46 +02:00
bmarty
4077c5c834 Sync Strings from Localazy 2023-09-21 15:51:21 +00:00
Benoit Marty
5119ca33dd Merge pull request #1400 from vector-im/feature/bma/fixCrashPhoto
Fix crash when user wants to use the camera
2023-09-21 16:31:36 +02:00
Benoit Marty
ac2fe7eec5 Suppress LargeClass on test. 2023-09-21 16:31:08 +02:00
Benoit Marty
e38e85e4be Add missing test on this Presenter 2023-09-21 15:54:59 +02:00
Benoit Marty
0f5ac85957 Add missing test on this Presenter 2023-09-21 15:40:27 +02:00
Benoit Marty
74fc9ad905 Rename Event for clarity 2023-09-21 15:33:03 +02:00
Benoit Marty
e130722b13 Test that permission is requested, instead of giving the permission directly. 2023-09-21 15:00:47 +02:00
Benoit Marty
ffcac2a0da Move open system setting to the PermissionsPresenter 2023-09-21 14:20:41 +02:00
Benoit Marty
9b72992d51 Create FakePermissionsPresenterFactory, to reduce boilerplate. 2023-09-21 12:54:15 +02:00
Benoit Marty
c2bc3a7828 Request Camera permission before launching the external Camera app - when sending attachment to a room (#1395) 2023-09-21 12:48:03 +02:00
Benoit Marty
b49a4a058d Cleanup 2023-09-21 12:18:41 +02:00