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
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
bmarty
f19ea02390
Sync Strings from Localazy
2024-10-21 00:27:20 +00:00
Benoit Marty
0b41c9967b
Remove dependencies to other presenters to AnalyticsPreferencesPresenter.
2024-10-07 17:45:18 +02:00
bmarty
05291bcf2f
Sync Strings from Localazy
2024-10-07 00:28:33 +00:00
bmarty
e0c24c0f1c
Sync Strings from Localazy
2024-09-16 18:40:24 +00:00
Benoit Marty
2b016227e9
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
bmarty
5765d9bf9f
Sync Strings from Localazy
2024-08-19 00:25:36 +00:00
bmarty
d288ace4bd
Sync Strings from Localazy
2024-07-29 00:26:27 +00:00
ElementBot
9522569860
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2024-07-22 08:59:47 +00:00
jmartinesp
58f2cbf489
Sync Strings from Localazy
2024-07-03 11:21:27 +00:00
Jorge Martin Espinosa
950e502ca6
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 >
2024-07-03 13:05:06 +02:00
bmarty
57510316ec
Sync Strings from Localazy
2024-06-10 00:17:04 +00:00
bmarty
46b6ae6251
Sync Strings from Localazy
2024-05-29 12:44:57 +00:00
Benoit Marty
bbb44db297
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
bmarty
0241014932
Sync Strings from Localazy
2024-05-20 00:23:05 +00:00
bmarty
602b3988e4
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
bmarty
d2eb0d9820
Sync Strings from Localazy
2024-05-06 00:19:35 +00:00
bmarty
0c0c36c393
Sync Strings from Localazy
2024-03-12 13:54:03 +00: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
bmarty
7911a26003
Sync Strings from Localazy
2024-02-05 00:09:59 +00:00
ElementBot
3a37460814
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com >
2024-01-15 09:21:04 +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
bmarty
ada357b344
Sync Strings from Localazy
2023-12-26 09:39:48 +01:00
Benoit Marty
0b44b8b200
Move Config object to the config module and rename to AnalyticsConfig
2023-12-19 14:58:29 +01:00
Benoit Marty
d31909e049
Sync localazy using fixed script
2023-12-08 19:24:35 +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
Benoit Marty
3771f7b436
Localazy: move some strings to the :features:analytics:api module.
2023-11-14 10:48:02 +01:00
Benoit Marty
d2ca528679
Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty
e326e49e4c
Use DayNightPreview
2023-09-19 11:49:12 +02:00
Benoit Marty
79c5bd25c3
Compact the code and reorder vals for code clarity
2023-08-30 10:24:57 +02:00
Benoit Marty
c88b087feb
Remove unused lambda parameter. The link is opened by the LocalUriHandler now.
2023-08-30 10:21:27 +02:00
Jorge Martín
0a77590e76
Split link text into a ListSupportingText component.
...
This also requires some internal changes to `ListSupportingText`, `ClickableLinkText` and `TimelineTextView` to match the behaviour and design.
2023-08-30 09:33:53 +02:00
Benoit Marty
1a12e97524
Fix style (typo and color) for supporting content.
2023-08-29 18:03:29 +02:00
Benoit Marty
e8b6cddd6b
format.
2023-08-29 16:46:59 +02:00
Benoit Marty
d80005ecf3
Remove preview Text.
2023-08-29 16:39:59 +02:00
Benoit Marty
88786cdda6
Use buildAnnotatedStringWithStyledPart and remove copied code.
2023-08-29 16:38:21 +02:00
Benoit Marty
03864b3eb0
Make the link open the policy url in the analytics setting screen.
2023-08-29 16:33:03 +02:00
Benoit Marty
62d92d3296
Fix rendering issue of the link.
2023-08-29 16:11:08 +02:00
Benoit Marty
506336401a
Format.
2023-08-29 16:10:02 +02:00
Benoit Marty
ccff1d8137
Migrate AnalyticsPreferencesView from PreferenceSwitch to ListItem.
2023-08-29 16:09:26 +02:00
Benoit Marty
996574f2c6
Enable detekt rule PreviewPublic and fix existing issues.
2023-07-26 10:08:39 +02:00
Marco Romano
f33561c25d
Revert "Auto generate dark mode previews and screenshots ( #776 )" ( #784 )
...
This reverts commit 79b529193c .
2023-07-05 15:47:53 +02:00
Marco Romano
79b529193c
Auto generate dark mode previews and screenshots ( #776 )
...
With this change, composable previews and screenshots should be created with just:
```
@ElementPreviews
@Composable
fun MyViewPreview() {
ElementPreview {
MyView()
}
}
```
- Adds `@ElementPreviews` which is a shorthand for:
```
@Preview(name = "D")
@Preview(name = "N", uiMode = Configuration.UI_MODE_NIGHT_YES)
```
Should be used in connection with the now public `fun ElementPreview()` composable.
- Adds ElementPreviews to previewAnnotations in dangerfile
- Screenshots of night mode previews are now rendered with night mode
- Replaces `ElementPreviewLight` and `ElementThemedPreview` with `ElementPreview`
- Deprecates `ElementPreviewDark` which should be removed.
- Remaining usages of `ElementPreviewDark` are now ignored during screenshot tests
2023-07-05 13:58:24 +02:00
Benoit Marty
be92588c28
Improve rendering of preference anaytics screen.
2023-07-03 17:09:04 +02:00
Benoit Marty
6699462e06
Change hierarchy of settings.
2023-07-03 17:09:04 +02:00
Benoit Marty
f84b2ebbb0
Rename ElementX to Element X. Only for user facing value. In the doc I prefer to keep ElementX.
2023-06-29 14:15:36 +02:00