ganfra
d63a3e2d77
Messages: remove some blocking code from main thread
1 year ago
Benoit Marty
5b95bd08ba
Rewrite the test, maybe the CI will be happier.
1 year ago
Benoit Marty
5ace169440
Update the API and add UI screenshots demoing it.
1 year ago
Benoit Marty
82e35cda0d
Allow user with enough power level to redact other's messages ( #969 )
1 year ago
Benoit Marty
bcff814945
Prevent reaction on state events and deleted events ( #971 )
1 year ago
Benoit Marty
0627a1155c
Auto capitalize first letter of sentences for messages, room topic and bug report description. ( #948 )
1 year ago
Benoit Marty
6a77974af4
Ensure room name have horizontal padding and is centered if displayed on several lines, and remove unnecessary Box around the Avatar.
1 year ago
Benoit Marty
3c1f764bee
Improve rendering of "All chats" regarding fontScale. ( #984 )
1 year ago
Benoit Marty
ec880b0b0d
Improve rendering of offline banner regarding fontScale.
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
Benoit Marty
8f4b664158
Sync strings.
1 year ago
Benoit Marty
56614da071
Fix lint false positive.
1 year ago
Benoit Marty
908471cd51
Remove other unused resource.
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
c40b75e834
Make some composable private.
1 year ago
ganfra
75c9624f6f
Add consumeItemsUntilPredicate to check how it goes...
1 year ago
ganfra
5eb5dcd525
Push to understand test failure in CI
1 year ago
Benoit Marty
b3cf0d2cf1
Enable detekt rules `UnderscoresInNumericLiterals` and fix existing issues.
1 year ago
Benoit Marty
0e219200b0
Enable detekt rules `OptionalUnit` and fix existing issues.
1 year ago
Benoit Marty
19e81825ff
Enable detekt rules `AlsoCouldBeApply` and fix existing issues.
1 year ago
Benoit Marty
e0255777c0
Enable detekt rules `CascadingCallWrapping` and fix existing issues.
1 year ago
Benoit Marty
b5a5118160
Enable detekt rule `ThrowingExceptionsWithoutMessageOrCause` and fix existing issues.
1 year ago
Benoit Marty
73347deaaf
Enable detekt rule `UseCheckOrError` and fix existing issues (and a potential crash on MapboxMap?).
1 year ago
Benoit Marty
6aa5239189
Enable detekt rule `PreviewPublic` and fix existing issues.
1 year ago
ganfra
451cba20d0
Fix tests
1 year ago
ganfra
e0eea67e7a
Clean PR
1 year ago
Benoit Marty
b2394b6adc
alternateText can't be an empty string. #955
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
Benoit Marty
030afe56b3
Fix typo
1 year ago
Benoit Marty
32c8fdae99
Add a way to crash this app on demand. Useful to test Crash detection, and analytics report, etc.
1 year ago
Benoit Marty
82258f12ba
Ensure the application react correctly if analytics is disabled at compilation time.
1 year ago
Benoit Marty
d4156653fd
No need to sort AnalyticsProvider (it was copied from PushProvider)
1 year ago
Benoit Marty
1a1d4c2957
Fix code quality check failures after new rules from #935 has been merged on develop.
1 year ago
Marco Romano
57d04e487c
Static images improvements ( #933 )
...
1. On devices less than xhdpi request a 1x image from MapTiler (such devices are generally old, slower and with little memory so avoiding to get the 2x image only to have to shrink it later could help).
2. Coerce too big width/height combos within the API limits keeping the aspect ratio (this will allow requests on big horizontal displays to succeed).
3. Don't crash when given weird width/height combos (i.e. zero or negative).
4. Introduce interfaces to hide this whole logic and make it easier for forks to implement their own.
Related to:
- https://github.com/vector-im/element-meta/issues/1678
1 year ago
ganfra
a3bcb2c4ca
Room: avoid calling displayName/avatarData on each recomposition
1 year ago
Benoit Marty
6b9f676b12
Test new field `canShareLocation`
1 year ago
Benoit Marty
3376fe3688
Must skip 1 item due to the location feature flag value emitting 1 item.
1 year ago
Benoit Marty
2ab57f3fc8
canShareLocation must be a MutableState.
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
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
e918d6affd
Enable detekt rules `TopLevelPropertyNaming` and cleanup the code.
1 year ago
Benoit Marty
a8ed8b7a59
Enable detekt rules `VariableNaming` 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
65ad642ffc
Fix warning (bottom sheet still not previewable correctly in screenshot test)
1 year ago
Benoit Marty
e23222591b
Fix warning (there is a TODO)
1 year ago
Benoit Marty
e67c7f32c3
Fix warning (keep the same format for all methods)
1 year ago
Benoit Marty
f738864e88
Fix warning (we will handle error case later)
1 year ago