Commit Graph

63 Commits

Author SHA1 Message Date
jmartinesp
58f2cbf489 Sync Strings from Localazy 2024-07-03 11:21:27 +00:00
Jorge Martin Espinosa
950e502ca6 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
99ae2b9640 Sync Strings from Localazy 2024-07-01 00:22:10 +00:00
Benoit Marty
ab6c428a61 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
0e4b30e58d Merge pull request #2941 from element-hq/sync-localazy
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
46b6ae6251 Sync Strings from Localazy 2024-05-29 12:44:57 +00:00
Benoit Marty
87689d787e 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
bbb44db297 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +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
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
bmarty
602b3988e4 Sync Strings from Localazy 2024-05-13 12:47:48 +00:00
bmarty
7383ac6678 Sync Strings from Localazy 2024-04-29 00:18:59 +00:00
Benoit Marty
f1a31e3b3c 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
354e0df824 Use Dash avatar for room with no name and no avatar. 2024-04-25 09:50:51 +02:00
Benoit Marty
49439034e4 Add screen to render Spaces (they are not supported yet) 2024-04-25 09:50:51 +02:00
Benoit Marty
1ed593926f Avoid rendering roomId on screen. 2024-04-25 09:49:58 +02:00
Benoit Marty
871265117a Add a preview with the minimum available data. 2024-04-25 09:49:05 +02:00
Benoit Marty
9adbf6c811 Introduce RoomType 2024-04-25 09:49:05 +02:00
Benoit Marty
a7a8d97188 i18n 2024-04-25 09:49:04 +02:00
Benoit Marty
7133b821db Fix missing background issue. 2024-04-19 18:11:14 +02:00
Benoit Marty
70d7b5a61f Implement Knock action (until the SDK level) 2024-04-19 18:11:13 +02:00
Benoit Marty
84730e839a fix typo 2024-04-19 11:27:34 +02:00
Benoit Marty
a1c876d32e Remove useless case. If user is invited, roomInfo will be present. 2024-04-19 11:26:35 +02:00
Benoit Marty
681af0d22f 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
49fa77b3f9 Remove extra new line. 2024-04-18 18:56:16 +02:00
Benoit Marty
8f741aabcc Apply Gradient Background to JoinRoomView and RoomAliasResolverView. 2024-04-18 17:47:20 +02:00
Benoit Marty
01f9028123 Improve layout of inviter in RoomJoinView. 2024-04-18 15:50:51 +02:00
Benoit Marty
bfd91c4934 Let JoinRoomView render the InviteSender 2024-04-18 15:19:03 +02:00
Benoit Marty
3d279ac314 Use SuperButton on JoinRoomView, and set all button to size Large 2024-04-18 12:08:28 +02:00
Benoit Marty
97d4c47353 Add UI test on JoinRoomView 2024-04-18 11:45:42 +02:00
Benoit Marty
1f4034b009 More complete preview 2024-04-18 09:59:53 +02:00
Benoit Marty
12fef22930 Order import 2024-04-18 09:58:58 +02:00
Benoit Marty
32949d852a Use PreviewsDayNight instead of PreviewLightDark in order to generate screenshots. 2024-04-18 01:35:21 +02:00
Benoit Marty
1a9f6da1bc Create Atom and Molecule for RoomPreview screens 2024-04-18 00:04:26 +02:00
Benoit Marty
46d7235ac2 Move ContentScaffold to design system and rename to RoomPreviewOrganism 2024-04-18 00:04:25 +02:00
Benoit Marty
f658969321 Remove useless usage of coroutine scope. 2024-04-18 00:04:25 +02:00
Benoit Marty
98c285ece8 Rename JoinRoomEvents.Retry to JoinRoomEvents.RetryFetchingContent 2024-04-18 00:03:22 +02:00
Benoit Marty
1ed3e0c365 Add test to JoinRoomPresenter to cover RoomPreview 2024-04-18 00:03:19 +02:00
Benoit Marty
2a256f4a7a Fix JoinRoomPresenterTest 2024-04-18 00:03:19 +02:00
Benoit Marty
50f4a1a5a5 Format file. 2024-04-18 00:03:19 +02:00
Benoit Marty
0e8e6050dd Add Retry on Join room node. 2024-04-18 00:03:16 +02:00
Benoit Marty
c0bd527486 Resolve RoomId in RoomFlowNode. 2024-04-18 00:03:15 +02:00
Benoit Marty
c1188ebb2d Alias permalink navigation - WIP 2024-04-18 00:03:14 +02:00
Benoit Marty
a602849ec5 Increase usage of RoomAlias 2024-04-18 00:02:22 +02:00
Benoit Marty
6a46555462 Handle permalink navigation - WIP
- prepare navigating to an Event
- add NodeBuilder to MessagesEntryPoint
2024-04-18 00:02:09 +02:00
ganfra
e8bc8c1125 Room list invites: address some remarks and add small tests 2024-04-17 22:02:44 +02:00
ganfra
b09269333d RoomList invites : update and remove tests 2024-04-16 15:45:57 +02:00
bmarty
f81dca8238 Sync Strings from Localazy 2024-04-15 11:40:19 +00:00
Benoit Marty
f9df0c34a9 Attempt to fix preview of JoinRoomView 2024-04-15 10:44:45 +02:00