Commit graph

163 commits

Author SHA1 Message Date
ganfra
fbfeeae084 Fix formatting 2026-04-16 16:18:53 +02:00
ganfra
704ddc9132 Update live location shares when reaching timeout (before actual stop event) 2026-04-16 15:33:42 +02:00
ganfra
11866afb03 Remove hardcoded strings 2026-04-15 13:55:54 +02:00
ganfra
f5683f9c8b Improve live location bottomsheet interaction with map 2026-04-15 13:46:31 +02:00
ganfra
e85b532d6a Merge branch 'develop' into feature/fga/live_location_rendering 2026-04-13 22:38:54 +02:00
ganfra
580e85d232 Fix live location share item description 2026-04-13 11:51:48 +02:00
bmarty
23c1112dcf Sync Strings from Localazy 2026-04-13 00:48:40 +00:00
ganfra
537063d899 Add focused location tracking when opening the map 2026-04-10 21:11:30 +02:00
ganfra
7c3b9523df Improve live location UI with empty state 2026-04-10 20:44:05 +02:00
ganfra
9ba8798175 Refactor LiveLocationShare to include structured LastLocation 2026-04-10 14:43:24 +02:00
ganfra
d6999b5334 Merge branch 'develop' into feature/fga/live_location_rendering 2026-04-10 09:50:44 +02: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
ganfra
4e0165458a Live location : start collecting live location 2026-04-03 18:21:37 +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
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