828 Commits

Author SHA1 Message Date
Benoit Marty
a77662421c 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
b5df58fcec Sync Strings (#6435)
* 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-03-23 18:05:26 +00:00
Benoit Marty
0fbed400eb Sync string again. 2026-03-16 14:54:06 +01:00
bmarty
3a0e01b63d Sync Strings from Localazy 2026-03-16 00:42:32 +00:00
Valere Fedronic
477c482810 Merge branch 'develop' into valere/rtc/voice_call 2026-03-09 17:18:55 +01:00
ElementBot
2ad55f4bc6 Sync Strings (#6302)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-03-09 10:38:07 +01:00
Valere
e1365f1fd2 fix RoomDetailsViewTest 2026-03-05 11:28:38 +01:00
Valere
f805dde0f3 on show voice call only option in DMs 2026-03-04 15:08:24 +01:00
Valere
d37e32834b rename voiceIntent to isAudioCall 2026-03-04 11:10:40 +01:00
Valere
a3dd2c78b3 Support incoming audio only calls 2026-03-04 08:56:33 +01:00
Valere
ec420332c3 WIP: Support using Element Call for voice calls in DMs 2026-03-03 11:50:22 +01:00
ElementBot
5bcaad1e81 Sync Strings from Localazy (#6269)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-03-02 14:54:50 +01:00
bmarty
6c81e88689 Sync Strings from Localazy 2026-02-23 00:39:49 +00:00
ElementBot
6a101e7b65 Sync Strings from Localazy (#6155)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-02-09 16:30:57 +01:00
Skye Elliot
028ec221b0 Add history sharing badges to room details (#6132)
* feat: Add history sharing badges to room details view

* tests: Add snapshots for history sharing room details badges

* fix: Disable soft-wrapping in badges, use FlowRow

* tests: Add unit test for `RoomDetailsState` and history sharing badges.

* tests: Add `MatrixBadgeAtomNeutralWrappingPreview` to exceptions

* chore: Re-order `MatrixBadgeAtom` previews

* fix: Add `Immutable` annotation to `RoomHistoryVisibility`.

* fix: Correct translation for shared badge
2026-02-06 19:03:52 +00:00
Jorge Martin Espinosa
5175bacb5e Remove JoinRule.Private from the codebase (#6129)
It shouldn't be in use, since it was never properly defined:

- The `Private` values coming from the SDK are considered to be `Invite` instead.
- Remove any existing `JoinRule.Private` usages in our code.
2026-02-03 19:27:22 +01:00
bmarty
ab78b6e877 Sync Strings from Localazy 2026-02-02 00:39:17 +00:00
Benoit Marty
f2dfa3dc91 Use presenter test extension. 2026-01-27 14:59:23 +01:00
Benoit Marty
b6736233ce RoomNotificationSettingsEvents -> RoomNotificationSettingsEvent 2026-01-27 14:57:53 +01:00
Benoit Marty
1d7f238f11 RoomMemberListEvents -> RoomMemberListEvent 2026-01-27 14:56:58 +01:00
Benoit Marty
020484f605 Update icon and text when a room is a favorite. 2026-01-27 14:55:50 +01:00
ElementBot
b731d9a4a3 Sync Strings from Localazy (#6085)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-26 12:06:38 +01:00
ganfra
fa1b32f0ba Let SearchBar/SearchField use TextFieldState 2026-01-23 10:32:58 +01:00
bmarty
5a8ce6d68c Sync Strings from Localazy 2026-01-19 00:35:31 +00:00
ElementBot
d01a511903 Sync Strings from Localazy (#5994)
Co-authored-by: jmartinesp <480955+jmartinesp@users.noreply.github.com>
2026-01-14 11:43:57 +00:00
Jorge Martin Espinosa
03d14087e6 Create spaces (#5982)
* Allow creating a space with `CreateRoomParameters`

* Add 'Create space' menu item in the spaces home screen. Also, imports new strings related to spaces.

* Link the 'Create space' button with the screen to create the space

* Unify room access and visibility for `ConfigureRoom`, use the updated design

* Fix `EditRoomDetails` avatar size (68dp)

* Replace `EditableAvatarView` and `UnsavedAvatar` copmonents with `AvatarPickerView`

* `AvatarDataFetcherFactory`: Make sure we use a fallback image fetcher when the URL is not an MXC one (a local one, i.e.). This removes the previous need for a separate `UnsavedAvatarView`

* Use `AvatarPickerView` in all the screens where `EditableAvatarView` was used

* Improve naming and previews

* Update strings, remove unused ones for `RoomAccessItem`

* Make `isSpace` part of the `CreateRoomConfig`

* Ensure the content fits in the screenshots for `AvatarPickerSizesPreview`

* Add `AvatarDataFetcherFactoryTest`

* Add new feature flag for creating spaces

* Fix ripple being too large for the `Pick` state

* Tweak margins and section titles a bit

* Add preview for `HomeTopBar` with the spaces case

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-13 14:35:49 +01:00
Benoit Marty
269747437b Add preview with a11y details. 2026-01-09 14:39:57 +01:00
ElementBot
860390beb0 Sync Strings from Localazy (#5971)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-05 13:57:09 +01:00
Benoit Marty
5b6dfca5d3 Ensure that room / space avatar always have a contentDescription. 2026-01-02 16:23:15 +01:00
ganfra
0fd5c58a35 Merge branch 'develop' into feature/fga/ban_moderation 2025-12-30 11:33:40 +01:00
ganfra
4f5a445071 Merge pull request #5946 from element-hq/sync-localazy
Sync Strings
2025-12-23 12:01:53 +01:00
ganfra
60fa76a9b9 Revert "fix: display banned member list if permissions.canKick or permissions.canBan"
This reverts commit f7248b87f0.
2025-12-23 11:44:16 +01:00
bmarty
a2ca2e7c1f Sync Strings from Localazy 2025-12-23 11:23:46 +01:00
ganfra
97d22935f2 Merge pull request #5950 from element-hq/feature/fga/iterate_permissions_screen
Changes : iterate again on permissions
2025-12-22 18:41:38 +01:00
ganfra
f7248b87f0 fix: display banned member list if permissions.canKick or permissions.canBan 2025-12-22 18:06:41 +01:00
Jorge Martín
75f8c4f594 Transform MessageEventType and StateEventType into sealed interfaces to handle the Custom variant, also add missing variants 2025-12-22 11:19:37 +01:00
Benoit Marty
98f43f2402 Sync strings. 2025-12-19 12:46:39 +01:00
Benoit Marty
90d71f5e66 Fix issue detected by lint. 2025-12-17 10:59:48 +01:00
ganfra
1300e7723c Merge branch 'develop' into feature/fga/space_settings_iteration 2025-12-16 11:02:29 +01:00
ElementBot
6880cf518c Sync Strings from Localazy (#5904)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-12-15 23:51:19 +01:00
ganfra
591eac83bd Merge branch 'develop' into feature/fga/space_settings_iteration 2025-12-15 16:06:06 +01:00
ganfra
0476cbd4d9 misc(power level) : expose RoomMemberModerationPermissions after PR review 2025-12-15 11:42:06 +01:00
ganfra
5c8fd831e3 misc(power level) : update tests following api change 2025-12-12 11:52:24 +01:00
ganfra
ee38fb5f63 misc(power level) : use new api 2025-12-12 11:26:54 +01:00
ganfra
d06f3a0798 change(room permissions): ensure closing screen without permissions 2025-12-11 17:39:10 +01:00
ganfra
6e2863ded6 change(room permissions): fix securityAndPrivacy permissions computation 2025-12-11 11:54:12 +01:00
ganfra
0befce4743 misc(power level) : clean up code 2025-12-10 11:26:07 +01:00
ganfra
b32157f99e misc(power level) : update tests following api change 2025-12-09 22:38:30 +01:00
ganfra
8b8f58f018 misc(power level) : use new api 2025-12-08 22:23:07 +01:00
bmarty
f4c8bbd8ad Sync Strings from Localazy 2025-12-08 00:34:18 +00:00