Benoit Marty
cc43f8a1d2
Add version name as label.
2023-07-10 14:45:57 +02:00
Benoit Marty
9cd267b7f7
Add userId and deviceId to rageshake data.
2023-07-10 14:43:03 +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
Benoit Marty
b69de38c66
Bugfix: close screen after bug report has been sent.
2023-07-03 17:09:04 +02:00
Benoit Marty
028faf2537
Show Toast when bug report is submitted with success.
2023-07-03 17:09:04 +02:00
Benoit Marty
f325ffad12
More cleanup on BugReportView.
2023-07-03 17:09:04 +02:00
Benoit Marty
1909ed9574
Do not distinguish log and crash log anymore.
2023-07-03 17:09:04 +02:00
Benoit Marty
c0bda1ec86
Design iteration on bug report screen.
2023-07-03 17:09:04 +02:00
Benoit Marty
6a2170f059
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
6e54ed7b77
Sync Strings from Localazy
2023-07-03 00:11:17 +00:00
Benoit Marty
f4b4e4d316
Configure user agent for all network request ( #677 )
2023-06-29 13:05:23 +02:00
Benoit Marty
aadc6d68d8
Merge branch 'develop' into feature/bma/removeOldResources
2023-06-27 16:09:30 +02:00
Benoit Marty
659b9d3d9c
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
798da50454
Use CommonStrings everywhere
2023-06-27 09:45:00 +02:00
Benoit Marty
3652059a52
Lazy usage of OkHttpClient
2023-06-26 11:07:53 +02:00
bmarty
874739ece9
Sync Strings from Localazy
2023-06-26 00:10:53 +00: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
921a352947
Inline the scroll state.
2023-06-09 18:09:09 +02:00
github-actions[bot]
044a3c991e
Sync Strings ( #522 )
...
Sync Strings from Localazy
2023-06-05 15:26:50 +00:00
bmarty
175b7deccb
Sync Strings from Localazy
2023-05-29 00:09:47 +00:00
Benoit Marty
5cf17a432f
Init the mockked Bitmap only once.
2023-05-23 12:46:05 +02:00
Benoit Marty
0ac0bbb37a
Create the mockked Bitmap in the constructor, to remove increased time out.
2023-05-23 12:25:07 +02:00
Jorge Martin Espinosa
6825d8ac2b
Try to fix flaky test by setting a longer timeout in runTest ( #442 )
2023-05-22 17:52:31 +02:00
Florian Renaud
394ef825ef
increase test timeout
2023-05-12 15:34:35 +02:00
Florian Renaud
719dd20555
Remove useless OptIn in tests
2023-05-12 10:05:39 +02:00
bmarty
f54b4e9f7e
Sync Strings from Localazy
2023-05-08 00:08:48 +00:00
bmarty
8f1793ffa4
Sync Strings from Localazy
2023-05-01 00:09:50 +00:00
bmarty
860777d20c
Sync Strings from Localazy
2023-04-24 00:09:54 +00: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
85b825e669
Ensure ellipsis char is used (fix lint issue).
2023-04-05 11:44:55 +02:00
Benoit Marty
cca31af3f4
Invoke ./tools/localazy/downloadStrings.sh --all
2023-04-05 11:11:47 +02:00
Jorge Martin Espinosa
ecc73dd325
[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
998178b70f
[Strings] Use strings from localazy.
2023-03-27 14:44:24 +02:00
Benoit Marty
0af5ee0741
[Strings] Sync the strings.
2023-03-27 14:36:46 +02:00
Benoit Marty
ac8d071d43
Cleanup and use indeterminate progress indicator
2023-03-16 16:34:20 +01:00
Benoit Marty
8302af2dc6
Fix close error dialog has no effect.
2023-03-16 15:47:10 +01:00
Benoit Marty
fc2dfacd7e
Change API of BugReporter (make it suspend)
2023-03-16 15:47:10 +01:00
Benoit Marty
0d73b962c2
Add explicit dependency to okhttp (was provided by coil), and inject the OkHttpClient to DefaultBugReporter.
2023-03-16 15:31:57 +01:00
ganfra
93ea68cd4c
[Architecture] Fix UT compilation after removing duplicated class
2023-03-09 16:27:24 +01:00
Benoit Marty
f1048f7578
Remove duplicated Fake class.
2023-03-09 14:16:48 +01:00
ganfra
1f69672597
[Architecture] Fix unittest compilation
2023-03-09 11:25:46 +01:00
ganfra
bc9f3b69cc
[Architecture] split all feature modules to api/impl
2023-03-08 16:13:45 +01:00