Benoit Marty
daaaf92a87
Let IconTitleSubtitleMolecule use BigIcon.
1 week ago
Benoit Marty
576658988f
Improve test `Classes extending 'PreviewParameterProvider' name MUST end with 'Provider' and MUST contain provided class name`
2 weeks ago
Benoit Marty
8c018c4fda
Fix konsist test.
3 weeks ago
Benoit Marty
ac481a59de
Konsist: Ensure that `Presenter` do not depend on other presenters.
3 weeks ago
Benoit Marty
f2ca3c30d7
Konsist: Ensure that unit tests are detected
3 weeks ago
Benoit Marty
b889e8681c
Rename `hideContent` to `hideMediaContent`
4 weeks ago
Benoit Marty
d2bd1b7cab
Fix test
4 weeks ago
Jorge Martin Espinosa
79c17f714f
Use Anvil KSP instead of the Square KAPT one ( #3564 )
...
* Use Anvil KSP instead of the Square KAPT one
* Fix several configuration cache, lint and test issues
* Allow incremental kotlin compilation in the CI
* Workaround Robolectric + Compose issue that caused `AppNotIdleException`
* Update the `enterprise` commit hash
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
4 weeks ago
Benoit Marty
154114bfce
Konsist: implement another workaround.
1 month ago
Benoit Marty
e0a9fbe063
Konsist: fix compilation issue and implement workaround.
1 month ago
Benoit Marty
2d9b0bbe19
Adapt Konsist test for Fake Rust classes.
1 month ago
Benoit Marty
49fcba1381
Migrate license to AGPL - Update KonsistLicenseTest
2 months ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
Benoit Marty
965e445d04
Replace OSS licenses plugin with Licensee and some manually done UI.
...
This should fix both configuration cache and reproducible F-droid builds.
Cleanup and remove gplay/fdroid diff on open source licenses.
Co-authored by @jmartinesp
2 months ago
Benoit Marty
f2b38e50e3
Add test on function name which may start or end with spaces and fix existing issues.
2 months ago
Benoit Marty
459f60d8a0
Add preview for message shield dialog.
3 months ago
Benoit Marty
faf1e7da9f
Iterate on shield mapping and rendering
...
Also handle click on the timeline and information displayed on long click.
3 months ago
Benoit Marty
ad3c4e1216
Add exception for Konsist test.
4 months ago
Benoit Marty
a0b8679776
Add preview for Call screen in different PipState.
4 months ago
Benoit Marty
d000f956b6
Add Konsist test to ensure that we invoke callback method on all the Callback instances.
4 months ago
Benoit Marty
d22dd7c2f7
Let Konsist checks the license header
4 months ago
Benoit Marty
1b72221df7
Add first EnterpriseService.
4 months ago
Benoit Marty
3fa508f1fe
Add Konsist test `Class with 'ContributeBinding' annotation should have allowed prefix` and fix exissting issues.
...
Also remove annotation `DefaultPreferences`, we only have one implementation.
5 months ago
Benoit Marty
45598a885e
Rename some class from `Impl` to Default
5 months ago
Benoit Marty
cf4497d323
Add Konsist test about class name: Class implementing interface should have name not end with 'Impl' but start with 'Default'
5 months ago
Benoit Marty
569f3dbe0a
Exclude screenshot test classes from `Classes name containing @Test must end with 'Test'`
5 months ago
Benoit Marty
3ecc4e9538
Fix typo in test name
5 months ago
Benoit Marty
2d47e9db52
Fix deprecation warning.
5 months ago
Benoit Marty
b994a1ea91
Fix API break in Konsist 0.15.1
5 months ago
Benoit Marty
9fee141bb8
Add a Konsist test to check function parameter name, and fix existing issue.
5 months ago
Benoit Marty
cfc16eb790
Add Konsist test to ensure that BuildConfig.VersionCode is not used.
5 months ago
Benoit Marty
fc2d908f95
Exclude FakeRustRoom from this test.
5 months ago
Benoit Marty
86f5a844b2
Exclude FakeFileSystem from this test.
5 months ago
Benoit Marty
8e864adf72
Exclude FakeImageLoader from this test.
5 months ago
Benoit Marty
4113bae938
Add Konsist test `Fake classes must be named using Fake and the interface it fakes`
5 months ago
Jorge Martin Espinosa
880ebb4de8
Plain text editor implementation based on markdown input ( #2840 )
...
* Add plain text editor based on markdown input
- Fix autofocus of message composer.
- Remove `Message` data class, fetch the details in `MessagesPresenter` instead.
- Remove `enable rich text` option from advanced settings, set it as a build configuration instead.
* Fix MentionSpanProvider
* Bump RTE library to released `v2.37.3`
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
5 months ago
Jorge Martin Espinosa
48bb0f4122
Add room badges ( #2822 )
...
* Add room badges
* Remove no longer used `onShareRoomMember` callback
* Update screenshots
* Add changelog
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
6 months ago
Benoit Marty
ce7bb11724
Ensure roomId are not rendered in the UI.
...
Add preview to see the effect.
Use RoomAvatar data fallback everywhere, to not use roomId (`!` char) for the avatar initial, but rather `#`.
6 months ago
Benoit Marty
8b8c530738
Split long line
6 months ago
Benoit Marty
ff254554c6
Add Konsist test to check preview function names.
6 months ago
Benoit Marty
94930bae80
Add Konsist check to ensure that 'org.jetbrains.annotations.VisibleForTesting' is not used.
6 months ago
Benoit Marty
4fe7b601af
Add Konsist check to ensure that '@PreviewLightDark' is not used.
7 months ago
Jorge Martin Espinosa
57e6db8144
Move `Konsist` tests to quality checks ( #2558 )
...
* Move `Konsist` tests to quality checks
This should also help us avoid running them for every single test task, including Kover.
* Fix upload report path filter
8 months ago
Benoit Marty
f08c80358c
Konsist test: ignore Composable extensions.
11 months ago
Benoit Marty
abd90acd8c
Add Konsist test to use isNull() instead of isEqualTo(null), and fix existing issue.
11 months ago
Benoit Marty
9e731f40ca
Add Konsist test to use isEmpty() instead of isEqualTo(empty), and fix existing issue.
11 months ago
Benoit Marty
ab8e4f1422
Add Konsist test to use isTrue() instead of isEqualTo(true), and fix existing issues.
11 months ago
Benoit Marty
b2d9b41946
Add Konsist test to use isFalse() instead of isEqualTo(false), and fix existing issues.
11 months ago
Benoit Marty
fa590202c3
Add Konsist test to check that `assertThat` is imported, and fix existing issues.
11 months ago
Jorge Martin Espinosa
a5bad53c62
Iterate design on several screens: update icons, replace PreferenceTexts ( #1771 )
...
- Batch import new icons from the design team.
- Rename _september icons since they're just extra icons that need to be integrated in Compound in the future, and it should be ok if we don't distinguish between ic_september_*, ic_november_* etc., so all icons are now simply ic_* in the designsystem module.
- Create a new CompoundIconListPreviewProvider to add chunked lists of icons for previews. Add an exception for it to Konsist.
- Move some icons to use Compound icons.
- Remove most PreferenceText usages, use ListItem instead.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
12 months ago