Benoit Marty
dd12071ea2
Use new Rust fields numUnreadMessages and numUnreadMentions, and iterate on the room badge rendering.
2024-01-22 15:48:46 +01:00
Benoit Marty
f8f100ccc8
Remove default value of RoomSummaryDetails constructor, and iterate on fixture functions.
2024-01-19 16:46:42 +01:00
Benoit Marty
2c691d527b
Remove RoomSummaryDetails.lastMessageTimestamp and replace by a getter on lastMessage
2024-01-19 16:11:10 +01:00
Benoit Marty
d1c7520065
Rename avatarURLString to avatarUrl
2024-01-19 15:58:37 +01:00
ElementBot
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty
5d086ad82d
Fix moar ktlint issues
2024-01-11 10:02:10 +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
Benoit Marty
7b2341aec7
Rename Async to AsyncData
2024-01-04 16:30:56 +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
Jorge Martin Espinosa
cbf34929af
Revert "Room list badges"
2023-12-22 11:02:07 +01:00
Benoit Marty
f2c989cbd6
Iterate on indicators on room list #2079
2023-12-21 14:51:31 +01:00
Benoit Marty
764d7685c2
Remove useless constructor keyword.
2023-12-12 15:29:44 +01:00
Benoit Marty
39cca2ce09
Sync localazy using fixed script
2023-12-08 19:24:35 +01:00
Benoit Marty
b98351ec36
Merge pull request #1952 from vector-im/sync-localazy
...
Sync Strings
2023-12-05 13:47:44 +01:00
Benoit Marty
24d3981261
Run the script again.
2023-12-05 12:25:59 +01:00
Benoit Marty
fa590202c3
Add Konsist test to check that assertThat is imported, and fix existing issues.
2023-12-04 15:18:01 +01:00
bmarty
fced91addb
Sync Strings from Localazy
2023-12-04 00:09:56 +00: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
ganfra
0fb4eb005c
RoomList : rework a bit the api and make usage of entriesWithDynamicAdapters
2023-11-22 18:06:19 +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
4338d821e5
Konsist: improve test about no default value for State classes, and fix new detected issues.
2023-10-10 21:42:18 +02: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
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
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
Benoit Marty
1c56d95eab
Do not render notification if the user has dismiss the notification.
...
It should not change anything, just avoid doing useless notification rendering.
2023-09-15 15:42:55 +02: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
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
Jorge Martin Espinosa
9e1ff513e4
[Compound] Implement Snackbars based on designs ( #1054 )
...
* Make `InternalButton` internal instead of private so it can be customised.
Also, change the `ButtonColors.contentColor` for text buttons to `LocalContentColor.current` by default.
* Add temporary color for Snackbar action label
* Implement `Snackbar` component based on Compound
* Propagate changes to all other components
* Use right Preview annotation config
* Move `ButtonVisuals` to their own file
* Update screenshots
* Make previews internal
* Update screenshots
* Set a custom token for contentColor in AppBars
* Change 'Label' to 'Action' in the previews
* Add changelog
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-16 10:38:28 +00: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
ganfra
fa51f6eaa7
Feature/fga/sync states ( #1042 )
...
* Change RoomSummaryDataSource to RoomListService to better reflects the rust api
* Better Sync management
* Sync: improve sync spinner rendering
* Sync: make test compiles
* Sync: add more test for sync spinner
* Sync: more clean-up
* Sync: pr review
---------
Co-authored-by: ganfra <francoisg@element.io>
2023-08-09 12:37:43 +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
Benoit Marty
822bb82347
Merge pull request #967 from vector-im/feature/bma/detektConfig
...
Update detekt config.
2023-07-28 16:47:26 +02:00
Benoit Marty
8f4b664158
Sync strings.
2023-07-27 12:16:04 +02:00
Benoit Marty
0e219200b0
Enable detekt rules OptionalUnit and fix existing issues.
2023-07-26 11:43:48 +02:00
renovate[bot]
156bf08b7a
Update dependency app.cash.molecule:molecule-runtime to v1 ( #925 )
...
* Update dependency app.cash.molecule:molecule-runtime to v1
* Replace `RecompositionClock` with `RecompositionMode`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-07-20 07:36:19 +02:00
ganfra
dfd7f9cc5b
Fix tests
2023-07-18 22:27:44 +02:00
ganfra
614f97543e
Update rust sdk to 0.1.34
2023-07-18 20:12:51 +02:00
ElementBot
e75438a8e3
Sync Strings ( #882 )
...
* Sync Strings from Localazy
* Update screenshots
---------
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-07-17 10:22:15 +02:00
Benoit Marty
253e8c1c2b
Move TypographyAliases next to ColorAliases
2023-07-11 11:29:56 +02:00
Benoit Marty
3e03ca4a5e
Create alias for typography (more semantic name). aliasButtonText
2023-07-11 10:29:06 +02:00
Benoit Marty
b7b6e0323d
Create alias for typography (more semantic name). aliasScreenTitle
2023-07-11 10:29:06 +02:00