bmarty
0910da0a14
Sync Strings from Localazy
6 months ago
Benoit Marty
bcbd989ec0
Reply: render sender name of replied event on 1 line only.
6 months ago
Benoit Marty
74a9a54719
Rename Preview to follow code convention
7 months ago
Benoit Marty
35de787326
Fix test.
7 months ago
Benoit Marty
09faa6d1c9
Simplify PermalinkData, now that we have RoomIdOrAlias interface.
7 months ago
Benoit Marty
bd12ff737b
Introduce value class RoomAlias
7 months ago
Benoit Marty
3df328b1ab
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)
7 months ago
Benoit Marty
131edd0ba4
Always use method aRichTextEditorState instead of invoking the constructor directly, and remove parameter when it's the default value.
7 months ago
Benoit Marty
1e5a61a49c
Move PermalinkBuilder, MatrixToConverter and PermalinkParser content to the `impl` project in order to remove projects.appconfig dependency from matrix.api module.
7 months ago
bmarty
5809864182
Sync Strings from Localazy
7 months ago
bmarty
c021809479
Sync Strings from Localazy
8 months ago
Jorge Martin Espinosa
3453738344
Prevent sending empty messages ( #2527 )
...
* Prevent sending empty messages
* Fix screenshot issue
* Use `aRichTextEditorState` helper function
8 months ago
ElementBot
dac54e7154
Sync Strings ( #2523 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
8 months ago
Benoit Marty
6d31c7d1d3
Import string again with new post processing.
8 months ago
bmarty
5c8be8f61f
Sync Strings from Localazy
8 months ago
Benoit Marty
b9933acf98
Sync Localazy strings - including post treatment.
...
./tools/localazy/downloadStrings.sh --all
8 months ago
Benoit Marty
a7e38f0925
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
8 months ago
Jorge Martin Espinosa
b69cb8175a
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>
9 months ago
Benoit Marty
b104dba845
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.
9 months ago
bmarty
03c95555e3
Sync Strings from Localazy
9 months ago
Benoit Marty
bfb6b32740
Send typing notification #2240
9 months ago
Benoit Marty
eb51b49aef
Always use the `latest...` fix.
9 months ago
Benoit Marty
3ced570b3c
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]
9 months ago
ElementBot
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
10 months ago
Benoit Marty
5d086ad82d
Fix moar ktlint issues
10 months ago
renovate[bot]
c8bd362397
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>
10 months ago
Jorge Martin Espinosa
13e8e954d3
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>
10 months ago
Benoit Marty
54e499d0d0
Remove empty test module
10 months ago
Jorge Martin Espinosa
4f6c7421bd
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>
10 months ago
Benoit Marty
bc6d47b288
Add support for sending images from the keyboard #1977
10 months ago
Jorge Martin Espinosa
7fdba39d6d
Disable vector XML rasterisation on API 23 ( #2128 )
...
* Disable vector XML rasterisation on API 23
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
Jorge Martín
bbc36adb39
Fix release build
10 months ago
Jorge Martín
d5c8b62178
Add build script for the RTE library
10 months ago
bmarty
e6f4a7364f
Sync Strings from Localazy
10 months ago
Benoit Marty
6316dd2c15
Remove unused import and format.
11 months ago
Benoit Marty
9ae521dd0b
Use Edit icon from Compound and delete ic_edit_solid
11 months ago
Benoit Marty
c0fa56fff4
Fix size trick, the icon has changed.
11 months ago
Benoit Marty
79f52990ff
Use CompoundIcon and remove ic_send.xml
11 months ago
Jorge Martin Espinosa
80408a807c
Fix mentions font weight and horizontal padding ( #2025 )
...
* Fix mentions font weight and horizontal padding
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
Jorge Martin Espinosa
1e86d8279b
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>
11 months ago
Benoit Marty
39cca2ce09
Sync localazy using fixed script
11 months ago
Benoit Marty
573dc2a7af
Ensure user display name is clipped to the Text area ( #1950 )
11 months ago
Benoit Marty
24d3981261
Run the script again.
11 months ago
bmarty
fced91addb
Sync Strings from Localazy
11 months ago
renovate[bot]
59f8641973
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>
11 months ago
Jorge Martin Espinosa
087d2728d5
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>
11 months ago
Benoit Marty
ae0c3edd24
Remove default value for lambda.
...
We enforce a value to be provided and it's better for code coverage.
11 months ago
Jorge Martin Espinosa
97e9528e13
Add intentional mentions ( #1843 )
...
* Add intentional mentions
12 months ago
Benoit Marty
164269ef76
No need to have a SemanticColors parameter.
12 months ago
Benoit Marty
a8e0d1e66d
Fix compilation issue
12 months ago