Benoit Marty
34a85c4956
Release script: Add link to documentation to install the application from the GitHub release.
1 year ago
Benoit Marty
b581cc9328
Release script: split APKs generation and APK deployment into 2 separate steps.
1 year ago
Benoit Marty
f44fa4190f
Release script: do not bundle the minimal app when checking if the project compiles locally.
1 year ago
Benoit Marty
0ef0accdf6
Localazy: move string `screen_migration_` to ftue/impl module and sync the strings.
1 year ago
yostyle
82c8acd3dc
Update strings
1 year ago
Michael Telatynski
2910911da2
Update localazy config generator - specify force_underscore=yes ( #1122 )
1 year ago
Benoit Marty
29da271357
Release script, do not exit in case of error.
1 year ago
Benoit Marty
86313417cb
Detect missing translations.
1 year ago
Benoit Marty
9e557039a4
lint: ImpliedQuantity is now error.
1 year ago
Benoit Marty
9da162e5d7
lint: remove unknown rule.
1 year ago
Benoit Marty
017fd4296d
Lint: do not ignore unused resources (except for strings)
1 year ago
Benoit Marty
5052134428
Add Localazy badge to the Localazy readme.
1 year ago
Benoit Marty
e7c330be95
Enable more detekt rules.
1 year ago
Benoit Marty
495d6020ad
Enable detekt rules `UseLet` and fix existing issues.
1 year ago
Benoit Marty
b8281052b9
Enable detekt rules `UseDataClass` and fix existing issues.
1 year ago
Benoit Marty
b3cf0d2cf1
Enable detekt rules `UnderscoresInNumericLiterals` and fix existing issues.
1 year ago
Benoit Marty
0e219200b0
Enable detekt rules `OptionalUnit` and fix existing issues.
1 year ago
Benoit Marty
f7536a5450
Enable more detekt rules and remove unused extension.
1 year ago
Benoit Marty
1354ec76c9
Enable detekt rules `DataClassShouldBeImmutable` and fix existing issues.
1 year ago
Benoit Marty
19e81825ff
Enable detekt rules `AlsoCouldBeApply` and fix existing issues.
1 year ago
Benoit Marty
e0255777c0
Enable detekt rules `CascadingCallWrapping` and fix existing issues.
1 year ago
Benoit Marty
17155a7426
Enable detekt rules `SuspendFunSwallowedCancellation` and `SuspendFunWithCoroutineScopeReceiver`.
1 year ago
Benoit Marty
bd0031445e
Enable detekt rule `TooGenericExceptionThrown` and fix existing issue.
1 year ago
Benoit Marty
297d77af85
Enable detekt rule `InstanceOfCheckForException`.
1 year ago
Benoit Marty
7aa448c3bc
Enable detekt rule `ComplexCondition`, `LargeClass`.
1 year ago
Benoit Marty
b5a5118160
Enable detekt rule `ThrowingExceptionsWithoutMessageOrCause` and fix existing issues.
1 year ago
Benoit Marty
9a6ed8dac6
Enable detekt rule `UnnecessaryAbstractClass`, `LoopWithTooManyJumpStatements`, `EmptySecondaryConstructor`.
1 year ago
Benoit Marty
5ae51095e3
Enable detekt rule `ProtectedMemberInFinalClass`.
1 year ago
Benoit Marty
73347deaaf
Enable detekt rule `UseCheckOrError` and fix existing issues (and a potential crash on MapboxMap?).
1 year ago
Benoit Marty
3f372e5804
Enable detekt rule `ImplicitDefaultLocale` and fix existing issue.
1 year ago
Benoit Marty
6aa5239189
Enable detekt rule `PreviewPublic` and fix existing issues.
1 year ago
Benoit Marty
5eb70215a6
Ensure the release script will exist in case of failure.
1 year ago
Benoit Marty
ce22aecbf2
Add a shortcut to ensure that ./gradlew check will prevent having warning in the codebase. We may add more instructions in the future in this file.
1 year ago
Benoit Marty
b98d57c9c8
Change how we detect if git flow is init.
1 year ago
Benoit Marty
3e2a516b94
Move download_github_artifacts.py to its own folder.
1 year ago
Benoit Marty
8833bd09d6
Extract git flow init from release script (so that it can be run standalone) and do not use `-t` which does not seem to be standard.
1 year ago
Benoit Marty
73ae59a3ca
Enable more detekt rules
1 year ago
Benoit Marty
c75eabbcb0
Enable detekt rules `UnnecessaryParentheses` and cleanup the code.
1 year ago
Benoit Marty
2928073e22
Enable detekt rules `UnusedImports` and cleanup the code.
1 year ago
Benoit Marty
08a7287e8b
Remove detekt rules about ViewModels.
1 year ago
Benoit Marty
e918d6affd
Enable detekt rules `TopLevelPropertyNaming` and cleanup the code.
1 year ago
Benoit Marty
a8ed8b7a59
Enable detekt rules `VariableNaming` and cleanup the code.
1 year ago
Benoit Marty
86756dbc09
Enable detekt rules `UnusedParameter` and `UnusedPrivateProperty` and cleanup the code.
1 year ago
Benoit Marty
24ece8c454
Enable detekt rule `UnusedPrivateMember` and cleanup the code.
1 year ago
Benoit Marty
3f399ff396
Add release script
1 year ago
Jorge Martin Espinosa
2488432805
Hide encryption history + FTUE flow ( #839 )
...
* First attempt at implementing encrypted history banner and removing old UTDs
* Get the right behavior in the timeline
* Implement the designs
* Extract post-processing logic, add tests
* Add encryption banner to timeline screenshots
* Create FTUE feature to handle welcome screen and analytics
* Move classes to their own packages, add tests for `DefaultFtueState`.
* Remove unnecessary private MutableStateFlow
* Move some FTUE related methods and classes back to the `impl` module
* Handle back press at each FTUE step
* Remove unneeded `TestScope` receiver for `createState` in tests.
* Use light & dark previews for the banner view.
* Move color customization from `TextStyle` to `Text` component.
* Rename `InfoList` design components, use them in `AnalyticsOptInView` too.
* Cleanup MatrixClient.
* Fix copy&paste error
Co-authored-by: Benoit Marty <benoit@matrix.org>
* Fix typo
* Fix Maestro tests
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
1 year ago
Marco Romano
004b86b05d
MapLibre compose wrapper library ( #877 )
...
Heavily inspired from https://github.com/googlemaps/android-maps-compose It doesn't aim to be a full featured library like android-maps-compose, it's been stripped down to only handle our use cases.
Related to:
https://github.com/vector-im/element-meta/issues/1674
https://github.com/vector-im/element-meta/issues/1682
1 year ago
Benoit Marty
e2f3f2966b
Remove ElementColors. We should use semantics and material colors now.
1 year ago
Benoit Marty
73fa6fc6be
Remove the legacy script which imports Strigns from Element Android project.
1 year ago
Marco Romano
3449ea486a
Optional day night preview annotation ( #793 )
...
Adds the `@DayNightPreviews` annotation that when used on a composable will:
- Display both a day mode and night mode preview in Android Studio.
- Produce both a day and night screenshot during screenshot testing.
The usage of this new annotation is optional, all the current previews continue to work without breakages.
New code can use, when appropriate, the new `@DayNightPreviews` annotation and replace the pattern using three `LightPreview/DarkPreview/ContentToPreview` functions with:
```
@DayNightPreviews
@Composable
fun MyScreenPreview(@PreviewParameter(MyStateProvider::class) state: MyState) {
ElementPreview {
MyScreen(
state = state,
)
}
}
```
1 year ago