Benoit Marty
32e462cfc0
Fix import in test.
2 days ago
Benoit Marty
47f8172144
Format files
2 days ago
Benoit Marty
f1050b783e
TextComposer: Fix preview color.
2 days ago
Benoit Marty
06d994c9d2
TextComposer: Add more preview content.
2 days ago
Benoit Marty
b79ab2e1e5
Fix Preview issue with TextComposerReplyPreview
2 days ago
Benoit Marty
04b9044608
Optimize code for Preview.
...
There should be no change in the preview.
2 days ago
Benoit Marty
26a4441d64
Create fixtures for TextEditorState.
2 days ago
Benoit Marty
1f8f1c998f
Fix API Break: introduce EventOrTransactionId
2 weeks ago
Benoit Marty
b2fe4d95e2
Reduce start padding, the InReplyToView already have a 8 end padding.
2 weeks ago
Benoit Marty
b1ab737393
Add preview on ComposerModeView
2 weeks ago
Benoit Marty
d1582f3778
Extract methods aMessageComposerModeEdit() and aMessageComposerModeReply()
2 weeks ago
Benoit Marty
43b6370a0b
Reduce end padding of the composer, to give more space when composing messages.
2 weeks ago
Benoit Marty
8561949944
Change type of parameter to MessageComposerMode.Special
2 weeks ago
ganfra
eeb6b6f4bf
misc : remove direct usage of RoomSummary in UI and let RoomSummary use RoomInfo.
3 weeks ago
bmarty
e25ba65170
Sync Strings from Localazy
4 weeks ago
Benoit Marty
dd2a1b3388
Add settings to hide images and videos in the timeline.
...
Hide images, videos and stickers in the timeline.
Disable click on hidden content. It must be revealed first.
Add preview without BlurHash.
Also hide image in thumbnails.
4 weeks ago
Jorge Martin Espinosa
eeec7cc785
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
1 month ago
renovate[bot]
9756afc5d1
Update dependency androidx.compose:compose-bom to v2024.09.00 ( #3399 )
...
* Update dependency androidx.compose:compose-bom to v2024.09.00
* Adapt code for changes.
* Workaround crash when closing the RTE
* Fix broken bottom sheet colors and shape
* Fix tons of warnings and deprecations
* Fix lint issues
* Fix more M3 update changes
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: ElementBot <android@element.io>
1 month ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
Jorge Martin Espinosa
94f1388402
Use the right colors for `@room` mention pills ( #3376 )
...
* `@room` mentions the current user, so it should use the same colors as an explicit mention to them
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2 months ago
Benoit Marty
b112713d69
Rename test because method has been renamed.
2 months ago
Benoit Marty
2488ea6c98
Add missing test for MarkdownTextEditorState
2 months ago
Benoit Marty
b3e8cf443e
Fix test regression.
2 months ago
Benoit Marty
57d927e9aa
Suggestion for room alias.
...
Rename `Mention` to `IntentionalMention` for clarity
Remove dead code, there is no intentional mention for Room or RoomAlias.
Rename `IntentionalMention.AtRoom` to `IntentionalMention.Room` to match Rust naming
2 months ago
bmarty
3e67448006
Sync Strings from Localazy
2 months ago
bmarty
76804d9e48
Sync Strings from Localazy
3 months ago
ElementBot
1f01bd73c4
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
3 months ago
renovate[bot]
21553d757a
Update wysiwyg to v2.37.7 ( #3218 )
...
* Update wysiwyg to v2.37.7
* Fix API breaks
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
4 months ago
Jorge Martin Espinosa
2ff5fa67fc
Restore intentional mentions in the markdown/plain text editor ( #3193 )
...
* Restore intentional mentions in the markdown/plain text editor
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
4 months ago
jmartinesp
dabaa2d265
Sync Strings from Localazy
4 months ago
Jorge Martin Espinosa
b0cebf5ca0
Improve screenshot testing with ComposablePreviewScanner ( #3125 )
...
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
4 months ago
ganfra
82838d6ea5
Draft : use the volatile draft store when moving to edit mode
4 months ago
bmarty
32c5da898b
Sync Strings from Localazy
4 months ago
Jorge Martin Espinosa
d6b259b85a
Fix `@room` mentions crashing in debug builds ( #3107 )
...
* Fix `@room` mentions crashing in debug builds
* Iterate on previous solution, add `MentionSpan.Type.EVERYONE`
4 months ago
ganfra
644b425d71
Draft : code cleanup
4 months ago
ganfra
321c2dca30
Draft : refactor a bit ComposerMode and formatting management so we don't mess up with draft restoration.
4 months ago
ganfra
2d324a7f4b
Reply : fix reply cropped in timeline
4 months ago
ganfra
5597a1743a
Reply : refactor so we can use ReplyToDetails in Composer and Timeline
4 months ago
Jorge Martin Espinosa
310a7fc229
Resolve display names in mentions in real time ( #3051 )
...
* Resolve display names in mentions in real time
* Use `LocalRoomMemberProfilesCache` to avoid having to implement `TextMessagePresenter`
* Also use local composition provider for `MentionSpanProvider`
4 months ago
ganfra
9aa82b42fd
Draft : introduce DraftService and start using it.
4 months ago
Benoit Marty
cd9f3ad3fb
Use receiver.
5 months ago
Benoit Marty
ef316032f8
Fix toString content
5 months ago
bmarty
f3d286911c
Sync Strings from Localazy
5 months ago
Jorge Martin Espinosa
19b6b924d9
Make sure the selection in the plain text editor is inside the text bounds ( #2959 )
...
* Make sure the selection in the plain text editor is inside the text bounds
* Add changelog
5 months ago
bmarty
ca5bc71057
Sync Strings from Localazy
5 months ago
Benoit Marty
37d9a9f5a9
Lambda parameters in a composable function should be in present tense, not past tense.
...
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
5 months ago
Marco Antonio Alvarez
a9835e0dd1
Add rich content listener to markdown text input ( #2918 )
...
* add rich content listener to markdown text input
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
5 months ago
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
5 months ago
Jorge Martin Espinosa
72ab632233
Restore MarkdownTextInput contents ( #2902 )
...
* Restore `MarkdownTextInput` contents: create a `MarkdownTextInputStateSaver` and use it to save and restore the text and selection.
* Add default text flags to the markdown composer
5 months ago
Benoit Marty
f04253287f
Introduce lambdaError instead of using TODO, to handle error when a lambda is invoked and it should not.
5 months ago