Jorge Martin Espinosa
a346faba08
Improve accessibility of the timeline ( #4579 )
...
* Make whole messages selectable and readable as a single unit when possible.
* Make most UI components not clickable when talkback is enabled.
* Make voice messages work with talkback too.
* Read grouped state events even if the events are collapsed.
* Move image and video item actions to the timeline item.
* Improve accessibility in the message context menu too
* Fix a11y issue on add attachment button.
* Add `contentDescription` to file icon so it's read aloud
---------
Co-authored-by: Benoit Marty <benoit@matrix.org >
2025-04-15 15:28:29 +00:00
ElementBot
270b420575
Sync Strings ( #4590 )
...
* Sync Strings from Localazy
* Fix strings usage after some were moved
* Fix Norwegian string that was causing lint to fail
* Update screenshots
---------
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
Co-authored-by: Jorge Martín <jorgem@element.io >
2025-04-14 11:24:28 +02:00
Jorge Martin Espinosa
dac0eb6762
Fix bullet points not having leading margin on timeline items ( #4536 )
...
* Fix bullet points not having leading margin on timeline items
* Remove other usages of `SpannableString` constructor, use either `valueOf` to reuse the existing value or `SpannedString` instead if the spans don't have to change
2025-04-07 10:50:45 +02:00
ElementBot
2c62c44c11
Sync Strings from Localazy ( #4506 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-03-31 10:58:46 +02:00
ganfra
042c0c5a6b
Change (mention span) : rework and add more cases ( #4476 )
...
* change(mention span) : improve truncation logic
* change(mention span) : fix theme switching
* change(mention span) : start to pillify permalinks
* change(mention span) : use permalink directly
* change(mention span) : start improving mention type
* change(mention span) : use the appropriate MentionSpanProvider methods
* change(mention span) : introduce MentionSpanFormatter
* change(mention span) : introduce MentionSpanUpdater
* change(mention span) : Improve RoomNameCaches
* change(mention span) : remove useless param on HtmlConverterProvider
* change(mention span) : fix some remaining issues on the composer
* change(mention span) : remove pillifiedBody
* change(mention span) : fix some issues with pillification
* change(mention span) : fix getMentionsSpans
* change(mention span) : make sure all tests passes
* change(mention span) : remove the coroutine from the caches and a MentionSpanFormatterTest
* change(mention span) : add more tests on pillification
* change(mention span) : clean up
* Update screenshots
* change(mention span) : remove unexpected print
* change(mention span) : remove default values in constructor of TimelineTextBasedContent classes
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io >
2025-03-28 11:20:32 +01:00
Jorge Martin Espinosa
bb97015e59
Add 'unencrypted room' badges and labels ( #4445 )
...
* Add 'unencrypted room' icon and label to composer
* Modify colors for room details screen info labels
* Add exception to Konsist's preview check
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io >
2025-03-25 11:26:25 +00:00
ElementBot
2f8b40777d
Sync Strings ( #4461 )
...
* Sync Strings from Localazy
* Fix UI tests
---------
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
Co-authored-by: Jorge Martín <jorgem@element.io >
2025-03-24 16:45:24 +00:00
ElementBot
6dbb371ca2
Sync Strings from Localazy ( #4421 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-03-17 09:54:03 +01:00
bmarty
9456ee921d
Sync Strings from Localazy
2025-03-10 00:28:38 +00:00
Benoit Marty
8d14ac67e9
Add IconColorButton (CloseButton)
...
Figma: https://www.figma.com/design/G1xy0HDZKJf5TCRFmKb5d5/Compound-Android-Components?node-id=1956-37586
2025-03-07 13:14:51 +01:00
bmarty
7fca7d2b12
Sync Strings from Localazy
2025-03-03 00:29:16 +00:00
bmarty
3dddd90d97
Sync Strings from Localazy
2025-02-17 00:30:17 +00:00
Benoit Marty
39cb6e03f0
Use color from ElementTheme.
2025-02-06 15:10:15 +01:00
Benoit Marty
0d6d74512f
Use ElementTheme instead of MaterialTheme
2025-02-06 15:10:15 +01:00
bmarty
5a4cac7d2d
Sync Strings from Localazy
2025-02-03 00:29:01 +00:00
Benoit Marty
05fc76822a
Apply dual licenses: AGPL + Element Commercial to file headers.
...
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
bmarty
e18e4142c7
Sync Strings from Localazy
2024-12-16 00:28:36 +00:00
bmarty
01855f09a9
Sync Strings from Localazy
2024-12-09 00:30:45 +00:00
ganfra
6e8b9439dd
feat(design) : update send button to match new background
2024-12-05 17:23:52 +01:00
ganfra
9a0324f423
fix(composer) : use HideKeyboardWhenDisposed only in MessagesView
2024-12-04 11:31:33 +01:00
ganfra
3803ec7544
fix : hide keyboard when TextComposer is removed from composition
2024-12-03 12:11:41 +01:00
Benoit Marty
0fcc90f64f
Add warning when adding a caption.
2024-12-02 15:53:48 +01:00
bmarty
545b4f500c
Sync Strings from Localazy
2024-12-02 00:30:02 +00:00
ElementBot
1b51cd8300
Sync Strings ( #3936 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2024-11-25 09:06:57 +00:00
Benoit Marty
b387eac448
Remove default value and clarify the code
2024-11-21 09:55:43 +01:00
Benoit Marty
d3408c8f25
Edit / Add / Remove caption
2024-11-21 09:45:27 +01:00
Benoit Marty
0a0e96c2b6
Iterate on send button design.
2024-11-20 10:15:53 +01:00
ElementBot
411895456b
Sync Strings - add translations to Finnish ( #3883 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2024-11-18 11:37:17 +00:00
ElementBot
f595a7a7c5
Sync Strings ( #3852 )
...
* Sync Strings from Localazy
* Fix tests
---------
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
Co-authored-by: Jorge Martín <jorgem@element.io >
2024-11-11 13:09:30 +01:00
Benoit Marty
b92f21fb75
Do not allow caption on audio files.
...
Regular files are not previewed, but prevent caption as well there.
2024-11-04 14:24:39 +01:00
Benoit Marty
b8afe8afa5
Fix multiple previews issue.
2024-11-04 14:24:39 +01:00
Benoit Marty
19c56cdbe3
Send caption with media
2024-11-04 14:24:39 +01:00
bmarty
fed502957b
Sync Strings from Localazy
2024-11-04 00:27:46 +00:00
Benoit Marty
de1afd1234
Fix import in test.
2024-10-30 15:58:49 +01:00
Benoit Marty
fae82f1a33
Format files
2024-10-30 15:45:12 +01:00
Benoit Marty
b38f2714dc
TextComposer: Fix preview color.
2024-10-30 15:23:39 +01:00
Benoit Marty
4b7ffb141e
TextComposer: Add more preview content.
2024-10-30 15:19:51 +01:00
Benoit Marty
87dba718be
Fix Preview issue with TextComposerReplyPreview
2024-10-30 15:13:01 +01:00
Benoit Marty
d22072a606
Optimize code for Preview.
...
There should be no change in the preview.
2024-10-30 15:10:13 +01:00
Benoit Marty
53858f6206
Create fixtures for TextEditorState.
2024-10-30 14:48:18 +01:00
Benoit Marty
9852ce6821
Fix API Break: introduce EventOrTransactionId
2024-10-18 08:49:11 +02:00
Benoit Marty
82519cf7a4
Reduce start padding, the InReplyToView already have a 8 end padding.
2024-10-16 14:11:57 +02:00
Benoit Marty
07848a30dc
Add preview on ComposerModeView
2024-10-16 14:11:55 +02:00
Benoit Marty
097d0567ac
Extract methods aMessageComposerModeEdit() and aMessageComposerModeReply()
2024-10-16 13:50:58 +02:00
Benoit Marty
751b5f73bf
Reduce end padding of the composer, to give more space when composing messages.
2024-10-16 13:37:50 +02:00
Benoit Marty
2c66e3a128
Change type of parameter to MessageComposerMode.Special
2024-10-16 13:01:09 +02:00
ganfra
d73b1bad91
misc : remove direct usage of RoomSummary in UI and let RoomSummary use RoomInfo.
2024-10-08 21:34:34 +02:00
bmarty
05291bcf2f
Sync Strings from Localazy
2024-10-07 00:28:33 +00:00
Benoit Marty
f88ec4837e
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.
2024-10-04 17:01:51 +02:00
Jorge Martin Espinosa
2efdb3ae45
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
2024-09-30 12:20:28 +00:00