Commit graph

181 commits

Author SHA1 Message Date
bmarty
23c1112dcf Sync Strings from Localazy 2026-04-13 00:48:40 +00:00
ElementBot
6ad85d4dfc
Sync Strings (#6537)
* Sync Strings from Localazy

* Sync strings.

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2026-04-07 16:02:12 +02:00
Benoit Marty
4ad495d36c
Add support for slash commands (under Feature Flag) (#6482)
* Add support for slash commands

* Update screenshots

* Rename module `slash` to `slashcommands`

* Rename `SlashCommand` to `SlashCommandService`

* Introduce MsgType in order to send text message with a different msgtype value.

* Format file and add parameter names, add default values and cleanup

* Add isSupported parameter to filter out unsupported yet commands.

* Slash commands: disable suggestions if the feature is disabled.

* Fix sending shrug command.

* Add missing test on SuggestionsProcessor

* Add tests on MessageComposerPresenter about slash command.

* Fix import ordering

* Add missing tests on CommandExecutor

* Add missing tests in MarkdownTextEditorStateTest

* Slash commands: Improve code when sending message with prefix.

* Slash commands: Add support for /unflip

---------

Co-authored-by: ElementBot <android@element.io>
2026-04-02 16:15:32 +02:00
ElementBot
6ab47dae17
Sync Strings from Localazy (#6486)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-03-31 15:48:37 +02:00
ganfra
3629efb0a0 Remove hardcoded strings 2026-03-24 11:22:51 +01:00
ganfra
1c5037f6e2 Add localazy config for location sharing 2026-03-24 11:13:40 +01:00
ganfra
dee8ce27e7 Use formatter for LLS duration 2026-03-24 10:15:25 +01:00
ganfra
6507a2e8cb fix padding on map when gesture navigation is on 2026-03-20 18:15:44 +01:00
ganfra
54779960bf Simplify ShowLocationState 2026-03-13 18:41:32 +01:00
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
b6bbe372be Fix wrong dependency 2026-03-13 15:08:17 +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
f2d4ffc5bd Introduce LiveLocationContent for the timeline (needs sdk) 2026-03-09 20:54:01 +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
268d2e587e Location accuracy should be nullable 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
6298209ad9 Create Fake classes in test modules 2025-10-30 18:32:31 +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