Commit graph

180 commits

Author SHA1 Message Date
Marco Romano
a814c4a95a
TimelineItemPresenterFactories (#1609)
DI infrastructure to allow injection of presenters into the timeline.
Add an `@AssistedFactory` of type `TimelineItemPresenterFactory` to a `Presenter` class and bind this factory into the TimelineItemPresenterFactory map multi binding using:

```
@Binds
@IntoMap
@TimelineItemEventContentKey(MyTimelineItemContent::class)
```

A map multibinding of such factories will be available in the `LocalTimelineItemPresenterFactories` composition local for further use down the UI tree.
2023-10-19 15:57:34 +02:00
Benoit Marty
21e24990c4 Improve and fix build_rust_sdk.sh after PR review 2023-10-16 18:29:25 +02:00
Benoit Marty
9d0cfd903d Add script to build the rustSdk 2023-10-16 13:31:26 +02:00
Benoit Marty
257927f4f5 Import strings for SigneddOut module. 2023-10-10 20:09:05 +02:00
Benoit Marty
89c2130c1d Ensure tmp folder exists 2023-10-03 15:21:16 +02:00
Benoit Marty
1bd281be16 rename the script to match the doc. 2023-10-03 15:18:06 +02:00
Benoit Marty
a202b2dedc Template: Improve end of files. 2023-10-03 15:16:24 +02:00
Benoit Marty
a65eb36e7b Template: Use PreviewsDayNight 2023-10-03 15:15:35 +02:00
Benoit Marty
301f237917 Template: data object 2023-10-03 15:13:08 +02:00
Benoit Marty
9a57350071 Remove extra space in filename 2023-10-02 17:12:21 +02:00
Benoit Marty
29d38f2947 Update the recipe to set up the template 2023-10-02 14:19:17 +02:00
Benoit Marty
bd1547cb0f Remove previous Suppress and its TODO, in the code and in the template. 2023-10-02 14:02:53 +02:00
Benoit Marty
eab6a4957f Remove binary file file_templates.zip, and commit its content in the folder files. 2023-10-02 14:01:44 +02:00
Benoit Marty
3971e86a64 Add strings for advanced settings into Localazy. 2023-09-28 17:09:08 +02:00
Benoit Marty
2cce7f3b47 Fix lint UnnecessaryComposedModifier and make it an error 2023-09-28 16:55:21 +02:00
Benoit Marty
0255ec6771
Merge pull request #1400 from vector-im/feature/bma/fixCrashPhoto
Fix crash when user wants to use the camera
2023-09-21 16:31:36 +02:00
Benoit Marty
7e587f9a9e Add strings for permission dialogs in Localazy 2023-09-21 12:07:09 +02:00
Benoit Marty
0c10432f9b
Merge pull request #1399 from vector-im/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.3.0
2023-09-21 09:30:56 +02:00
Benoit Marty
0e4c146e87 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
97f2d211ae Detekt: Rename LargeHeightPreview to PreviewWithLargeHeight to follow naming convention.
MultiPreview annotations should start with `Preview` as prefix

Detekt: Rename `LargeHeightPreview` to `PreviewWithLargeHeight` to follow naming convention.
Custom Preview annotations should start with `Preview` as prefix
2023-09-21 08:30:15 +02:00
Benoit Marty
fb87c77b91 Rules has been renamed
- https://github.com/mrmans0n/compose-rules/releases/tag/v0.3.0
- https://github.com/mrmans0n/compose-rules/pull/100
2023-09-21 08:29:14 +02:00
Benoit Marty
8babab5da9 Detekt: Disable OptionalWhenBraces, even if deprecated and replaced by BracesOnWhenStatements. Cannot do what I want with BracesOnWhenStatements. 2023-09-20 17:21:18 +02:00
Benoit Marty
acbdac70be Add support for io.element.call:/?url=some-encoded-url uri 2023-09-20 11:05:15 +02:00
Benoit Marty
0c421bdadd Add script to start ElementCallActivity 2023-09-20 09:59:23 +02:00
jonnyandrew
ee8d27e927
[Rich text editor] Add link functionality to rich text editor (#1309)
* Add link functionality to rich text editor
* Add 'list dialog' component compound design library
* Add 'text field list item' component to compound design library
2023-09-19 11:20:07 +00:00
Benoit Marty
b80366692c Ignore false positive on monochrome icon. 2023-09-18 17:06:35 +02:00
Benoit Marty
93b5f3d6f5
Merge branch 'develop' into feature/jme/1302-allow-users-to-change-their-avatars 2023-09-15 17:35:17 +02:00
Jorge Martin Espinosa
f88507117b
Element Call SPA integration (#1283)
* Integrate Element Call into EX, being able to open its URLs and handle the call in-app.
* Add custom scheme support with format `element:call?url=...`.
* Update androix.webkit
* Silence the foreground service notification.
- Allow foreground service tap action to re-open the ongoing call.
- Unify notification small icons in different modules using a vector one.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-15 16:39:44 +02:00
Jorge Martín
2ccafec564 Changes:
- Improve UI to match designs.
- Extract `EditableAvatarView` component.
- Create `LabelledOutlinedTextField`.
- Get strings from Localazy.
2023-09-15 14:04:21 +02:00
jonnyandrew
f214493c9d
[Rich text editor] Integrate rich text editor library (#1172)
* Integrate rich text editor

* Also increase swapfile size in test CI

Fixes issue where screenshot tests are terminated due to lack of CI
resources.

See https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-07 15:21:29 +00:00
Yoan Pintas
4a5a01d710
Add room notification settings (#807)
* Add room notification settings

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: David Langley <langley.dave@gmail.com>
2023-09-07 10:24:34 +02:00
Jorge Martin Espinosa
cfdccc904e
Replace notification permission dialog with a screen (#1223)
* Replace notification permission dialog with a screen

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-05 18:58:05 +02:00
Benoit Marty
a96baf9172
Merge pull request #1204 from pixlwave/doug/localazy-docs
Update Localazy readme.
2023-08-31 17:11:07 +02:00
Benoit Marty
ec7a249758
Merge pull request #1167 from vector-im/feature/bma/installFromGithubRelease
[Documentation] Install from GitHub release
2023-08-31 15:42:00 +02:00
Doug
09871c712d Update Localazy readme. 2023-08-31 14:17:14 +01:00
Marco Romano
633d5282d6
"Create poll" UI (#1143)
NB: This is missing analytics, which will be added once https://github.com/matrix-org/matrix-analytics-events/pull/85 is merged.

Closes https://github.com/vector-im/element-meta/issues/2011
2023-08-29 22:31:21 +02:00
Benoit Marty
614e8fcff9 Release script: improve prompt messages. 2023-08-29 11:19:32 +02:00
Benoit Marty
34a85c4956 Release script: Add link to documentation to install the application from the GitHub release. 2023-08-29 11:14:33 +02:00
Benoit Marty
b581cc9328 Release script: split APKs generation and APK deployment into 2 separate steps. 2023-08-29 11:11:35 +02:00
Benoit Marty
f44fa4190f Release script: do not bundle the minimal app when checking if the project compiles locally. 2023-08-29 11:06:17 +02:00
Benoit Marty
0ef0accdf6 Localazy: move string screen_migration_ to ftue/impl module and sync the strings. 2023-08-25 13:52:32 +02:00
Michael Telatynski
2910911da2
Update localazy config generator - specify force_underscore=yes (#1122) 2023-08-23 11:59:09 +02:00
Benoit Marty
29da271357 Release script, do not exit in case of error. 2023-08-16 16:55:49 +02:00
Benoit Marty
822bb82347
Merge pull request #967 from vector-im/feature/bma/detektConfig
Update detekt config.
2023-07-28 16:47:26 +02:00
Benoit Marty
036658232b
Merge pull request #983 from vector-im/feature/bma/lintErrors
Update lint rules, remove unused resource and sync strings.
2023-07-27 15:59:38 +02:00
Benoit Marty
86313417cb Detect missing translations. 2023-07-27 13:25:37 +02:00
Benoit Marty
9e557039a4 lint: ImpliedQuantity is now error. 2023-07-27 11:55:49 +02:00
Benoit Marty
9da162e5d7 lint: remove unknown rule. 2023-07-27 11:54:51 +02:00
Benoit Marty
017fd4296d Lint: do not ignore unused resources (except for strings) 2023-07-27 11:42:23 +02:00
Benoit Marty
5052134428 Add Localazy badge to the Localazy readme. 2023-07-26 15:12:58 +02:00