Commit Graph

3053 Commits

Author SHA1 Message Date
Benoit Marty
180c300a28 Merge pull request #2809 from frebib/frebib/filter-in-front
Bring selected filter to front
2024-05-23 16:26:55 +02:00
Jorge Martin Espinosa
cdf6c56f7f Restore MarkdownTextInput contents (#2902)
* Restore `MarkdownTextInput` contents: create a `MarkdownTextInputStateSaver` and use it to save and restore the text and selection.

* Add default text flags to the markdown composer
2024-05-23 14:59:08 +02:00
Benoit Marty
41403b7614 Cleanup 2024-05-22 15:29:27 +02:00
Benoit Marty
e0d95f6d98 isCalledExactly(1) -> isCalledOnce() 2024-05-22 15:26:53 +02:00
Benoit Marty
1c52697e59 Fix wrong package name. 2024-05-22 14:44:35 +02:00
Joe Groocock
a5e97475bf Animate room list filters when clearing
They animate cleanly back to their original locations now, and correctly
overlap each other when doing so. The only thing that is mildly jarring
is the reappearing chips, but there's no way to animate appearance in
the current version of jetpack compose, so that'll have to be fixed
later.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-05-21 22:29:34 +00:00
Joe Groocock
9fa8d97d57 Animate room filter colours
This is much closer to how iOS looks, and is much nicer on the eyes.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-05-21 22:29:33 +00:00
Joe Groocock
102025f1a6 Ensure selected/deselected filters stay on top
This looks a little more "sane", and more closely matches what iOS does
with it's filter chips. This has to manually track which filters were
"just-deselected" and move those even higher up the z stack to ensure
they appear above even when sliding right. This is because the order is
determined by the position left-to-right of the _final_ destination of
the chip. In this case we want anything that's either currently
selected, or was selected and is still fading out to appear on top.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-05-21 22:16:39 +00:00
Benoit Marty
92bc614af3 Cleanup dependencies about junit. 2024-05-21 18:14:32 +02:00
Benoit Marty
d67c1c6fb9 Merge pull request #2873 from element-hq/feature/bma/pushProviderSwitch
Push provider switch
2024-05-21 16:52:01 +02:00
ganfra
509e080fc2 Merge pull request #2874 from element-hq/feature/fga/fix_2692
Fix modal contents overlapping screen lock pin #2692
2024-05-21 15:53:51 +02:00
Benoit Marty
68e67e1eec Add ui test on AdvancedSettingsView. 2024-05-21 14:46:41 +02:00
Benoit Marty
ccaaeb61f3 distributors and distributorNames do not need to be mutable. 2024-05-21 14:45:51 +02:00
Benoit Marty
bdb84ecc12 Rename members for clarity 2024-05-21 14:45:51 +02:00
Benoit Marty
3ace9aa160 Add test for push distributor change. 2024-05-21 14:45:20 +02:00
Benoit Marty
1a6b042978 Localazy 2024-05-21 14:45:19 +02:00
Benoit Marty
43d414c602 Cleanup 2024-05-21 14:45:19 +02:00
Benoit Marty
e64051f7bd Improve code and display error. 2024-05-21 14:45:16 +02:00
Benoit Marty
591df14450 Add distributor selection in advanced settings 2024-05-21 14:45:15 +02:00
Jorge Martin Espinosa
902dd24e72 Plain text editor implementation based on markdown input (#2840)
* Add plain text editor based on markdown input
- Fix autofocus of message composer.
- Remove `Message` data class, fetch the details in `MessagesPresenter` instead.
- Remove `enable rich text` option from advanced settings, set it as a build configuration instead.
* Fix MentionSpanProvider
* Bump RTE library to released `v2.37.3`

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-21 13:58:53 +02:00
Jorge Martin Espinosa
0e05a0e4ed Session falsely displayed as 'verified' with no internet connection (#2884)
* Session falsely displayed as 'verified' with no internet connection
	- Remove the need to wait for `isReady` for `SessionVerificationService.canVerifySessionFlow` to fix this.
	- Rename `SessionVerificationService.canVerifySessionFlow` to `needsSessionVerification`.
	- Make `isReady` private.
2024-05-21 11:41:18 +00:00
Benoit Marty
19100bed9f Correct date for Copyright 2024-05-21 11:10:43 +02:00
Jorge Martin Espinosa
da8d319dea Use member display names in membership timeline item text (#2883)
* Use member display names in membership timeline item text
2024-05-21 08:26:11 +00:00
Benoit Marty
009ade1db5 Merge pull request #2877 from element-hq/sync-localazy
Sync Strings
2024-05-21 09:22:16 +02:00
ganfra
4fc6a724e9 Merge branch 'develop' into feature/bma/upgradeSdk 2024-05-20 18:29:49 +02:00
ganfra
a1081b39bd Pin : clean up after PR review #2692 2024-05-20 16:34:26 +02:00
ganfra
765d3f72ad Merge branch 'develop' into feature/fga/fix_2692 2024-05-20 15:57:42 +02:00
Jorge Martin Espinosa
cec0db8a0e When linkifying HTML messages, give priority to explicit link tags (#2879)
* When linkifying HTML messages, give priority to explicit link tags
2024-05-20 13:09:37 +02:00
bmarty
0241014932 Sync Strings from Localazy 2024-05-20 00:23:05 +00:00
ganfra
7146d2a8f8 Fix modal contents overlapping screen lock pin #2692 2024-05-17 18:40:16 +02:00
Benoit Marty
0a0c822d1c Replace getRoomPreview by getRoomPreviewFromRoomId.
We do not need `getRoomPreviewFromRoomAlias` since we always resolve the Alias first.
2024-05-17 12:01:57 +02:00
Benoit Marty
f886cd00a1 Format 2024-05-16 11:07:31 +02:00
Benoit Marty
2e7e5633f5 Add test about redacting an Event that has not been sent #2855 2024-05-16 10:49:14 +02:00
Benoit Marty
7c96b9f49a Merge pull request #2849 from element-hq/feature/bma/roomNameEdition
Improve room setting edition
2024-05-16 09:32:42 +02:00
Benoit Marty
d1a3daaa8e Do not use MutableState in Composable function parameter. 2024-05-15 18:05:08 +02:00
Benoit Marty
d19238fc60 Remove some keys for remember saveButtonEnabled. 2024-05-15 17:58:14 +02:00
Benoit Marty
04ed4f6904 Ignore some non-passing test for now. 2024-05-15 17:10:59 +02:00
Benoit Marty
bb48bb7531 Migrate AvatarActionBottomSheet to Material3 BottomSheet
Also correctly handle the back press when this bottom sheet is opened, previously it was leaving the room edition screen.
ModalBottomSheetLayout can now be deleted.
2024-05-15 16:20:47 +02:00
Benoit Marty
fb7eb924d8 Add UI test on RoomDetailsEditView 2024-05-15 15:19:46 +02:00
Benoit Marty
d689c778c6 Fix tests. 2024-05-15 11:56:12 +02:00
Benoit Marty
eb32773434 Move aMatrixRoom to its own file, since it's used by several test classes. 2024-05-15 11:31:30 +02:00
Benoit Marty
a51a2df647 Use rawName instead of displayName in RoomDetailsEditPresenter #2844 2024-05-15 11:24:09 +02:00
Jorge Martin Espinosa
83b2da547c UX cleanup: reorder text composer actions (#2847)
* UX cleanup: reorder text composer actions

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-15 10:28:06 +02:00
Benoit Marty
f4f22b1d2f Avoid using copy in RoomDetailsEditStateProvider 2024-05-15 10:10:48 +02:00
Benoit Marty
9e519def63 EditUserProfileState.userId cannot be null.
It simplifies a bit the codebase.
2024-05-15 09:46:01 +02:00
Benoit Marty
f72e257a20 Rename parameter since it can reference a userId or a roomId 2024-05-15 09:25:59 +02:00
Benoit Marty
39d702db5b Change type of roomId from String to RoomId 2024-05-15 09:23:30 +02:00
Benoit Marty
b971ac36d3 Merge pull request #2843 from element-hq/feature/bma/joinRoomVia
Provide serverNames when available and fix issue around analytics
2024-05-14 17:17:59 +02:00
Benoit Marty
32f31855b5 Provide serverNames when available and fix issue around analytics 2024-05-14 15:58:10 +02:00
ganfra
aabac1cf51 Fix running roomDirectory/testReleaseUnitTest 2024-05-14 14:27:58 +02:00