Jorge Martin Espinosa
c8bd04ceb1
Sign in with QR code ( #2793 )
...
* Add QR code login.
* Add FF to disable it in release mode.
* Force portrait orientation on the login flow.
* Create `NumberedList` UI components.
* Improve camera permission dialog.
* Make nodes in qrcode feature use `QrCodeLoginScope` instead of `AppScope`
* Bump SDK version.
* Fix maestro tests
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-31 14:38:27 +02:00
Benoit Marty
f5a0e83cb2
Merge pull request #2941 from element-hq/sync-localazy
...
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
ca5bc71057
Sync Strings from Localazy
2024-05-29 12:44:57 +00:00
Benoit Marty
37d9a9f5a9
Lambda parameters in a composable function should be in present tense, not past tense.
...
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
bmarty
83a8a631f2
Sync Strings from Localazy
2024-05-20 00:23:05 +00:00
bmarty
0910da0a14
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
Benoit Marty
2bfe125a77
Troubleshoot notifications screen
2024-04-02 16:15:00 +02:00
bmarty
5809864182
Sync Strings from Localazy
2024-04-01 00:17:18 +00:00
bmarty
4f81fe2090
Sync Strings from Localazy
2024-02-29 13:48:26 +00:00
bmarty
5c8be8f61f
Sync Strings from Localazy
2024-02-26 18:17:16 +00:00
Benoit Marty
a7e38f0925
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
bmarty
03c95555e3
Sync Strings from Localazy
2024-02-05 00:09:59 +00:00
ElementBot
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty
5d086ad82d
Fix moar ktlint issues
2024-01-11 10:02:10 +01:00
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
bmarty
e6f4a7364f
Sync Strings from Localazy
2023-12-26 09:39:48 +01:00
Benoit Marty
39cca2ce09
Sync localazy using fixed script
2023-12-08 19:24:35 +01:00
Benoit Marty
24d3981261
Run the script again.
2023-12-05 12:25:59 +01:00
bmarty
fced91addb
Sync Strings from Localazy
2023-12-04 00:09:56 +00:00
jonnyandrew
b476654489
Record and send voice messages ( #1596 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-23 17:28:00 +00:00
Benoit Marty
8f8a5746e5
Konsist: add test about PreviewParameterProvider class name and fix existing issues.
2023-10-12 15:03:50 +02:00
bmarty
cd120b408f
Sync Strings from Localazy
2023-10-09 00:09:28 +00:00
bmarty
7e3b9d8d3b
Sync Strings from Localazy
2023-10-02 00:09:47 +00:00
bmarty
c72bb92ef2
Sync Strings from Localazy
2023-09-25 00:09:17 +00:00
bmarty
a7ce12d91d
Sync Strings from Localazy
2023-09-21 15:51:21 +00:00
Benoit Marty
0255ec6771
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
d19b624c6f
Rename Event for clarity
2023-09-21 15:33:03 +02:00
Benoit Marty
dd5d67d186
Move open system setting to the PermissionsPresenter
2023-09-21 14:20:41 +02:00
Benoit Marty
7e587f9a9e
Add strings for permission dialogs in Localazy
2023-09-21 12:07:09 +02:00
Benoit Marty
dcb1677bf1
Open app settings from the permission dialog.
2023-09-21 11:37:59 +02:00
Benoit Marty
f3456cafa7
Rename Event for clarity
2023-09-21 11:29:29 +02:00
Benoit Marty
31eca73e8d
Request Camera permission before launching the external Camera app ( #1395 )
2023-09-21 10:54:02 +02:00
Benoit Marty
0e4c146e87
Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty
2819448cd4
Use DayNightPreview
2023-09-19 11:49:12 +02:00
Jorge Martin Espinosa
cfdccc904e
Replace notification permission dialog with a screen ( #1223 )
...
* Replace notification permission dialog with a screen
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-05 18:58:05 +02:00
Benoit Marty
7083abcf09
migrate object to data object ( #1135 )
2023-08-24 09:32:44 +02:00
Benoit Marty
6aa5239189
Enable detekt rule PreviewPublic and fix existing issues.
2023-07-26 10:08:39 +02:00
Marco Romano
ca695ca077
Revert "Auto generate dark mode previews and screenshots ( #776 )" ( #784 )
...
This reverts commit fd467c2451 .
2023-07-05 15:47:53 +02:00
Marco Romano
fd467c2451
Auto generate dark mode previews and screenshots ( #776 )
...
With this change, composable previews and screenshots should be created with just:
```
@ElementPreviews
@Composable
fun MyViewPreview() {
ElementPreview {
MyView()
}
}
```
- Adds `@ElementPreviews` which is a shorthand for:
```
@Preview(name = "D")
@Preview(name = "N", uiMode = Configuration.UI_MODE_NIGHT_YES)
```
Should be used in connection with the now public `fun ElementPreview()` composable.
- Adds ElementPreviews to previewAnnotations in dangerfile
- Screenshots of night mode previews are now rendered with night mode
- Replaces `ElementPreviewLight` and `ElementThemedPreview` with `ElementPreview`
- Deprecates `ElementPreviewDark` which should be removed.
- Remaining usages of `ElementPreviewDark` are now ignored during screenshot tests
2023-07-05 13:58:24 +02:00
Jorge Martin Espinosa
de010545fb
Update Gradle to 8.1 and AGP to v8.0 ( #329 )
...
* Update AGP to 8.0.0.
* Set JAVA_HOME to JDK17
* Update lint version.
* Use right JDK for dependency analysis, replace deprecated env var.
* Upgrade to Gradle 8.1.
* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Benoit Marty
7fe427686c
Let this module generate screenshot preview.
2023-04-12 09:41:22 +02:00
Benoit Marty
7976ca2dbf
Add more state for more previews.
2023-04-12 09:41:22 +02:00
Benoit Marty
9e00c60649
if -> when
2023-04-12 09:41:22 +02:00
Benoit Marty
08fa22069b
Use presenter factory
2023-04-05 16:31:09 +02:00
Benoit Marty
000ed480ee
Be able to test PermissionsPresenterTest. Create interface to abstract Accompanist implementation
2023-04-05 16:25:27 +02:00
Benoit Marty
d8b37d6ead
Add permission modules
2023-04-05 16:25:27 +02:00