Commit graph

150 commits

Author SHA1 Message Date
Benoit Marty
c4e0370f41 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00
Benoit Marty
8769b98862
Merge pull request #5698 from element-hq/feature/bma/handleEvent
Code consistency around view event handling
2025-11-10 09:36:04 +01:00
ElementBot
967f250e4b
Sync Strings from Localazy (#5704)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-11-10 09:21:00 +01:00
Benoit Marty
7ad9c8f687 Rename handleEvents to handleEvent 2025-11-07 12:21:43 +01:00
ganfra
fe7bc4fd9d change(roles and permissions): clean code 2025-11-05 15:40:34 +01:00
ganfra
42b8dc33f2 change(roles and permissions): improve the flow 2025-11-05 14:42:34 +01:00
ganfra
499502b5af change(roles and permissions): import codefrom roomdetails module 2025-11-03 18:29:51 +01:00
ganfra
98670478ff change(roles and permissions): rename package changeroommemberrole to rolesandpermissions 2025-11-03 17:52:40 +01:00
Benoit Marty
07b6148035 Remove context(parentNode: Node) and provide the parent Node as a parameter. 2025-10-31 12:04:57 +01:00
Benoit Marty
f1822c5afd Fix typo in package name. 2025-10-30 18:47:20 +01:00
Benoit Marty
f174084942 Use context parameter for the parentNode 2025-10-30 16:32:53 +01:00
Benoit Marty
02dc71c4c3 Remove NodeBuilder to ensure that Params and Callback are always provided. 2025-10-30 16:32:52 +01:00
Benoit Marty
be03c50aaf 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
43972dba68 Rename fun in Callback for clarity. 2025-10-30 16:32:48 +01:00
Benoit Marty
eef0fbf4be 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
b1addb4521
Sync Strings from Localazy (#5610)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-27 13:53:07 +01:00
ganfra
450aaf1ef3 Fix ktlint 2025-10-24 18:15:15 +02:00
ganfra
72fda96df1 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
51bf99cfba
Clearing the room list search clears the search term too (#5603) 2025-10-24 09:30:10 +02:00
ganfra
b779ac0086 design(home) : better comment on padding 2025-10-23 18:00:33 +02:00
ganfra
318ad1edbd design(home) : clean up 2025-10-23 17:22:39 +02:00
ganfra
21c21259cb design(home) : allow scrolling to top when clicking on already selected tab 2025-10-23 17:00:40 +02:00
ganfra
dfb9bc5ab0 design(home) : use enterAlwaysScrollBehavior for the RoomListFiltersView 2025-10-23 16:41:43 +02:00
ganfra
0a999016f7 design(home): makes HomeTopBar match design 2025-10-23 16:16:08 +02:00
ganfra
ddf2007bb3 design(home): rename RomListTopBar to HomeTopBar 2025-10-23 16:11:26 +02:00
Benoit Marty
263e761907 Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding 2025-10-22 18:52:37 +02:00
ganfra
20887b5815 misc: fix insets for search room list after offline banner rework 2025-10-21 17:26:43 +02:00
ganfra
7849c84bb2 misc: display offline banner directly in LoggedInFlowNode (and fix window insets) 2025-10-21 16:05:20 +02:00
Jorge Martin Espinosa
191e32c37b
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
a22101150b
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
6b2e4ffbbd design(space): match figma for Space views 2025-10-15 11:28:55 +02:00
Benoit Marty
fcaa63b0c7 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
8f4cc52ea4
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
ea2307a393 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
271ae19436 Remove useless Immutable annotation 2025-10-09 18:22:33 +02:00
Benoit Marty
ba393b381f Fix stability issue. 2025-10-09 18:22:18 +02:00
Benoit Marty
c2560ad91c
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
67c9daa0bf 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
d806cf0ca4
Merge pull request #5486 from element-hq/sync-localazy
Sync Strings
2025-10-08 14:13:46 +02:00
bmarty
cb7186cf69 Sync Strings from Localazy 2025-10-08 10:23:22 +00:00
Benoit Marty
1a8bf8b8a0
Merge pull request #5482 from element-hq/feature/bma/improveAnnouncementService
Improve AnnouncementService.
2025-10-08 12:08:29 +02:00
Benoit Marty
752e846b1c Improve AnnouncementService. 2025-10-08 10:13:02 +02:00
Benoit Marty
cd1b56bb26 Reduce number of changes in preview. 2025-10-07 21:56:25 +02:00
ganfra
44c6ce01dc feature(space): use SpaceRoom.displayName from sdk 2025-10-07 20:15:46 +02:00
Benoit Marty
98637b8fc5 Show new notification sound banner logic 2025-10-07 15:53:59 +02:00
Benoit Marty
58fca2e9e2 New notification sound banner 2025-10-07 15:53:56 +02:00
Benoit Marty
a584a5c1c6 Update Localazy config and sync all the strings. 2025-10-07 15:53:53 +02:00
ganfra
a497703a90
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
69c86232c4
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
3f54017ec3
Merge pull request #5462 from element-hq/feature/bma/enableSpaces
Add support for Spaces
2025-10-06 22:34:14 +02:00