Commit Graph

139 Commits

Author SHA1 Message Date
Benoit Marty
e70d767183 Remove context(parentNode: Node) and provide the parent Node as a parameter. 2025-10-31 12:04:57 +01:00
Benoit Marty
45400d70d2 Fix typo in package name. 2025-10-30 18:47:20 +01:00
Benoit Marty
05c5f3c914 Use context parameter for the parentNode 2025-10-30 16:32:53 +01:00
Benoit Marty
566515ca88 Remove NodeBuilder to ensure that Params and Callback are always provided. 2025-10-30 16:32:52 +01:00
Benoit Marty
5197154f54 Ensure a Callback and only one is provided in the Plugin. Also reduce boilerplate code in Nodes. 2025-10-30 16:32:51 +01:00
Benoit Marty
09a18ad7ca Rename fun in Callback for clarity. 2025-10-30 16:32:48 +01:00
Benoit Marty
8bfb86683d Fix "Arrow is redundant when parameter list is empty"
And other issues that ktlint now reports
2025-10-30 14:33:25 +01:00
ElementBot
b2aa6b1622 Sync Strings from Localazy (#5610)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-27 13:53:07 +01:00
ganfra
69b4fdec04 Fix ktlint 2025-10-24 18:15:15 +02:00
ganfra
e689eaf73a design(space): let divider be full width
# Conflicts:
#	features/home/impl/src/main/kotlin/io/element/android/features/home/impl/spaces/HomeSpacesView.kt
2025-10-24 16:07:16 +02:00
Jorge Martin Espinosa
009ceb8704 Clearing the room list search clears the search term too (#5603) 2025-10-24 09:30:10 +02:00
ganfra
2de115d57b design(home) : better comment on padding 2025-10-23 18:00:33 +02:00
ganfra
05d5ec78bb design(home) : clean up 2025-10-23 17:22:39 +02:00
ganfra
a5b4f50334 design(home) : allow scrolling to top when clicking on already selected tab 2025-10-23 17:00:40 +02:00
ganfra
eb2b527236 design(home) : use enterAlwaysScrollBehavior for the RoomListFiltersView 2025-10-23 16:41:43 +02:00
ganfra
0498c3e4ed design(home): makes HomeTopBar match design 2025-10-23 16:16:08 +02:00
ganfra
296b85eb2f design(home): rename RomListTopBar to HomeTopBar 2025-10-23 16:11:26 +02:00
Benoit Marty
826cacf209 Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding 2025-10-22 18:52:37 +02:00
ganfra
3d203d19e1 misc: fix insets for search room list after offline banner rework 2025-10-21 17:26:43 +02:00
ganfra
68daf8d2cf misc: display offline banner directly in LoggedInFlowNode (and fix window insets) 2025-10-21 16:05:20 +02:00
Jorge Martin Espinosa
cbeb58f00e Keep the cursor position in room list search when going back (#5570)
Also, make sure disposing a `MessagesView` doesn't accidentally hide the keyboard once the transition animation is done
2025-10-21 11:25:46 +02:00
ElementBot
5f6a93cd1a Sync Strings (#5562)
* Sync Strings from Localazy

* Sync strings again

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-10-20 10:04:46 +00:00
ganfra
7410efb593 design(space): match figma for Space views 2025-10-15 11:28:55 +02:00
Benoit Marty
eb18590da7 Let room filters follow the design.
Ref: https://www.figma.com/design/G1xy0HDZKJf5TCRFmKb5d5/Compound-Android-Components?node-id=2191-606

We cannot change the horizontal padding though, design says it has to be 12dp. Or we need to make our custom component.
2025-10-13 15:15:38 +02:00
ElementBot
57e8b47683 Sync Strings from Localazy (#5515)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-13 08:01:58 +02:00
Benoit Marty
84c2752480 Do not create a new immutable list from a List every time we want to produce a new state 2025-10-10 10:10:13 +02:00
Benoit Marty
e6cd8d5fb5 Remove useless Immutable annotation 2025-10-09 18:22:33 +02:00
Benoit Marty
e5781b2808 Fix stability issue. 2025-10-09 18:22:18 +02:00
Benoit Marty
7ce2c08f6e Merge pull request #5490 from element-hq/feature/bma/improveImmutables
Ensure that we are using Immutable instead of Persistent
2025-10-09 11:48:32 +02:00
Benoit Marty
da78386d25 Add Konsist test to check that toPersistentList() is not used.
Same for `toPersistentSet()` and `toPersistentMap()`.
Fix existing issues.
2025-10-08 15:51:18 +02:00
Benoit Marty
af8a9da94c Merge pull request #5486 from element-hq/sync-localazy
Sync Strings
2025-10-08 14:13:46 +02:00
bmarty
03ae925f2a Sync Strings from Localazy 2025-10-08 10:23:22 +00:00
Benoit Marty
29367d094c Merge pull request #5482 from element-hq/feature/bma/improveAnnouncementService
Improve AnnouncementService.
2025-10-08 12:08:29 +02:00
Benoit Marty
a786f6a5e9 Improve AnnouncementService. 2025-10-08 10:13:02 +02:00
Benoit Marty
e2a6ca5030 Reduce number of changes in preview. 2025-10-07 21:56:25 +02:00
ganfra
dde6dd0ed5 feature(space): use SpaceRoom.displayName from sdk 2025-10-07 20:15:46 +02:00
Benoit Marty
4475ed0d37 Show new notification sound banner logic 2025-10-07 15:53:59 +02:00
Benoit Marty
2f1866afd8 New notification sound banner 2025-10-07 15:53:56 +02:00
Benoit Marty
8cdc2b1dc3 Update Localazy config and sync all the strings. 2025-10-07 15:53:53 +02:00
ganfra
824d4075f6 Merge pull request #5468 from element-hq/feature/fga/space_tweaks
Spaces : some tweaks around ui
2025-10-07 10:55:05 +02:00
Benoit Marty
52acb2ca38 Merge pull request #5466 from element-hq/feature/bma/replaceFunByVal
Replace fun by val in MatrixClient
2025-10-06 22:34:39 +02:00
Benoit Marty
2c446337a1 Merge pull request #5462 from element-hq/feature/bma/enableSpaces
Add support for Spaces
2025-10-06 22:34:14 +02:00
ganfra
1c819e5774 feature(space): introduce SpaceRoomVisibility and remove room count 2025-10-06 20:50:05 +02:00
Benoit Marty
67c6a1bd5f Let MatrixClient exposes val instead of fun for the services. 2025-10-06 15:12:35 +02:00
ganfra
ea08edb912 feature(space): compute space room name locally 2025-10-06 14:21:01 +02:00
Benoit Marty
0606631f00 Fix tests. 2025-10-06 12:52:59 +02:00
ElementBot
a9912e4a1e Sync Strings from Localazy (#5460)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-06 12:38:51 +02:00
Benoit Marty
acc18fc081 Merge pull request #5451 from element-hq/feature/bma/spaceAnnoucement
Space annoucement
2025-10-03 16:48:49 +02:00
Benoit Marty
8eaf355301 Introduce Announcement enum. 2025-10-03 12:05:06 +02:00
Benoit Marty
e40451463b Announcement for Spaces 2025-10-03 00:15:27 +02:00