David Langley
f287a651b5
Reverting the change to only show the green dot for all messages.
2023-09-15 15:47:16 +01:00
David Langley
0cdc5f5149
Cancel scope in tests.
2023-09-15 10:25:10 +01:00
David Langley
57aeac9a44
Update RoomListDataSource.kt
2023-09-14 20:31:34 +01:00
David Langley
9a234a875c
Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration
2023-09-14 19:30:02 +01:00
David Langley
7a7cc2692e
Fix test compilation
2023-09-14 19:28:56 +01:00
David Langley
dec32ac10c
Only show green indicator for "All Messages"
...
- Only show green indicator for "All Messages" as mentions doesn't work and we should never see it for muted rooms.
- Remove code that tried to reflect the notificationsEnabled setting I mis-undertood the requirements by reading the iOS code.
2023-09-14 16:39:11 +01:00
ganfra
b382993cbb
Sync Strings from Localazy
2023-09-14 14:38:49 +00:00
David Langley
ed1949aa51
Show a room list decoration for notification setting applied
...
- Add the UI
- Rebuild room summaries when push rules change or when user disables notifications(hide them all)
2023-09-14 14:24:13 +01:00
Marco Romano
7fdd83bf91
GRemove the @JvmField annotation whenever using WarmUpRule.
2023-09-13 15:19:26 +02:00
Jorge Martin Espinosa
fb9d08bab0
[Compound] Improve Bloom ( #1272 )
...
* Improve Bloom:
- Simplify bloom blurred image.
- Display very subtle bloom for avatars with soft colors.
* Improve caching and performance
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-12 14:02:59 +02:00
Jorge Martin Espinosa
41061da768
[Compound] Bloom ( #1253 )
...
* Add `bloom` and `avatarBloom` modifiers.
* Add `ConnectivityIndicatorContainer` to control the padding needed at the top.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-11 15:43:23 +02:00
Benoit Marty
54968f98ed
Add a last Spacer item to ensure that the FAB does not hide the last room item
2023-09-07 17:25:50 +02:00
Benoit Marty
3d6b5976e3
Iterate on icon in Fab in the room list.
2023-09-07 15:49:51 +02:00
jonnyandrew
9e5b46200b
Reduce test flakiness by warming up molecule tests ( #1226 )
2023-09-06 10:08:21 +00:00
jmartinesp
74b2ddebfd
Sync Strings from Localazy
2023-09-05 06:37:36 +00:00
Benoit Marty
55255735d7
Merge branch 'develop' into feature/bma/dataObject
2023-08-28 10:56:02 +02:00
Benoit Marty
8415826a97
Import strings with Localazy.
2023-08-25 12:15:06 +02:00
Jorge Martin Espinosa
c670fc9e9c
Prevent verification while initial sync is in progress ( #1138 )
...
* Prevent verification while initial sync is in progress
* Add `canVerifySessionFlow` to simplify the check
2023-08-24 11:43:36 +00: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
Benoit Marty
b44dde4df6
Merge pull request #1001 from vector-im/renovate/io.nlopez.compose.rules-detekt-0.x
...
Update dependency io.nlopez.compose.rules:detekt to v0.2.1
2023-08-17 17:48:52 +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
Benoit Marty
a3ae891e51
Fix issue detected by detekt
2023-08-16 15:24:18 +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
Jorge Martin Espinosa
f35272c4fe
[Compound] Implement DropdownMenu customisations. ( #1050 )
...
* Compound: implement `DropdownMenu` customisations.
* Update screenshots
* Add changelog
* Address review comments
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-11 13:09:51 +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
ganfra
62a367520e
RoomList: use same logic than Timeline for caching built items. ( #1013 )
...
* RoomList: use same logic than Timeline for caching built items. Extract into reusable components.
* RoomList: fix tests
* Fix `DiffCacheUpdater` docs
---------
Co-authored-by: ganfra <francoisg@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-08-01 08:53:41 +00:00
Benoit Marty
5ed29b1466
Merge pull request #986 from vector-im/feature/bma/bigFontSizeImprovement
...
Big font size improvements
2023-07-28 17:02:29 +02:00
Benoit Marty
5ace169440
Update the API and add UI screenshots demoing it.
2023-07-28 10:29:13 +02:00
Benoit Marty
3c1f764bee
Improve rendering of "All chats" regarding fontScale. ( #984 )
2023-07-27 15:44:56 +02:00
Benoit Marty
e0255777c0
Enable detekt rules CascadingCallWrapping and fix existing issues.
2023-07-26 11:07:25 +02:00
Benoit Marty
4312a96851
Cleanup: there are no androidTest on those modules.
2023-07-24 12:41:02 +02:00
Benoit Marty
c75eabbcb0
Enable detekt rules UnnecessaryParentheses and cleanup the code.
2023-07-20 18:08:08 +02:00
Benoit Marty
2928073e22
Enable detekt rules UnusedImports and cleanup the code.
2023-07-20 18:00:23 +02:00
Benoit Marty
e918d6affd
Enable detekt rules TopLevelPropertyNaming and cleanup the code.
2023-07-20 17:52: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
Benoit Marty
89334a074b
Move test classes to the correct package.
2023-07-18 22:48:23 +02:00
Benoit Marty
75f08c9873
Not a fixture so prefixed with create instead of a.
2023-07-18 22:41:42 +02:00
ganfra
bb12338583
RoomList: introduce RoomListDataSource so we keep the data in memory as long as the node is in the backstack.
2023-07-18 22:09:50 +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
Benoit Marty
92bc490fa3
Remove fontWeight parameter. Must use style only.
2023-07-10 17:33:42 +02:00
Benoit Marty
ff5cecb5cf
TextStyle again.
2023-07-10 17:33:42 +02:00
Benoit Marty
5846af2aa4
Remove ElementTextStyles. Only ElementTheme.typography.* styles must be used now.
2023-07-10 17:33:42 +02:00
bmarty
fd6cf1d7fd
Sync Strings from Localazy
2023-07-10 00:11:05 +00:00
Benoit Marty
cd469e67bd
Fix Snackbar colors.
2023-07-07 15:39:43 +02:00