element-x-ada/plugins/src/main/kotlin/extension
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
..
AssetCopyTask.kt Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
CommonExtension.kt Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
DependencyHandleScope.kt Add support for slash commands (under Feature Flag) (#6482) 2026-04-02 16:15:32 +02:00
DependencyInjectionExtensions.kt Metro 0.10.0: contributesAsInject is now enabled by default. 2026-01-20 10:08:23 +01:00
KoverExtension.kt Fix TransactionTooLargeExceptions caused by Appyx (#6410) 2026-03-23 18:07:00 +01:00
locales.kt Sync Strings from Localazy (#5904) 2025-12-15 23:51:19 +01:00
Utils.kt Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
VariantDimensionExtension.kt Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
VersionCatalog.kt Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00