Benoit Marty
4f9fc2cfcf
Fix compilation issue with compose compiler 1.5.7
2023-12-28 12:41:02 +01:00
Benoit Marty
dd4aa681c6
Remove now useless ExperimentalLayoutApi opt in
2023-12-28 12:41:02 +01:00
bmarty
e6f4a7364f
Sync Strings from Localazy
2023-12-26 09:39:48 +01:00
ganfra
c4dc024c63
Fix detekt
2023-12-19 12:59:13 +01:00
ganfra
78bd6915c7
BackstackParentNode now become BaseFlowNode and adds Overlay navModel into it.
2023-12-19 12:55:14 +01:00
Benoit Marty
39cca2ce09
Sync localazy using fixed script
2023-12-08 19:24:35 +01:00
Benoit Marty
24d3981261
Run the script again.
2023-12-05 12:25:59 +01:00
bmarty
fced91addb
Sync Strings from Localazy
2023-12-04 00:09:56 +00:00
ganfra
785a27151e
StartDMAction : small improvements after review
2023-12-01 11:28:29 +01:00
ganfra
3efbf4747d
StartDM : add tests
2023-11-30 18:05:26 +01:00
ganfra
e8eb9c0840
Add StartDMAction to further share code
2023-11-30 13:07:24 +01:00
ganfra
ab2dc827f0
Creates a startDM method so we can reuse it for the new flow
2023-11-29 16:16:09 +01:00
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 .
2023-11-29 10:01:07 +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
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
Benoit Marty
67ed385e45
Prevent usage of hard-coded string for contentDescription, and fix existing issues.
2023-11-21 15:38:21 +01:00
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>
2023-11-15 10:52:37 +01:00
Benoit Marty
aaa89afe34
Use AsyncView in EditUserProfileView
2023-11-06 10:09:41 +01:00
Benoit Marty
662b1f8f50
Use AsyncView in CreateRoomRootView
2023-11-06 10:09:41 +01:00
Benoit Marty
c6ee35f567
Use AsyncView in ConfigureRoomView
2023-11-06 10:09:41 +01:00
Benoit Marty
f6d7a014a7
Remove other useless lazy wrapping.
2023-11-02 16:28:50 +01:00
Benoit Marty
8929a90970
Konsist: add test to ensure filename match top level Composable View, and fix existing issue
2023-10-10 15:39:22 +02:00
bmarty
7e3b9d8d3b
Sync Strings from Localazy
2023-10-02 00:09:47 +00:00
Benoit Marty
0255ec6771
Merge pull request #1400 from vector-im/feature/bma/fixCrashPhoto
...
Fix crash when user wants to use the camera
2023-09-21 16:31:36 +02:00
Benoit Marty
d19b624c6f
Rename Event for clarity
2023-09-21 15:33:03 +02:00
Benoit Marty
1b5aa7adaa
Test that permission is requested, instead of giving the permission directly.
2023-09-21 15:00:47 +02:00
Benoit Marty
dd5d67d186
Move open system setting to the PermissionsPresenter
2023-09-21 14:20:41 +02:00
Benoit Marty
08b455afd3
Create FakePermissionsPresenterFactory, to reduce boilerplate.
2023-09-21 12:54:15 +02:00
Benoit Marty
e4ca2484ba
Resume action once persmission has been granted.
2023-09-21 12:16:30 +02:00
Benoit Marty
dcb1677bf1
Open app settings from the permission dialog.
2023-09-21 11:37:59 +02:00
Benoit Marty
f3456cafa7
Rename Event for clarity
2023-09-21 11:29:29 +02:00
Benoit Marty
31eca73e8d
Request Camera permission before launching the external Camera app ( #1395 )
2023-09-21 10:54:02 +02:00
Benoit Marty
0e4c146e87
Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty
03d69146aa
Remove unused resource, and use compound icons when possible.
2023-09-20 16:45:38 +02:00
Benoit Marty
d531e71cd8
Migrate other icons to compound icons.
2023-09-20 16:44:59 +02:00
Benoit Marty
c652606f56
Remove VectorIcons object, inline the values.
2023-09-20 16:44:59 +02:00
Benoit Marty
2819448cd4
Use DayNightPreview
2023-09-19 11:49:12 +02:00
Benoit Marty
0453ea5904
Localazy sync
2023-09-18 16:42:35 +02:00
bmarty
d2f9b02bbf
Sync Strings from Localazy
2023-09-18 00:09:19 +00:00
ganfra
b382993cbb
Sync Strings from Localazy
2023-09-14 14:38:49 +00:00
Marco Romano
7fdd83bf91
GRemove the @JvmField annotation whenever using WarmUpRule.
2023-09-13 15:19:26 +02:00
Benoit Marty
3201358cb5
Fix preview 3 of AddPeopleView.
2023-09-11 10:55:26 +02:00
jonnyandrew
9e5b46200b
Reduce test flakiness by warming up molecule tests ( #1226 )
2023-09-06 10:08:21 +00:00
Benoit Marty
5f7c1e9545
Move module features.analytics.test to services.analytics.test. FakeAnalyticsService was not implemented at the correct location.
2023-08-28 14:31:36 +02:00
Benoit Marty
7083abcf09
migrate object to data object ( #1135 )
2023-08-24 09:32:44 +02:00
ElementBot
ef8a60b657
Sync Strings from Localazy ( #1098 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-08-21 08:34:19 +02:00
Jorge Martin Espinosa
0324719606
Upgrade compose-material3 to 1.2.0-alpha05 version ( #1011 )
...
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Also upgrade compileSdk to 34.
2023-08-17 14:20:54 +02:00
ElementBot
38a25dc3e9
Sync Strings from Localazy ( #1032 )
...
Co-authored-by: Florian14 <Florian14@users.noreply.github.com>
2023-08-11 14:34:05 +00:00
Jorge Martin Espinosa
23982dde47
[Compound] Implement components (Button) ( #1021 )
...
* Create `CompoundButton`
* Some fixes
* Lint fixes
* Start replacing existing `Button` usages
* Replace button usages
* Remove previous Button composable
* Rename `CompoundButton` to `Button`
* Fix emphasized button being displayed as Text
* Fix cancel button in `WaitListView`
* Update screenshots
* Add shorthand functions for `OutlinedButton` and `TextButton`
* Add changelog
* Fix wrong size used for emphasized button in dialog
* Create a private `ButtonInternal` implementation with the shared logic.
- Make `ButtonStyle` private.
- Rename `title` to `text`.
- Rename `buttonStyle` and `buttonSize` to just `style` and `size`.
* Fix several warnings and lint issues.
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-08 16:11:37 +00:00