Commit Graph

118 Commits

Author SHA1 Message Date
ganfra 881d0900a1 Use localized string instead of hardcoded 2026-03-13 18:41:13 +01:00
ganfra 4fe83aab66 Fix stability 2026-03-13 15:48:56 +01:00
ganfra 5a40144a24 Fix some existing tests after changes 2026-03-13 10:18:28 +01:00
ganfra ccc5945e6f Fix quality! 2026-03-12 21:12:52 +01:00
ganfra e3b03165e4 Remove hardcoded string 2026-03-12 15:58:27 +01:00
ganfra 347bb627d9 Rename ShowLocationEvents -> ShowLocationEvent 2026-03-12 12:47:52 +01:00
ganfra d10c3db79e Disable live location sharing for now (nothing done) 2026-03-12 12:40:10 +01:00
ganfra 96147967ac Code cleanup 2026-03-12 12:35:46 +01:00
ganfra de304a7d55 Fix and add tests related to location 2026-03-12 12:31:51 +01:00
ganfra e8308d9d8e Add Constraints check for permissions and GPS check 2026-03-12 11:53:36 +01:00
ganfra a56ecb9c69 Set LocationShareRow max lines to Text components 2026-03-12 10:29:20 +01:00
ganfra 50cf8a6986 Make sure zoom is at least DEFAULT_ZOOM when following user position 2026-03-12 10:28:36 +01:00
ganfra 92cb2ccb95 Fix previews 2026-03-10 21:48:54 +01:00
ganfra a5f574888f Check location is enabled 2026-03-10 21:48:37 +01:00
ganfra 7575d78d86 Start implementing location shares sheet content 2026-03-09 20:54:02 +01:00
ganfra 4a271f339a Start cleaning up location code 2026-03-09 20:54:02 +01:00
ganfra 09382530a3 Use android.graphic.canvas to create proper bitmap 2026-03-09 20:54:02 +01:00
ganfra 5f16a5658b LocationPin : disable hardware rendering if needed 2026-03-09 20:54:02 +01:00
ganfra 785587911b Introduce LocationPinMarkers composable 2026-03-09 20:54:02 +01:00
ganfra 57885f449b Start using LocationPinMarker in Share and Show locations 2026-03-09 20:54:01 +01:00
ganfra 818b32713e Add current user to ShareLocationState 2026-03-09 20:54:01 +01:00
ganfra 05d10c3403 Fix MapBottomSheetScaffold paddings 2026-03-09 20:54:01 +01:00
ganfra 270fbe3744 Use ListItem.onClick method 2026-03-09 20:54:01 +01:00
ganfra ffad69b7b9 Make sure we can display both Live and Static locations in ShowLocation 2026-03-09 20:54:01 +01:00
ganfra e1e7c264ed Raname UserLocation to UserLocationPuck 2026-03-09 20:54:01 +01:00
ganfra aa55a3aae7 First iteration using maplibre-compose 2026-03-09 20:54:01 +01:00
ganfra 4e2ba3c1d9 Allow picking duration for the live location share 2026-03-09 20:54:01 +01:00
ganfra 198f11c61f Add share live location item 2026-03-09 20:54:01 +01:00
ganfra cacaadf3ac Rename ShareLocationEvents -> ShareLocationEvent 2026-03-09 20:54:01 +01:00
ganfra 8a12cba923 Rename send location to share location 2026-03-09 20:54:01 +01:00
Benoit Marty eb31505dc7 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty f86431e663 Copyright: Add final period 2025-11-10 10:13:41 +01:00
Benoit Marty c4e0370f41 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00
Benoit Marty 7ad9c8f687 Rename handleEvents to handleEvent 2025-11-07 12:21:43 +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 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 263e761907 Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding 2025-10-22 18:52:37 +02:00
renovate[bot] 5b9ce7a210 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
Benoit Marty a1aeb24f23 Add test on DefaultEntryPoints 2025-09-16 14:38:32 +02:00
Benoit Marty e88743bd6a Rename anvil modules to annotations and codegen 2025-09-05 14:26:27 +02:00
Jorge Martín e8328858ab Fixes after rebase 2025-09-04 16:49:21 +02:00
Jorge Martín 29a97fc0d9 Fix lint issues and restore commented out code 2025-09-04 16:49:18 +02:00
Jorge Martín b76a71ebf5 Start migrating Anvil KSP to Metro 2025-09-04 16:48:34 +02:00
Jorge Martin Espinosa 35928e3630 Threads - first iteration (#5165)
* Initial threads support: parse `ThreadSummary`.

Replace several `isThreaded` values with `EventThreadInfo`, which contains the info about the event either being the root of a thread or part of it.

* Add `Threaded` timeline mode

* Add a `liveTimeline` parameter to `TimelineController`'s  constructor. This way we can customise which timeline will be used as the 'live' one. Also add `@LiveTimeline` DI qualifier for the actual live timeline of the room.

* Create `ThreadedMessagesNode`. Allow opening a thread in a separate screen.

* Add the callbacks for the list menu actions - even if they're the wrong ones and will send the data to the room instead

* Send attachments and location in threads

* Fix polls in threads, add support for sending voice messages in threads

* Display thread summaries only when the feature flag is enabled

* Use 'Reply' instead of 'Reply in thread' when in threaded timeline mode

* Remove incorrect usage of `Timeline` in `MessageComposerPresenter`. This led to replies to threaded events not appearing as actual replies.

---------

Co-authored-by: ElementBot <android@element.io>
2025-08-19 13:35:48 +00:00
renovate[bot] 040fde7f22 Update dependency org.matrix.rustcomponents:sdk-android to v25.7.23 (#5073)
* Update dependency org.matrix.rustcomponents:sdk-android to v25.7.23

* Adapt to SDK changes:

- Add 'creator' role, adapt existing logic to it.
- Remove `ReplyParameters`, replace with `EventId` where possible.
- Fix changes in OIDC auth methods.
- Add more join rules.

* Make sure both creators and users with power level >= 150 are displayed as 'owners' in the room member list.

* Don't close the roles and permissions screen if the user is a creator

* Use `MediaPreviewValue.DEFAULT` for `MediaPreviewConfig.DEFAULT` too

* Improve APIs around checking roles and power levels:
    - Ensure `RoomInfo.RoomPowerLevels.users` can't be directly used to check power levels since it can't check the power levels for creators.
    - Add a few helper functions to handle actions that relied on the previous `users` property, and docs to explain their usages.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-07-24 11:58:30 +02:00
Benoit Marty cb725b279f Fix typo 2025-07-17 15:14:49 +02:00
Benoit Marty 6674afbdb0 Remove blank line 2025-07-16 11:23:42 +02:00
Benoit Marty cdbadb5477 FAB: iterate on design 2025-07-16 10:11:53 +02:00
Benoit Marty 70aa31df00 [a11y] Ensure that heading() is applied to all screen titles. 2025-07-04 12:15:42 +02:00