Benoit Marty
9e59c8a854
Reply: render sender name of replied event on 1 line only.
2024-04-22 16:23:18 +02:00
Benoit Marty
0938935d16
Rename Preview to follow code convention
2024-04-19 14:30:45 +02:00
Benoit Marty
7eae4d28ef
Fix test.
2024-04-18 00:56:46 +02:00
Benoit Marty
c1bb910dbd
Simplify PermalinkData, now that we have RoomIdOrAlias interface.
2024-04-18 00:03:15 +02:00
Benoit Marty
dca3d56aa7
Introduce value class RoomAlias
2024-04-18 00:02:09 +02:00
Benoit Marty
9b6ab9b484
Parse permalink using parseMatrixEntityFrom.
...
Create new PermalinkData type for link to Events.
Keep matrixToConverter for now to first convert to matrix.to link. At some point it may be done by the SDK.
Remove parse(Uri)
2024-04-15 17:47:40 +02:00
Benoit Marty
eb91f83f51
Always use method aRichTextEditorState instead of invoking the constructor directly, and remove parameter when it's the default value.
2024-04-11 11:17:56 +02:00
Benoit Marty
3edbb29eb8
Merge pull request #2639 from element-hq/feature/bma/hideCallMemberEvents
...
Hide call member events
2024-04-02 16:14:11 +02:00
Benoit Marty
db3f17fd7d
Move PermalinkBuilder, MatrixToConverter and PermalinkParser content to the impl project in order to remove projects.appconfig dependency from matrix.api module.
2024-04-02 14:15:54 +02:00
bmarty
1e334891ab
Sync Strings from Localazy
2024-04-01 00:17:18 +00:00
bmarty
0c0c36c393
Sync Strings from Localazy
2024-03-12 13:54:03 +00:00
Jorge Martin Espinosa
796bdc0224
Prevent sending empty messages ( #2527 )
...
* Prevent sending empty messages
* Fix screenshot issue
* Use `aRichTextEditorState` helper function
2024-03-12 12:25:23 +01:00
ElementBot
af6ed820a8
Sync Strings ( #2523 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2024-03-11 08:46:07 +00:00
Benoit Marty
66aa342d73
Import string again with new post processing.
2024-02-26 21:36:28 +01:00
bmarty
54ef435d9c
Sync Strings from Localazy
2024-02-26 18:17:16 +00:00
Benoit Marty
c746a0acc5
Sync Localazy strings - including post treatment.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
Benoit Marty
9119a7b7fb
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Jorge Martin Espinosa
973c57d401
Update Compound to v0.0.5 and update icons ( #2380 )
...
Update Compound to `v0.0.5`:
- Make sure we fix all the breaking changes.
- Update some icons to use the compound version instead.
-Replace icons with their Compound counterparts when possible.
- Clean up unused icons.
- Fix issues with incorrect icons or sizes being used after replacing the temporary icons with the Compound ones.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-02-12 16:41:58 +00:00
Benoit Marty
72b89338b3
Remove Modifier parameter in private function when only default value is used.
...
This will improve the code coverage metrics, and this also fixes a few potential bug, where the Modifier was used several times.
2024-02-08 11:06:06 +01:00
bmarty
7911a26003
Sync Strings from Localazy
2024-02-05 00:09:59 +00:00
Benoit Marty
2ef8f67951
Send typing notification #2240
2024-01-26 16:30:43 +01:00
Benoit Marty
30cea9c70a
Always use the latest... fix.
2024-01-23 18:13:33 +01:00
Benoit Marty
cff076b508
Fix detekt issue:
...
Lambda parameters in a @Composable that are referenced directly inside of restarting effects can cause issues or unpredictable behavior.
If restarting the effect is ok, you can add the reference to this parameter as a key in that effect, so when the parameter changes, a new effect is created.
However, if the effect is not to be restarted, you will need to use `rememberUpdatedState` on the parameter and use its result in the effect.
See https://mrmans0n.github.io/compose-rules/rules/#be-mindful-of-the-arguments-you-use-inside-of-a-restarting-effect for more information. [LambdaParameterInRestartableEffect]
2024-01-23 18:13:33 +01:00
ElementBot
3a37460814
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com >
2024-01-15 09:21:04 +01:00
Benoit Marty
378692f743
Fix moar ktlint issues
2024-01-11 10:02:10 +01:00
renovate[bot]
7e9cda3aa9
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org >
Co-authored-by: Jorge Martín <jorgem@element.io >
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-01-10 16:22:24 +01:00
Jorge Martin Espinosa
e762584a37
Improve rendering of voice messages in the timeline in large displays ( #2199 )
...
* Improve rendering of voice messages in the timeline in large displays
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-01-09 18:07:23 +01:00
Benoit Marty
cbc86ea1e4
Merge branch 'develop' into feature/bma/sendImageFromKeyboard
2024-01-08 08:59:00 +01:00
Jorge Martin Espinosa
c6d109c424
Implement ContentAvoidingLayout for timeline items ( #2113 )
...
* Implement `ContentAvoidingLayout` for timeline items
* Truncate long mention pills
---------
Co-authored-by: Benoit Marty <benoit@matrix.org >
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-01-03 12:32:02 +01:00
Benoit Marty
47f0a2e73c
Add support for sending images from the keyboard #1977
2023-12-29 15:15:22 +01:00
Jorge Martin Espinosa
4f296ffb49
Disable vector XML rasterisation on API 23 ( #2128 )
...
* Disable vector XML rasterisation on API 23
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-12-29 11:41:08 +00:00
Jorge Martín
416a56faa3
Fix release build
2023-12-28 15:20:28 +01:00
Jorge Martín
770668589b
Add build script for the RTE library
2023-12-28 12:03:23 +01:00
bmarty
ada357b344
Sync Strings from Localazy
2023-12-26 09:39:48 +01:00
Benoit Marty
f32a76e92a
Remove unused import and format.
2023-12-20 17:33:49 +01:00
Benoit Marty
8f753a8a91
Use Edit icon from Compound and delete ic_edit_solid
2023-12-20 17:33:49 +01:00
Benoit Marty
ab593376cf
Fix size trick, the icon has changed.
2023-12-20 17:33:49 +01:00
Benoit Marty
184e9928f5
Use CompoundIcon and remove ic_send.xml
2023-12-20 17:33:49 +01:00
Jorge Martin Espinosa
e31b85f6c5
Fix mentions font weight and horizontal padding ( #2025 )
...
* Fix mentions font weight and horizontal padding
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-12-14 14:15:25 +01:00
Jorge Martin Espinosa
ab58cc2ed5
Use RTE TextView for timeline text messages, add mention pills to messages ( #1990 )
...
* Add `formattedBody` to `TimelineItemTextBasedContent`.
This is pre-computed when timeline events are being mapped from the Rust SDK.
* Update `HtmlConverterProvider` styles.
* Improve `MentionSpan` to add missing `@` or `#` if needed
* Replace `HtmlDocument` with the `TextView` based component
* Improve extra padding calculation for timestamp by rounding the float offset result instead of truncating it.
* Remove composer line height workaround
* Use `ElementRichTextEditorStyle` instead of `RichTextEditorDefaults` for the theming
* Use slightly different styles for composer and messages (top/bottom line height discrepancies, mostly).
* Add `formattedBody` to notice and emote events.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-12-13 18:09:53 +01:00
Benoit Marty
d31909e049
Sync localazy using fixed script
2023-12-08 19:24:35 +01:00
Benoit Marty
17bee2ee95
Ensure user display name is clipped to the Text area ( #1950 )
2023-12-05 17:20:58 +01:00
Benoit Marty
b43ddd36b9
Run the script again.
2023-12-05 12:25:59 +01:00
bmarty
ad2ca01094
Sync Strings from Localazy
2023-12-04 00:09:56 +00:00
renovate[bot]
8953b9cdae
Update wysiwyg to v2.20.0 ( #1921 )
...
* Update wysiwyg to v2.20.0
* Workaround line height for composer, remove unused test code.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2023-11-29 16:04:40 +01:00
Jorge Martin Espinosa
a8b85fb4e6
Extract compound tokens and theming to compound-android library ( #1888 )
...
* Replace tokens & icons with the external Compound ones
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-11-27 10:30:07 +01:00
Benoit Marty
d29219169a
Merge pull request #1862 from vector-im/feature/bma/moreTests
...
Remove lambda default value
2023-11-24 11:00:34 +01:00
Benoit Marty
ec2fa8b5a2
Merge pull request #1845 from vector-im/feature/bma/sendingStateA11y
...
Content description: add for sending state and fix other issues.
2023-11-22 17:51:48 +01:00
Benoit Marty
4ae0790cc1
Remove default value for lambda.
...
We enforce a value to be provided and it's better for code coverage.
2023-11-22 17:28:23 +01:00
Jorge Martin Espinosa
a52d78c3b3
Add intentional mentions ( #1843 )
...
* Add intentional mentions
2023-11-21 17:34:00 +01:00