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
187479849d
Create Fake classes in test modules
2025-10-30 18:32:31 +01:00
Benoit Marty
05c5f3c914
Use context parameter for the parentNode
2025-10-30 16:32:53 +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
Benoit Marty
66d8e6210d
Add default implementation to SessionListener
2025-10-23 16:48:20 +02:00
Benoit Marty
44e125dbc7
Add parameter wasLastSession to SessionListener.onSessionDeleted
2025-10-23 16:20:15 +02:00
Benoit Marty
826cacf209
Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding
2025-10-22 18:52:37 +02:00
Benoit Marty
eb371b99e6
Sync strings.
2025-10-09 12:21:15 +02:00
bmarty
03ae925f2a
Sync Strings from Localazy
2025-10-08 10:23:22 +00:00
ganfra
dde6dd0ed5
feature(space): use SpaceRoom.displayName from sdk
2025-10-07 20:15:46 +02:00
Benoit Marty
55f2531af1
Remove code duplication.
2025-10-01 11:21:36 +02:00
ElementBot
c6d4a367d3
Sync Strings from Localazy ( #5427 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-09-29 15:10:21 +00:00
renovate[bot]
c1cd259ce7
Update metro to v0.6.7 ( #5416 )
...
* Update metro to v0.6.7
* Replace `@Inject` with `@AssistedInject` where needed
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2025-09-26 08:16:36 +00:00
ganfra
5cda6730c4
Merge branch 'develop' into feature/fga/join_space
2025-09-19 16:35:55 +02:00
Benoit Marty
264472ba36
Avoid using AndroidJUnit4 runner to test Entrypoint implementations.
2025-09-16 14:38:32 +02:00
Benoit Marty
f0709aaf1c
Cleanup
2025-09-16 14:38:32 +02:00
Benoit Marty
e36273b94c
Add test on DefaultEntryPoints
2025-09-16 14:38:32 +02:00
Benoit Marty
629fc552e5
Use DependencyHandlerScope.testCommonDependencies()
2025-09-16 14:38:31 +02:00
ganfra
f675c95740
feature (space) : start logic for joining space
2025-09-15 16:26:54 +02:00
ElementBot
3cf121345a
Sync Strings from Localazy ( #5349 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-09-15 08:39:59 +02:00
Benoit Marty
d7c6cbc78c
Code cleanup, remove dead code and fix compilation issue
2025-09-10 14:47:07 +02:00
ganfra
f56ccdc786
feature(spaces) : introduce SpaceRoomList matrix api
2025-09-10 14:25:17 +02:00
Benoit Marty
83647f2d0c
Format files.
2025-09-08 16:45:54 +02:00
Benoit Marty
d977ed25a4
Merge pull request #5273 from element-hq/feature/bma/spaceNextStep
...
Space: add content in home screen
2025-09-05 17:55:14 +02:00
Benoit Marty
85d7532124
Space List
...
Extract InviteButtonsRowMolecule
Take into account seenSpaceInvites
2025-09-05 17:09:39 +02:00
Benoit Marty
4e720cecb1
Rename anvil modules to annotations and codegen
2025-09-05 14:26:27 +02:00
bmarty
676d7f6c8f
Sync Strings from Localazy
2025-09-05 07:44:19 +00:00
Jorge Martín
8f09fd62d9
Fixes after rebase
2025-09-04 16:49:21 +02:00
Jorge Martín
e06bacbff3
Redo DI gradle setup code
2025-09-04 16:49:20 +02:00
Jorge Martín
fc3153bd26
Fix lint issues and restore commented out code
2025-09-04 16:49:18 +02:00
Jorge Martín
92a4b8b66b
Start migrating Anvil KSP to Metro
2025-09-04 16:48:34 +02:00
ElementBot
a43b907275
Sync Strings from Localazy ( #5249 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-09-01 12:44:49 +02:00
ElementBot
a4cee52815
Sync Strings from Localazy ( #5178 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-08-18 11:09:27 +02:00
ElementBot
badbc5189e
Sync Strings ( #5146 )
...
* Sync Strings from Localazy
* Remove unused WelcomeView.
* Remove unused WelcomeView.
---------
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
Co-authored-by: Benoit Marty <benoit@matrix.org >
2025-08-11 12:49:29 +00:00
Jorge Martin Espinosa
955263bee1
Force last owner of a room to pass ownership when leaving ( #5094 )
...
* Move `ChangeRoles*` classes to their own module so they can be shared
* Hook the change roles screen to the leave room action, add confirmation dialogs
* Use enum instead of sealed interface for `ChangeRoomMemberRolesListType`
* Try to improve communications between nodes
* refactor (leave room) : makes sure to expose only necessary code from api module
* Add `:libraries:previewutils` module to share some test fixtures used for UI previews
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io >
Co-authored-by: ganfra <francoisg@matrix.org >
2025-08-05 17:24:14 +02:00
ElementBot
1944004409
Sync Strings from Localazy ( #4983 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-07-04 14:37:59 +00:00
Benoit Marty
4afc20798c
[a11y] Ensure that heading() is applied to all screen titles.
2025-07-04 12:15:42 +02:00
bmarty
2e8f8ec057
Sync Strings from Localazy
2025-06-30 00:33:54 +00:00
ganfra
cee279fd44
change (accept invite) : updates the error title/content dialog for accept/decline actions
2025-06-20 16:40:52 +02:00
ganfra
f710b28dc5
change (accept invite) : map Unknown error to AcceptInvite.Failures.InvalidInvite
2025-06-20 16:36:01 +02:00
ElementBot
f32495ee58
Sync Strings from Localazy ( #4842 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-06-11 14:13:33 +02:00
Jorge Martin Espinosa
58a3ea8b1f
Add catchingExceptions method to replace runCatching ( #4797 )
...
- Add `runCatchingExceptions` and `mapCatchingExceptions` to replace `runCatching` and `mapCatching`.
- Make `tryOrNull { ... }` catch only exceptions too.
- Apply the changes to the whole project.
- Add new Rust fakes for tests to handle the code that's now unblocked - previously it just threw an `UnsatisfiedLinkError` which we ignored.
- Add a new `detekt-rules` project with a `RunCatchingRule` to prevent `runCatching` and `mapCatching` usages.
2025-06-04 09:02:26 +02:00
ElementBot
5a8919b6e3
Sync Strings from Localazy ( #4804 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-06-02 12:05:08 +02:00
ElementBot
498cf15d38
Sync Strings ( #4775 )
2025-05-30 08:47:39 +00:00
ElementBot
aab5104010
Sync Strings from Localazy ( #4677 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-05-05 12:11:22 +02:00
ganfra
c2568f84d2
Feature : Report room ( #4654 )
...
* feature (report room) : introduce all presentation classes.
* feature (report room) : branch entry point in the room list
* refactor (matrix ui) : move some code from appnav to matrix ui
* feature (report room) : add api on room
* feature (report room) : adjust ui
* feature (report room) : branch api
* feature (decline invite and block) : move things around and introduce presentation classes
* feature (decline invite and block) : continue to move things
* feature (report room) : remove reference to "conversation" for now
* feature (report room) : add report room action to room detail screen
* feature (report room) : enabled button state
* feature (report room) : improve code and reuse
* feature (report room) : add feature flag
* feature (report room) : change feature flag to static bool
* feature (report room) : add tests
* feature (report room) : fix ui with new api on ListItem
* feature (report room) : clean up and add more tests.
* Update screenshots
* feature (report room) : more test and fix issue
* feature (report room) : update strings
* feature (report room) : fix konsist preview
* feature (report room) : disable feature
* Update screenshots
* var -> val
* Improve preview of AcceptDeclineInviteView
* Improve preview consistency
* Add missing test on DismissErrorAndHideContent
* Update screenshots
* Add missing tests
---------
Co-authored-by: ElementBot <android@element.io >
Co-authored-by: Benoit Marty <benoit@matrix.org >
2025-05-02 12:25:19 +02:00
ElementBot
76c59e2eac
Sync Strings from Localazy ( #4648 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-04-28 10:59:35 +02:00
Jorge Martin Espinosa
c537e94146
Split MatrixRoom into BaseRoom and JoinedRoom ( #4561 )
...
`JoinedRoom` will now contain both a mandatory live timeline reference and all the functionality associated to it.
`BaseRoom` on the other hand will contain only functionality that's shared for both joined and not joined rooms.
`NotJoinedRoom` is a wrapper around `RoomPreviewInfo` data and a possible local `BaseRoom`, if it exists.
The `RustRoomFactory` cache is now gone since the persistent event cache should have the same effect.
2025-04-23 15:53:40 +02:00
ElementBot
491eda9ba5
Sync Strings from Localazy ( #4612 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-04-22 08:57:00 +02:00
ElementBot
270b420575
Sync Strings ( #4590 )
...
* Sync Strings from Localazy
* Fix strings usage after some were moved
* Fix Norwegian string that was causing lint to fail
* Update screenshots
---------
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
Co-authored-by: Jorge Martín <jorgem@element.io >
2025-04-14 11:24:28 +02:00