Marco Romano
b4e6d83fb7
"Create poll" UI ( #1143 )
...
NB: This is missing analytics, which will be added once https://github.com/matrix-org/matrix-analytics-events/pull/85 is merged.
Closes https://github.com/vector-im/element-meta/issues/2011
2023-08-29 22:31:21 +02:00
Benoit Marty
7a602790ab
Localazy: move string screen_migration_ to ftue/impl module and sync the strings.
2023-08-25 13:52:32 +02:00
Michael Telatynski
09efc2d358
Update localazy config generator - specify force_underscore=yes ( #1122 )
2023-08-23 11:59:09 +02:00
Benoit Marty
028ee3a796
Release script, do not exit in case of error.
2023-08-16 16:55:49 +02:00
Benoit Marty
d06f86f79d
Merge pull request #967 from vector-im/feature/bma/detektConfig
...
Update detekt config.
2023-07-28 16:47:26 +02:00
Benoit Marty
5047136a7b
Merge pull request #983 from vector-im/feature/bma/lintErrors
...
Update lint rules, remove unused resource and sync strings.
2023-07-27 15:59:38 +02:00
Benoit Marty
952238d5fe
Detect missing translations.
2023-07-27 13:25:37 +02:00
Benoit Marty
d78e1d3207
lint: ImpliedQuantity is now error.
2023-07-27 11:55:49 +02:00
Benoit Marty
3dda01a08a
lint: remove unknown rule.
2023-07-27 11:54:51 +02:00
Benoit Marty
5ab76eefe3
Lint: do not ignore unused resources (except for strings)
2023-07-27 11:42:23 +02:00
Benoit Marty
eac0d76782
Add Localazy badge to the Localazy readme.
2023-07-26 15:12:58 +02:00
Benoit Marty
d22b005aa3
Enable more detekt rules.
2023-07-26 12:12:37 +02:00
Benoit Marty
b69e01a5f3
Enable detekt rules UseLet and fix existing issues.
2023-07-26 12:12:07 +02:00
Benoit Marty
613cd4f863
Enable detekt rules UseDataClass and fix existing issues.
2023-07-26 11:51:17 +02:00
Benoit Marty
15ac81d32a
Enable detekt rules UnderscoresInNumericLiterals and fix existing issues.
2023-07-26 11:48:08 +02:00
Benoit Marty
6fff373613
Enable detekt rules OptionalUnit and fix existing issues.
2023-07-26 11:43:48 +02:00
Benoit Marty
4ba4bd1f56
Enable more detekt rules and remove unused extension.
2023-07-26 11:25:05 +02:00
Benoit Marty
8458a9e937
Enable detekt rules DataClassShouldBeImmutable and fix existing issues.
2023-07-26 11:18:00 +02:00
Benoit Marty
d433c3cbaa
Enable detekt rules AlsoCouldBeApply and fix existing issues.
2023-07-26 11:10:46 +02:00
Benoit Marty
1d3aa2cd05
Enable detekt rules CascadingCallWrapping and fix existing issues.
2023-07-26 11:07:25 +02:00
Benoit Marty
03cefb2c79
Enable detekt rules SuspendFunSwallowedCancellation and SuspendFunWithCoroutineScopeReceiver.
2023-07-26 10:48:38 +02:00
Benoit Marty
140271069c
Enable detekt rule TooGenericExceptionThrown and fix existing issue.
2023-07-26 10:40:41 +02:00
Benoit Marty
5d0bf5dbe0
Enable detekt rule InstanceOfCheckForException.
2023-07-26 10:37:44 +02:00
Benoit Marty
b4fd5d018c
Enable detekt rule ComplexCondition, LargeClass.
2023-07-26 10:34:39 +02:00
Benoit Marty
f055a25457
Enable detekt rule ThrowingExceptionsWithoutMessageOrCause and fix existing issues.
2023-07-26 10:33:51 +02:00
Benoit Marty
d82b47beeb
Enable detekt rule UnnecessaryAbstractClass, LoopWithTooManyJumpStatements, EmptySecondaryConstructor.
2023-07-26 10:23:51 +02:00
Benoit Marty
9894e2fed0
Enable detekt rule ProtectedMemberInFinalClass.
2023-07-26 10:19:25 +02:00
Benoit Marty
9e3679cbd6
Enable detekt rule UseCheckOrError and fix existing issues (and a potential crash on MapboxMap?).
2023-07-26 10:18:28 +02:00
Benoit Marty
f3974dd570
Enable detekt rule ImplicitDefaultLocale and fix existing issue.
2023-07-26 10:11:00 +02:00
Benoit Marty
996574f2c6
Enable detekt rule PreviewPublic and fix existing issues.
2023-07-26 10:08:39 +02:00
Benoit Marty
de7866be19
Ensure the release script will exist in case of failure.
2023-07-21 12:51:10 +02:00
Benoit Marty
03b2b0d484
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.
2023-07-21 12:50:29 +02:00
Benoit Marty
59a66479ab
Merge branch 'develop' into feature/bma/noWarnings
2023-07-21 12:17:50 +02:00
Benoit Marty
aa26959748
Change how we detect if git flow is init.
2023-07-20 19:43:46 +02:00
Benoit Marty
1bc80a526c
Move download_github_artifacts.py to its own folder.
2023-07-20 19:22:53 +02:00
Benoit Marty
c56977ed69
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.
2023-07-20 19:15:56 +02:00
Benoit Marty
4a3ba10ad5
Enable more detekt rules
2023-07-20 18:08:37 +02:00
Benoit Marty
c72f1a09a7
Enable detekt rules UnnecessaryParentheses and cleanup the code.
2023-07-20 18:08:08 +02:00
Benoit Marty
55538c2773
Enable detekt rules UnusedImports and cleanup the code.
2023-07-20 18:00:23 +02:00
Benoit Marty
2c4308ddba
Remove detekt rules about ViewModels.
2023-07-20 17:53:29 +02:00
Benoit Marty
8f715cbc92
Enable detekt rules TopLevelPropertyNaming and cleanup the code.
2023-07-20 17:52:48 +02: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
Benoit Marty
bb3511e5f3
Enable detekt rule UnusedPrivateMember and cleanup the code.
2023-07-20 17:44:14 +02:00
Benoit Marty
14507c9cbc
Add release script
2023-07-20 13:27:47 +02:00
Jorge Martin Espinosa
280b7e32e0
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 >
2023-07-17 18:34:36 +02:00
Marco Romano
a852465554
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
2023-07-17 16:22:29 +02:00
Benoit Marty
9b042cf056
Remove ElementColors. We should use semantics and material colors now.
2023-07-10 17:33:42 +02:00
Benoit Marty
47240e208b
Remove the legacy script which imports Strigns from Element Android project.
2023-07-10 12:15:41 +02:00
Benoit Marty
4e8725d390
Merge pull request #781 from vector-im/feature/bma/waitingListScreen
...
Implement waiting list screen (error IO_ELEMENT_X_WAIT_LIST)
2023-07-06 18:24:41 +02:00