ganfra
7471e12bc5
RoomListFilters: try to improve ui with animation and fading edges
2024-02-20 21:17:16 +01:00
Benoit Marty
3cbbde7c3e
Add first tests for ShowLocationView
2024-02-19 13:36:08 +01:00
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>
2024-02-12 16:41:58 +00:00
Benoit Marty
689ab61b23
Ensure all dialogs have the same preview format.
...
A combined ElementThemedPreview with PreviewGroup.Dialogs for Showkase and a regular PreviewsDayNight for code coverage
2024-02-09 22:31:35 +01:00
Benoit Marty
cebc06aa5e
Fix potential error:
...
Modifier factory functions must use the receiver Modifier instance
2024-02-08 11:06:06 +01:00
Benoit Marty
a55d3d0ace
Move clearFocusOnTap to the designsystem library to reduce code duplication.
2024-02-08 11:06:06 +01:00
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.
2024-02-08 11:06:06 +01:00
Jorge Martin Espinosa
d06e5c23cb
Move migration screen to within the room list ( #2361 )
...
* Rename migration bg drawable and add night variant
* Move `migration` package from `ftue` to `messages:impl` module
* Update `SunsetPage` with light and dark modes
* Fix bloom colors when nested theme is used
* Integrate the migration screen in the room list
* Fix `WaitListView` cancel button color
* Clear migration store when removing the app's cache
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-08 10:01:08 +00:00
Benoit Marty
afc2e6c7fe
Remove LogCompositions.
...
It was used at the beginning of the project, but is not useful anymore.
2024-02-07 16:33:48 +01:00
Marco Antonio Alvarez
f98cd5b99b
Merge branch 'develop' of github.com:element-hq/element-x-android into align-cta-button-on-login-flow
...
# Conflicts:
# features/onboarding/impl/src/main/kotlin/io/element/android/features/onboarding/impl/OnBoardingView.kt
# tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_0,NEXUS_5,1.0,en].png
# tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_1,NEXUS_5,1.0,en].png
# tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_2,NEXUS_5,1.0,en].png
# tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_3,NEXUS_5,1.0,en].png
# tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_4,NEXUS_5,1.0,en].png
# tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_0,NEXUS_5,1.0,en].png
# tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_1,NEXUS_5,1.0,en].png
# tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_2,NEXUS_5,1.0,en].png
# tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_3,NEXUS_5,1.0,en].png
# tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_4,NEXUS_5,1.0,en].png
2024-02-01 17:54:11 +01:00
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>
2024-01-30 11:39:04 +00:00
Benoit Marty
eb51b49aef
Always use the latest... fix.
2024-01-23 18:13:33 +01:00
Benoit Marty
3ced570b3c
Fix detekt issue:
...
Lambda parameters in a @Composable that are referenced directly inside of restarting effects can cause issues or unpredictable behavior.
If restarting the effect is ok, you can add the reference to this parameter as a key in that effect, so when the parameter changes, a new effect is created.
However, if the effect is not to be restarted, you will need to use `rememberUpdatedState` on the parameter and use its result in the effect.
See https://mrmans0n.github.io/compose-rules/rules/#be-mindful-of-the-arguments-you-use-inside-of-a-restarting-effect for more information. [LambdaParameterInRestartableEffect]
2024-01-23 18:13:33 +01:00
Jorge Martin Espinosa
56990e5e5b
Upgrade Material3 Compose to 1.2.0-beta02 ( #2247 )
...
* Upgrade Material3 Compose to `1.2.0-beta02`.
There is also a constraint on a transitive Compose Foundation dependency version (1.6.0-beta02) that fixes the timeline scrolling issue.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-18 08:49:55 +01:00
Marco Antonio Alvarez
3899814adb
Adjusted the login flow buttons a little bit
...
They were slightly smaller on the onboarding page so I used that everywhere
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-11 18:30:10 +01:00
Benoit Marty
92d8e4f55b
Merge branch 'develop' into feature/bma/sxcludePreviewFromCodeCoverage
2024-01-11 16:02:58 +01:00
Benoit Marty
a831f05f6e
Fix ktlint issues
2024-01-10 19:33:39 +01:00
Benoit Marty
64231044a7
Ignore ktlint issue for this particular object.
2024-01-10 19:31:36 +01:00
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>
2024-01-10 16:22:24 +01:00
Jorge Martin Espinosa
13e8e954d3
Improve rendering of voice messages in the timeline in large displays ( #2199 )
...
* Improve rendering of voice messages in the timeline in large displays
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-09 18:07:23 +01:00
Benoit Marty
371065bfdd
Exclude ContentToPreview from coverage, either by using annotation @ExcludeFromCoverage, or by inlining it.
2024-01-09 17:56:01 +01:00
ganfra
a0ba83c863
Rename SearchBarResultState.Empty to SearchBarResultState.Initial
2024-01-05 15:40:02 +01:00
ganfra
46c7757ab8
Merge branch 'develop' into feature/fga/invite_user_loader
2024-01-05 14:02:58 +01:00
ganfra
c6b3387b62
User search : show a loader when fetching results
2024-01-04 21:27:44 +01:00
Benoit Marty
365c423190
Clean up
2024-01-04 18:45:34 +01:00
Benoit Marty
ce97987399
Rename parameter
2024-01-04 18:10:53 +01:00
Benoit Marty
e42005fc52
Rename AsyncView to AsyncActionView
2024-01-04 17:50:52 +01:00
Benoit Marty
7b2341aec7
Rename Async to AsyncData
2024-01-04 16:30:56 +01:00
Jorge Martin Espinosa
7fdba39d6d
Disable vector XML rasterisation on API 23 ( #2128 )
...
* Disable vector XML rasterisation on API 23
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-29 11:41:08 +00:00
Benoit Marty
a7c5e620a4
Use icon from library and move and rename retry.xml to the library.
...
Also fix contentDescription for pause button.
2023-12-20 17:33:49 +01:00
Benoit Marty
9ae521dd0b
Use Edit icon from Compound and delete ic_edit_solid
2023-12-20 17:33:49 +01:00
Benoit Marty
f697d62831
Use Thread icon from Compound and delete ic_thread_decoration
2023-12-20 17:33:49 +01:00
Benoit Marty
79f52990ff
Use CompoundIcon and remove ic_send.xml
2023-12-20 17:33:49 +01:00
Benoit Marty
c02d97f421
Format
2023-12-20 17:33:49 +01:00
Benoit Marty
c18959f0a0
Use VideoCallSolid and also delete local ic_video_call.xml icon.
2023-12-20 17:33:49 +01:00
Benoit Marty
8378500a25
Change name to match use case.
2023-12-19 13:42:07 +01:00
Benoit Marty
ff2fc7ff3a
Also linkify emails.
2023-12-15 20:07:11 +01:00
Benoit Marty
664e8b6d5b
Merge branch 'develop' into julioromano/poll_history_entry_point
2023-12-14 16:58:23 +01:00
ganfra
5ac3f273ea
Merge branch 'develop' into julioromano/poll_history_entry_point
2023-12-14 15:17:13 +01:00
Jorge Martin Espinosa
80408a807c
Fix mentions font weight and horizontal padding ( #2025 )
...
* Fix mentions font weight and horizontal padding
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-14 14:15:25 +01:00
Benoit Marty
4ddbf6ec5f
Accessibility: do not read initial used for avatar out loud. ( #1864 )
2023-12-13 12:07:33 +01:00
ganfra
954df6c537
Theme : introduce SegmentedButton
2023-12-06 19:28:04 +01:00
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>
2023-11-27 10:30:07 +01:00
Benoit Marty
05ba424e75
Merge pull request #1862 from vector-im/feature/bma/moreTests
...
Remove lambda default value
2023-11-24 11:00:34 +01:00
Jorge Martin Espinosa
e13b204f4b
Run 'record screenshots' flow if label is present ( #1860 )
...
* Run 'record screenshots' flow if label is present
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-23 08:25:33 +01:00
Benoit Marty
68c4f1e6bc
Merge pull request #1845 from vector-im/feature/bma/sendingStateA11y
...
Content description: add for sending state and fix other issues.
2023-11-22 17:51:48 +01:00
Benoit Marty
ae0c3edd24
Remove default value for lambda.
...
We enforce a value to be provided and it's better for code coverage.
2023-11-22 17:28:23 +01:00
Marco Romano
60f58f9915
Update poll icons from Compound ( #1849 )
...
* Use compound icons for polls
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-22 13:35:04 +01:00
Benoit Marty
637f788d40
Replace Alertdialog (deprecated) by BasicAlertDialog.
2023-11-21 17:22:53 +01:00
Benoit Marty
830bad2bcf
Fix compilation warning, add opt in for ExperimentalMaterial3Api
2023-11-21 16:39:38 +01:00