0ef6b69a79
Merge branch 'main' into wallet
...
# Conflicts:
# features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/MessagesFlowNode.kt
# features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/MessagesNavigator.kt
# features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/MessagesNode.kt
# features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/MessagesView.kt
# features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/messagecomposer/MessageComposerPresenter.kt
# features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/messagecomposer/suggestions/SuggestionsPickerView.kt
# features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/messagecomposer/suggestions/SuggestionsProcessor.kt
# features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/threads/ThreadedMessagesNode.kt
# features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/topbars/MessagesViewTopBar.kt
# libraries/textcomposer/impl/src/main/kotlin/io/element/android/libraries/textcomposer/mentions/ResolvedSuggestion.kt
2026-04-16 22:05:16 -07:00
bmarty
23c1112dcf
Sync Strings from Localazy
2026-04-13 00:48:40 +00:00
Benoit Marty
e63a50b512
Merge pull request #6517 from element-hq/feature/bma/compound10
...
Sync compound tokens https://github.com/element-hq/compound-design-tokens/releases/tag/v10.0.0
2026-04-08 09:40:14 +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
Benoit Marty
e401619017
Changer border color of InReplyTo to separatorPrimary
2026-04-02 09:37:15 +02:00
db4c262b27
feat(wallet): /pay slash command parser and composer integration (Task 5)
...
Implements Task 5 of Phase 1:
New files:
- ParsedPayCommand.kt: Sealed interface for parse results
- WithAddressRecipient: Pay to Cardano address
- WithMatrixRecipient: Pay to Matrix user (requires lookup)
- AmountOnly: Amount specified, prompt for recipient
- Empty: Open payment flow with no prefilled data
- ParseError: Parse error with human-readable reason
- SlashCommandParser.kt: Full /pay command parser
- Handles: /pay, /pay 10, /pay 10 ADA, /pay 10 tADA
- Matrix recipients: /pay 10 ADA @user:server
- Cardano addresses: /pay 10 ADA addr1...
- Validates amounts (decimal support, max supply check)
- Validates addresses (prefix, length, network match)
- Comprehensive error messages
- SlashCommandParserTest.kt: 40+ unit tests covering all patterns
Modified files:
- ResolvedSuggestion.kt: Added Command type for slash commands
- SuggestionsProcessor.kt: /pay shows as autocomplete suggestion
- MarkdownTextEditorState.kt: Command insertion in text editor
- MessageComposerPresenter.kt: Command handling in InsertSuggestion
Note: MessageComposerPresenter sendMessage interception deferred to
Task 6 (requires PaymentFlowPresenter for navigation).
2026-03-27 10:38:46 -07:00
Benoit Marty
cbb220f08d
Merge pull request #6472 from element-hq/feature/bma/inReplyUi
...
Update replied message UI
2026-03-27 10:17:01 +01:00
Benoit Marty
1de3729792
Merge pull request #6446 from bxdxnn/misc/bullet-margin
...
Add margin after bullet points
2026-03-25 17:05:48 +01:00
Benoit Marty
7d28c52242
Cleanup
2026-03-25 16:51:41 +01:00
Benoit Marty
747f588fa7
Update UI of replies.
2026-03-25 15:27:36 +01:00
Benoit Marty
eef20f723b
Update colors of permalinks.
2026-03-24 16:31:15 +01:00
Benoit Marty
54de64efd5
Update Mic icon in the composer bar. Closes #6443
2026-03-24 10:00:08 +01:00
bxdxnn
a50b39fd89
Add margin after bullet points
2026-03-23 19:39:28 +00:00
Gianluca Iavicoli
800a9ab972
Fix keyboard not auto-opening when editing a message ( #6412 )
...
* fix: auto-open keyboard when editing a message
* fix: show keyboard on focused editor view instead of root view
2026-03-23 10:54:59 +01:00
Benoit Marty
13578aa09b
Sync string again.
2026-03-16 14:54:06 +01:00
bmarty
299d5a9394
Sync Strings from Localazy
2026-03-16 00:42:32 +00:00
Benoit Marty
d419508b3f
Iterate on the send button colors. Fixes #6312
2026-03-10 17:10:15 +01:00
Jorge Martin Espinosa
168470f18d
Try fixing index OOB issues in Editable.checkSuggestionNeeded ( #6303 )
...
- Fix the case where the order for `start` and `end` is reversed.
- Fix the case where `start` or `end` may be outside the editable's range (`0..length`).
2026-03-10 08:20:02 +01:00
Timur Gilfanov
aeb42f72ca
Merge branch 'develop' into fix-6232
2026-03-05 13:34:09 +04:00
Timur Gilfanov
a8d6baee8c
Fix Markdown text input losing scroll position while typing
2026-03-05 10:43:31 +04:00
Benoit Marty
df6ffd0c57
Sync compound tokens https://github.com/element-hq/compound-design-tokens/releases/tag/v6.10.1 ( #6273 )
...
* Import compound token v6.10.1
./tools/compound/import_tokens.sh -b v6.10.1
* Use stop icon from Compound.
* Fix compilation issue.
* Use gradient color in ComposerAlertMolecule. Fixes #6192
* Update screenshots
* Remove ComposerAlertLevel.Default (not in the design).
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
2026-03-03 14:42:27 +01:00
ElementBot
cf479a8df0
Sync Strings from Localazy ( #6269 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-03-02 14:54:50 +01:00
Benoit Marty
de9987deea
Use gradient color in ComposerAlertMolecule. Fixes #6192
2026-03-02 13:03:47 +01:00
Benoit Marty
21aaa98d61
Use stop icon from Compound.
2026-03-02 12:42:45 +01:00
ElementBot
3ab67a5e15
Sync Strings from Localazy ( #6085 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-26 12:06:38 +01:00
Benoit Marty
1bd8fb4f36
Improve code readability.
2026-01-12 10:54:10 +01:00
Benoit Marty
a76e10868e
Ensure that the keyboard focus and accessibility focus is not lost when deleting a pending voice message.
2026-01-08 13:29:27 +01:00
Benoit Marty
9e5de144a2
Small rework to prepare a bugfix. No behavior / UI change.
2026-01-08 11:42:05 +01:00
Benoit Marty
553d5c7b28
Cleanup code. This if was not necessary.
2026-01-08 11:35:52 +01:00
Benoit Marty
61f68f02d1
A11Y: ensure a11y focus is not lost and reset to the back button when the user use the keyboard to focus the send button and press the space bar to perform a click.
2026-01-08 10:01:23 +01:00
Benoit Marty
5034ae06b8
A11Y: ensure a11y focus is not lost and reset to the back button when the user start playing a pending voice message.
2026-01-07 15:43:27 +01:00
ElementBot
ad881c303a
Sync Strings from Localazy ( #5904 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-12-15 23:51:19 +01:00
Benoit Marty
2d3a7f9745
Merge pull request #5821 from element-hq/feature/bma/fixLongVoiceRecording
...
Fix long voice recording
2025-12-03 10:27:46 +01:00
Benoit Marty
fc27accb94
Remove useless derivedStateOf
2025-12-03 09:52:41 +01:00
bmarty
32d56ea92d
Sync Strings from Localazy
2025-12-01 00:23:54 +00:00
Benoit Marty
f3d7b16463
Fix crash when recording long voice message.
2025-11-26 17:14:33 +01:00
Benoit Marty
8149cc06f1
Format - no other change.
2025-11-10 16:59:00 +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
ElementBot
967dfe6a6b
Sync Strings from Localazy ( #5662 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-11-03 10:58:12 +01:00
Benoit Marty
263e761907
Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding
2025-10-22 18:52:37 +02:00
Benoit Marty
26fcd1567c
Let the preview provider use stable data. I do not get why the generated screenshot was always similar.
2025-10-13 17:12:40 +02:00
Benoit Marty
c10c60134c
Add some comment
2025-10-13 17:12:28 +02:00
renovate[bot]
b6e2208ccb
fix(deps): update wysiwyg to v2.40.0 ( #5400 )
...
* fix(deps): update wysiwyg to v2.40.0
* Fix API mismatches
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-10-10 21:55:28 +02:00
Benoit Marty
19238acf5d
Rename SavedState to SavedValue to avoid this class to be checked for stability.
2025-10-09 18:22:32 +02:00
Benoit Marty
67c9daa0bf
Add Konsist test to check that toPersistentList() is not used.
...
Same for `toPersistentSet()` and `toPersistentMap()`.
Fix existing issues.
2025-10-08 15:51:18 +02:00
ElementBot
95949e615f
Sync Strings from Localazy ( #5427 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-29 15:10:21 +00:00
Jorge Martin Espinosa
0a5c178fe8
Add thread decoration with latest event details ( #5355 )
...
* Add thread decoration with latest event details
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
2025-09-23 14:57:50 +00:00
Benoit Marty
a575019760
Use DependencyHandlerScope.testCommonDependencies()
2025-09-16 14:38:31 +02:00