Benoit Marty
ac1d355f65
Cleanup: there are no androidTest on those modules.
2023-07-24 12:41:02 +02:00
bmarty
e196d951f8
Sync Strings from Localazy
2023-07-24 00:10:09 +00:00
Benoit Marty
2bd1c75937
Enable detekt rules VariableNaming and cleanup the code.
2023-07-20 17:50:23 +02:00
Benoit Marty
bd2826da3a
Enable detekt rules UnusedParameter and UnusedPrivateProperty and cleanup the code.
2023-07-20 17:48:56 +02:00
renovate[bot]
6d3b816bf5
Update dependency app.cash.molecule:molecule-runtime to v1 ( #925 )
...
* Update dependency app.cash.molecule:molecule-runtime to v1
* Replace `RecompositionClock` with `RecompositionMode`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2023-07-20 07:36:19 +02:00
ElementBot
045d957f91
Sync Strings ( #882 )
...
* Sync Strings from Localazy
* Update screenshots
---------
Co-authored-by: bmarty <bmarty@users.noreply.github.com >
2023-07-17 10:22:15 +02:00
Benoit Marty
d08ec91a4a
Add version name as label.
2023-07-10 14:45:57 +02:00
Benoit Marty
adedfc14ce
Add userId and deviceId to rageshake data.
2023-07-10 14:43:03 +02:00
Marco Romano
f33561c25d
Revert "Auto generate dark mode previews and screenshots ( #776 )" ( #784 )
...
This reverts commit 79b529193c .
2023-07-05 15:47:53 +02:00
Marco Romano
79b529193c
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
Benoit Marty
bf26aa13c8
Bugfix: close screen after bug report has been sent.
2023-07-03 17:09:04 +02:00
Benoit Marty
66469662ba
Show Toast when bug report is submitted with success.
2023-07-03 17:09:04 +02:00
Benoit Marty
da7e9a8bf2
More cleanup on BugReportView.
2023-07-03 17:09:04 +02:00
Benoit Marty
5accd9f139
Do not distinguish log and crash log anymore.
2023-07-03 17:09:04 +02:00
Benoit Marty
1c6aa43bea
Design iteration on bug report screen.
2023-07-03 17:09:04 +02:00
Benoit Marty
c02dd599d9
Disable rageshake by default. Can be enabled in the developed settings, but this is not available in the release version.
2023-07-03 17:09:04 +02:00
bmarty
bd3dd76039
Sync Strings from Localazy
2023-07-03 00:11:17 +00:00
Benoit Marty
5916e92da0
Configure user agent for all network request ( #677 )
2023-06-29 13:05:23 +02:00
Benoit Marty
5f16297939
Merge branch 'develop' into feature/bma/removeOldResources
2023-06-27 16:09:30 +02:00
Benoit Marty
4cb9843415
Now that the composer as been removed, we do not need element resource module anymore.
2023-06-27 13:34:55 +02:00
Benoit Marty
4a8c49fa28
Use CommonStrings everywhere
2023-06-27 09:45:00 +02:00
Benoit Marty
12e54ac080
Lazy usage of OkHttpClient
2023-06-26 11:07:53 +02:00
bmarty
9c5c578c67
Sync Strings from Localazy
2023-06-26 00:10:53 +00: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
f8a16f2ea3
Inline the scroll state.
2023-06-09 18:09:09 +02:00
github-actions[bot]
03c28ac52d
Sync Strings ( #522 )
...
Sync Strings from Localazy
2023-06-05 15:26:50 +00:00
bmarty
3daea29a82
Sync Strings from Localazy
2023-05-29 00:09:47 +00:00
Benoit Marty
54489f6b93
Init the mockked Bitmap only once.
2023-05-23 12:46:05 +02:00
Benoit Marty
a9c47d63e3
Create the mockked Bitmap in the constructor, to remove increased time out.
2023-05-23 12:25:07 +02:00
Jorge Martin Espinosa
882a155f07
Try to fix flaky test by setting a longer timeout in runTest ( #442 )
2023-05-22 17:52:31 +02:00
Florian Renaud
d79d00fc45
increase test timeout
2023-05-12 15:34:35 +02:00
Florian Renaud
c22d181d8c
Remove useless OptIn in tests
2023-05-12 10:05:39 +02:00
bmarty
367b659edc
Sync Strings from Localazy
2023-05-08 00:08:48 +00:00
bmarty
066ee4f43a
Sync Strings from Localazy
2023-05-01 00:09:50 +00:00
bmarty
cd5e4458a6
Sync Strings from Localazy
2023-04-24 00:09:54 +00:00
Jorge Martin Espinosa
afd58f1634
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
830946e0de
Ensure ellipsis char is used (fix lint issue).
2023-04-05 11:44:55 +02:00
Benoit Marty
45cea6cc3b
Invoke ./tools/localazy/downloadStrings.sh --all
2023-04-05 11:11:47 +02:00
Jorge Martin Espinosa
0fb061fb2e
[Room Details] Implement room details screen ( #256 )
...
* Implement Room Details screen
* Add option to create permalink from room id and alias, add share room action
2023-03-29 05:16:27 +00:00
Benoit Marty
c774f7529e
[Strings] Use strings from localazy.
2023-03-27 14:44:24 +02:00
Benoit Marty
d449ede86d
[Strings] Sync the strings.
2023-03-27 14:36:46 +02:00
Benoit Marty
0ae4b154e9
Cleanup and use indeterminate progress indicator
2023-03-16 16:34:20 +01:00
Benoit Marty
35a45f41ea
Fix close error dialog has no effect.
2023-03-16 15:47:10 +01:00
Benoit Marty
30eebe0b2e
Change API of BugReporter (make it suspend)
2023-03-16 15:47:10 +01:00
Benoit Marty
b68830faf1
Add explicit dependency to okhttp (was provided by coil), and inject the OkHttpClient to DefaultBugReporter.
2023-03-16 15:31:57 +01:00
ganfra
9d2bb2f776
[Architecture] Fix UT compilation after removing duplicated class
2023-03-09 16:27:24 +01:00
Benoit Marty
699e816328
Remove duplicated Fake class.
2023-03-09 14:16:48 +01:00
ganfra
cf74fadb19
[Architecture] Fix unittest compilation
2023-03-09 11:25:46 +01:00
ganfra
7051bfc14e
[Architecture] split all feature modules to api/impl
2023-03-08 16:13:45 +01:00