Jorge Martín
a76f00010b
Fix issue with `UserListView` previews
8 months ago
Jorge Martin Espinosa
b9d902e3fe
Room admins can change user roles ( #2423 )
...
Allow Admins to modify room member roles:
- Add a 'roles and permissions' option for each room.
- Allow promoting users to admins, adding or removing moderators, and demote yourself if you're and admin.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
8 months ago
bmarty
5c8be8f61f
Sync Strings from Localazy
8 months ago
Benoit Marty
b9933acf98
Sync Localazy strings - including post treatment.
...
./tools/localazy/downloadStrings.sh --all
8 months ago
Benoit Marty
5e0b705d44
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
8 months ago
Benoit Marty
a7e38f0925
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
8 months ago
Jorge Martin Espinosa
b69cb8175a
Update Compound to v0.0.5 and update icons ( #2380 )
...
Update Compound to `v0.0.5`:
- Make sure we fix all the breaking changes.
- Update some icons to use the compound version instead.
-Replace icons with their Compound counterparts when possible.
- Clean up unused icons.
- Fix issues with incorrect icons or sizes being used after replacing the temporary icons with the Compound ones.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
9 months ago
Benoit Marty
a55d3d0ace
Move `clearFocusOnTap` to the designsystem library to reduce code duplication.
9 months ago
Benoit Marty
b104dba845
Remove Modifier parameter in private function when only default value is used.
...
This will improve the code coverage metrics, and this also fixes a few potential bug, where the Modifier was used several times.
9 months ago
bmarty
03c95555e3
Sync Strings from Localazy
9 months ago
Jorge Martin Espinosa
0f5038af8f
Make the whole items in advanced settings screen clickable, standarize paddings ( #2314 )
...
* Make sure the whole item in advanced settings screen triggers the toggle action
* Fix UI changes when setting `onChecked` actions to null.
* Fix padding in invite member list items
* Remove redundant `CheckableUserRow` alternatives.
* Use 4dp for padding instead
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
9 months ago
ElementBot
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
10 months ago
Benoit Marty
d01c70a4fd
Fix moar ktlint issues
10 months ago
Benoit Marty
5d086ad82d
Fix moar ktlint issues
10 months ago
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
Benoit Marty
371065bfdd
Exclude `ContentToPreview` from coverage, either by using annotation @ExcludeFromCoverage , or by inlining it.
10 months ago
ganfra
44b6a97c90
Rename isFetchingSearchResults to showSearchLoader
10 months ago
ganfra
a0ba83c863
Rename SearchBarResultState.Empty to SearchBarResultState.Initial
10 months ago
ganfra
9fcc50e08a
Rename UserSearchResults as UserSearchResultState
10 months ago
ganfra
109aea5ede
MatrixUserRepo : fix tests
10 months ago
ganfra
c6b3387b62
User search : show a loader when fetching results
10 months ago
Benoit Marty
365c423190
Clean up
10 months ago
Benoit Marty
e42005fc52
Rename AsyncView to AsyncActionView
10 months ago
Benoit Marty
7b2341aec7
Rename Async to AsyncData
10 months ago
Benoit Marty
4f9fc2cfcf
Fix compilation issue with compose compiler 1.5.7
10 months ago
Benoit Marty
dd4aa681c6
Remove now useless ExperimentalLayoutApi opt in
10 months ago
bmarty
e6f4a7364f
Sync Strings from Localazy
10 months ago
ganfra
c4dc024c63
Fix detekt
11 months ago
ganfra
78bd6915c7
BackstackParentNode now become BaseFlowNode and adds Overlay navModel into it.
11 months ago
Benoit Marty
39cca2ce09
Sync localazy using fixed script
11 months ago
Benoit Marty
24d3981261
Run the script again.
11 months ago
bmarty
fced91addb
Sync Strings from Localazy
11 months ago
ganfra
785a27151e
StartDMAction : small improvements after review
11 months ago
ganfra
3efbf4747d
StartDM : add tests
11 months ago
ganfra
e8eb9c0840
Add StartDMAction to further share code
11 months ago
ganfra
ab2dc827f0
Creates a startDM method so we can reuse it for the new flow
11 months ago
Marco Romano
f186a85ed0
Rename params in NodeFactories for clarity ( #1916 )
...
- `context` is now `buildContext` to reflect that it's of type `BuildContext` (and not an android `Context`).
- `NODE` generic type param is now `N` to stick with Java convention: https://docs.oracle.com/javase/tutorial/java/generics/types.html .
11 months ago
Jorge Martin Espinosa
087d2728d5
Extract compound tokens and theming to `compound-android` library ( #1888 )
...
* Replace tokens & icons with the external Compound ones
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
Benoit Marty
ae0c3edd24
Remove default value for lambda.
...
We enforce a value to be provided and it's better for code coverage.
11 months ago
Benoit Marty
67ed385e45
Prevent usage of hard-coded string for contentDescription, and fix existing issues.
12 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
Benoit Marty
aaa89afe34
Use AsyncView in EditUserProfileView
1 year ago
Benoit Marty
662b1f8f50
Use AsyncView in CreateRoomRootView
1 year ago
Benoit Marty
c6ee35f567
Use AsyncView in ConfigureRoomView
1 year ago
Benoit Marty
f6d7a014a7
Remove other useless `lazy` wrapping.
1 year ago
Benoit Marty
8929a90970
Konsist: add test to ensure filename match top level Composable View, and fix existing issue
1 year ago
bmarty
7e3b9d8d3b
Sync Strings from Localazy
1 year ago
Benoit Marty
d19b624c6f
Rename Event for clarity
1 year ago
Benoit Marty
1b5aa7adaa
Test that permission is requested, instead of giving the permission directly.
1 year ago
Benoit Marty
dd5d67d186
Move open system setting to the PermissionsPresenter
1 year ago