Benoit Marty
13853a39a5
Reduce the risk of text truncation in buttons.
2024-07-17 17:46:36 +02:00
Jorge Martin Espinosa
0be7058416
Unify the way we decide whether a room is a DM or a group room ( #3100 )
...
* Add centralised 'room is DM' check
Also add extension functions for `MatrixRoom` and `MatrixRoomInfo`.
* Use the centralised method and extension functions through the app, including:
- Room list.
- Room details screen.
- Invites.
- Notifications.
Replace most `isDirect` usages with `isDm`.
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-10 16:28:46 +00:00
jmartinesp
dabaa2d265
Sync Strings from Localazy
2024-07-03 11:21:27 +00:00
Jorge Martin Espinosa
b0cebf5ca0
Improve screenshot testing with ComposablePreviewScanner ( #3125 )
...
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-07-03 13:05:06 +02:00
bmarty
32c5da898b
Sync Strings from Localazy
2024-07-01 00:22:10 +00:00
Benoit Marty
7348f74702
Fix performance issue reported by Konsist test Sealed interface used in Composable MUST be Immutable or Stable
2024-05-29 18:05:03 +02:00
Benoit Marty
f5a0e83cb2
Merge pull request #2941 from element-hq/sync-localazy
...
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
ca5bc71057
Sync Strings from Localazy
2024-05-29 12:44:57 +00:00
Benoit Marty
37d9a9f5a9
Lambda parameters in a composable function should be in present tense, not past tense.
...
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
Benoit Marty
f06a01f894
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
4f74dd4c93
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
22329b9678
Provide serverNames when available and fix issue around analytics
2024-05-14 15:58:10 +02:00
bmarty
0910da0a14
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
bmarty
4f82baa2b0
Sync Strings from Localazy
2024-04-29 00:18:59 +00:00
Benoit Marty
ce7bb11724
Ensure roomId are not rendered in the UI.
...
Add preview to see the effect.
Use RoomAvatar data fallback everywhere, to not use roomId (`!` char) for the avatar initial, but rather `#`.
2024-04-25 11:52:40 +02:00
Benoit Marty
8f7b064773
Use Dash avatar for room with no name and no avatar.
2024-04-25 09:50:51 +02:00
Benoit Marty
2c2bf7c687
Add screen to render Spaces (they are not supported yet)
2024-04-25 09:50:51 +02:00
Benoit Marty
132b4e87ea
Avoid rendering roomId on screen.
2024-04-25 09:49:58 +02:00
Benoit Marty
b175c2d2c3
Add a preview with the minimum available data.
2024-04-25 09:49:05 +02:00
Benoit Marty
d4b7f01a06
Introduce RoomType
2024-04-25 09:49:05 +02:00
Benoit Marty
0140c8982e
i18n
2024-04-25 09:49:04 +02:00
Benoit Marty
52f7b29577
Fix missing background issue.
2024-04-19 18:11:14 +02:00
Benoit Marty
797c912ccd
Implement Knock action (until the SDK level)
2024-04-19 18:11:13 +02:00
Benoit Marty
6863a906ee
fix typo
2024-04-19 11:27:34 +02:00
Benoit Marty
1fd71801a6
Remove useless case. If user is invited, roomInfo will be present.
2024-04-19 11:26:35 +02:00
Benoit Marty
87f89244a6
Avoid getting roomInfo again. Also add a test to cover the case of non-null inviter.
2024-04-19 10:33:19 +02:00
Benoit Marty
dd945acab7
Remove extra new line.
2024-04-18 18:56:16 +02:00
Benoit Marty
4489df1085
Apply Gradient Background to JoinRoomView and RoomAliasResolverView.
2024-04-18 17:47:20 +02:00
Benoit Marty
6d41f67c75
Improve layout of inviter in RoomJoinView.
2024-04-18 15:50:51 +02:00
Benoit Marty
473f0e8395
Let JoinRoomView render the InviteSender
2024-04-18 15:19:03 +02:00
Benoit Marty
dc2dd43625
Use SuperButton on JoinRoomView, and set all button to size Large
2024-04-18 12:08:28 +02:00
Benoit Marty
2701a6f87d
Add UI test on JoinRoomView
2024-04-18 11:45:42 +02:00
Benoit Marty
d2e043fbe4
More complete preview
2024-04-18 09:59:53 +02:00
Benoit Marty
82befcb92c
Order import
2024-04-18 09:58:58 +02:00
Benoit Marty
bc1c93c663
Use PreviewsDayNight instead of PreviewLightDark in order to generate screenshots.
2024-04-18 01:35:21 +02:00
Benoit Marty
1b8dd2cded
Create Atom and Molecule for RoomPreview screens
2024-04-18 00:04:26 +02:00
Benoit Marty
d0fdaaeb86
Move ContentScaffold to design system and rename to RoomPreviewOrganism
2024-04-18 00:04:25 +02:00
Benoit Marty
b9b2072b28
Remove useless usage of coroutine scope.
2024-04-18 00:04:25 +02:00
Benoit Marty
234696cb03
Rename JoinRoomEvents.Retry to JoinRoomEvents.RetryFetchingContent
2024-04-18 00:03:22 +02:00
Benoit Marty
2eb545cd11
Add test to JoinRoomPresenter to cover RoomPreview
2024-04-18 00:03:19 +02:00
Benoit Marty
12b230594b
Fix JoinRoomPresenterTest
2024-04-18 00:03:19 +02:00
Benoit Marty
400299ceac
Format file.
2024-04-18 00:03:19 +02:00
Benoit Marty
6c8c14f9ff
Add Retry on Join room node.
2024-04-18 00:03:16 +02:00
Benoit Marty
235ef2a71b
Resolve RoomId in RoomFlowNode.
2024-04-18 00:03:15 +02:00
Benoit Marty
ea3a1f363a
Alias permalink navigation - WIP
2024-04-18 00:03:14 +02:00
Benoit Marty
8327ea306f
Increase usage of RoomAlias
2024-04-18 00:02:22 +02:00
Benoit Marty
2a467bd49b
Handle permalink navigation - WIP
...
- prepare navigating to an Event
- add NodeBuilder to MessagesEntryPoint
2024-04-18 00:02:09 +02:00
ganfra
90e273cd65
Room list invites: address some remarks and add small tests
2024-04-17 22:02:44 +02:00
ganfra
e72983f1b8
RoomList invites : update and remove tests
2024-04-16 15:45:57 +02:00