Benoit Marty
3c07fea2dd
Improve rendering of Text composer regarding fontScale. ( #984 )
1 year ago
Benoit Marty
3c1f764bee
Improve rendering of "All chats" regarding fontScale. ( #984 )
1 year ago
Benoit Marty
94c6223be2
Set expicit `fontSize` parameter (to default value 1f), to test different fontScale more easily.
1 year ago
Jorge Martin Espinosa
914235228d
[Compound] Implement platform components (Switch, RadioButton, Checkbox) ( #982 )
...
* Create our custom Switch component
* Update RadioButton colors
* Update Checkbox colors
* Fix padding in `ReplyToContent`
* Add `indeterminate` and `hasError` parameters to `CheckBox`.
Improve previews.
* Improve Switch previews.
* Improve RadioButton previews.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Jorge Martin Espinosa
dbec1a0a60
Improve fetch members performance, relax regexes for validating ids ( #964 )
...
* Fetched `RoomMembers` are mapped in parallel
* Add horizontal padding to room/user name in room details screen
* Relax User & Event id regex matches
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Jorge Martin Espinosa
05f7037939
Prepare update to Rust SDK 0.1.36 ( #966 )
...
* Update to Rust SDK 0.1.36
* Cancel fetching members when the we exit the room
1 year ago
Benoit Marty
9211a33ad8
Add missing preview.
1 year ago
ganfra
506b473d4d
Small change after PR review
1 year ago
ganfra
e0eea67e7a
Clean PR
1 year ago
ganfra
e35bb73a86
Rework some MatrixRoom api and fix rust 'destroyed' crash
1 year ago
Benoit Marty
a6c96af731
Use ConcurrentHashMap to manage synchronization.
1 year ago
Benoit Marty
832fd69153
Use an AtomicBoolean instead of a MutableStateFlow to atomically init the RustMatrixRoom. Should improve #951 .
1 year ago
Benoit Marty
4029425ec3
Fix regression from 9bf7c1ccf8
, composition log was not correct.
1 year ago
Benoit Marty
a2975ec094
Add a test to cover fix of #950
1 year ago
Benoit Marty
94bc2ce53d
getOrPut is not thread safe, so ensure that no multiple instance will be created per data store ( #950 )
1 year ago
Benoit Marty
4312a96851
Cleanup: there are no androidTest on those modules.
1 year ago
bmarty
af2159e98f
Sync Strings from Localazy
1 year ago
ganfra
a3bcb2c4ca
Room: avoid calling displayName/avatarData on each recomposition
1 year ago
ganfra
5089dd0dda
Session.getRoom : suspend the whole method
1 year ago
ganfra
0a59e974ae
Deadlock: makes sure timelineListener TaskHandle.cancel is called (and memory is released correctly)
1 year ago
ganfra
1583899261
Introduce Disposable extension to destroy all disposable in an Iterable
1 year ago
Benoit Marty
e1a113e938
Enable LocationSharing flag for the release.
1 year ago
Benoit Marty
2c11f472ca
Replace FeatureFlags.ShowMediaUploadingFlow by FeatureFlags.LocationSharing because it has more chance to be disabled.
...
I do not want to remove all our feature flags...
1 year ago
Benoit Marty
fd26f987a8
Remove feature flag ShowStartChatFlow. It was just used in test.
1 year ago
Benoit Marty
da818229dc
Remove feature flag CollapseRoomStateEvents. It was not used anyway.
1 year ago
Benoit Marty
1be26c9fad
Fix compilation issue
1 year ago
Benoit Marty
c75eabbcb0
Enable detekt rules `UnnecessaryParentheses` and cleanup the code.
1 year ago
Benoit Marty
2928073e22
Enable detekt rules `UnusedImports` and cleanup the code.
1 year ago
Benoit Marty
86756dbc09
Enable detekt rules `UnusedParameter` and `UnusedPrivateProperty` and cleanup the code.
1 year ago
Benoit Marty
24ece8c454
Enable detekt rule `UnusedPrivateMember` and cleanup the code.
1 year ago
Benoit Marty
d7f8aa533e
Stop using deprecated LocalBroadcastManager. We will implement the code when we will work on the troubleshoot notification screen.
1 year ago
Benoit Marty
2163c1db8c
Create sheetStateForPreview to avoid code duplication.
1 year ago
Marco Romano
a1313c2890
Update permission request dialog copy. ( #931 )
...
As per new designs.
Part of:
- https://github.com/vector-im/element-meta/issues/1682
1 year ago
Benoit Marty
c7222e2969
Fix warning (suppress, no sure I want to delete this class right now)
1 year ago
Benoit Marty
0f4af79fb1
Fix warning (comment out dead code due to notification actions not active yet.)
1 year ago
Benoit Marty
b072872c85
Fix warning (suppress, no sure I want to delete this class right now)
1 year ago
Benoit Marty
202268ae55
Fix warning (remove dead code)
1 year ago
Benoit Marty
1f3efdfe46
Fix warning (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q here)
1 year ago
Benoit Marty
9fbdef4bd2
Fix warning ('when' is exhaustive so 'else' is redundant here)
1 year ago
Benoit Marty
a88ac632f6
Fix warning (comment out temporary dead code)
1 year ago
Benoit Marty
17c7ecd9c2
Clear all notifications of the session when the user signs out.
1 year ago
Marco Romano
e448bbb92d
maplibre-compose allow customisation of location dot style ( #929 )
...
- And style it according to our designs.
Related to:
- https://github.com/vector-im/element-meta/issues/1682
1 year ago
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>
1 year ago
Benoit Marty
3c9ecec563
Make `SyncState` values match `SyncServiceState` values.
1 year ago
ganfra
5f225ce3b7
TimelineDiff: use firstOrNull even if it shouldn't never be empty
1 year ago
Jorge Martín
243a39d6de
Don't blindly retry fetching pending or failed event details
1 year ago
Marco Romano
3c45a5ece4
Send My Location ( #770 )
...
- https://github.com/vector-im/element-meta/issues/1682
1 year ago
ganfra
9bf388eb1a
Avoid spamming sync flow by checking item origin
1 year ago
Benoit Marty
c5629b3a32
Format files.
1 year ago
Benoit Marty
3eff873d48
Fix typo in comments.
1 year ago