Commit Graph

190 Commits

Author SHA1 Message Date
jonnyandrew
9cd45c16e0 Add voice message 'hold to record' tooltip (#1710)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-02 14:29:05 +00:00
Benoit Marty
6cc60e7d35 Merge pull request #1662 from vector-im/feature/bma/secureBackupUi
Secure backup UI
2023-10-27 18:36:38 +02:00
Jorge Martin Espinosa
0bd9c78836 Initial support for member suggestions (#1631)
* Initial support for member suggestion (search and UI)

* Add custom `BottomSheetScaffold` implementation to workaround several scrolling bugs

* Start searching as soon as `@` is typed, add UI following initial designs

* Extract suggestion processing code

* Extract component, add previews, fix tests

* Add tests

* Add exception from kover to the forked bottom sheet code

* Add a feature flag for mentions

- Extract composer & mention suggestions to their composable.
- Extract mentions suggestions processing to its own class.
- Add `MatrixRoom.canTriggerRoomNotification` function.
- Update strings and conditions for displaying the `@room` mention.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-27 10:26:40 +00:00
Benoit Marty
bb55a5676c Secure backup 2023-10-27 12:18:40 +02:00
ganfra
f105455bd6 PIN: branch SignOut 2023-10-25 11:15:15 +02:00
ganfra
677f06623a Merge pull request #1608 from vector-im/feature/fga/pin_create_ui
Feature/fga/pin create UI
2023-10-20 11:50:11 +02:00
Benoit Marty
623ac05644 Fix small issue in the script. 2023-10-20 10:52:13 +02:00
ganfra
833bff9ba9 Merge branch 'develop' into feature/fga/pin_create_ui 2023-10-19 22:26:21 +02:00
Jorge Martin Espinosa
5e547269e7 Integrate Element Call with widget API (#1581)
* Integrate Element Call with widget API.

- Add `appconfig` module and extract constants that can be overridden in forks there.
- Add an Element Call feature flag, disabled by default.
- Refactor the whole `ElementCallActivity`, move most logic out of it.
- Integrate with the Rust Widget Driver API (note the Rust SDK version used in this PR lacks some needed changes to make the calls actually work).
- Handle calls differently based on `CallType`.
- Add UI to create/join a call.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-19 15:38:43 +00:00
ganfra
c08cd13e0e Pin create: use localazy strings 2023-10-19 16:28:20 +02:00
Marco Romano
cf3039c6f3 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
359db36172 Improve and fix build_rust_sdk.sh after PR review 2023-10-16 18:29:25 +02:00
Benoit Marty
1bf26b10fc Add script to build the rustSdk 2023-10-16 13:31:26 +02:00
Benoit Marty
352d89fdfb Import strings for SigneddOut module. 2023-10-10 20:09:05 +02:00
Benoit Marty
d9c7d38fb1 Ensure tmp folder exists 2023-10-03 15:21:16 +02:00
Benoit Marty
aa05e636b4 rename the script to match the doc. 2023-10-03 15:18:06 +02:00
Benoit Marty
333864eb26 Template: Improve end of files. 2023-10-03 15:16:24 +02:00
Benoit Marty
f5137f96a9 Template: Use PreviewsDayNight 2023-10-03 15:15:35 +02:00
Benoit Marty
6bedb3bb28 Template: data object 2023-10-03 15:13:08 +02:00
Benoit Marty
9c6010aa6e Remove extra space in filename 2023-10-02 17:12:21 +02:00
Benoit Marty
2921ab1bd4 Update the recipe to set up the template 2023-10-02 14:19:17 +02:00
Benoit Marty
cb81c2a633 Remove previous Suppress and its TODO, in the code and in the template. 2023-10-02 14:02:53 +02:00
Benoit Marty
df2f3677a0 Remove binary file file_templates.zip, and commit its content in the folder files. 2023-10-02 14:01:44 +02:00
Benoit Marty
7190ffa3e0 Add strings for advanced settings into Localazy. 2023-09-28 17:09:08 +02:00
Benoit Marty
5964591a19 Fix lint UnnecessaryComposedModifier and make it an error 2023-09-28 16:55:21 +02:00
Benoit Marty
5119ca33dd 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
6d41542bd0 Add strings for permission dialogs in Localazy 2023-09-21 12:07:09 +02:00
Benoit Marty
a534b1fa6d 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
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
76d448e34b 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
5b4d2e75d1 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
98ae8feb38 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
9541389519 Add support for io.element.call:/?url=some-encoded-url uri 2023-09-20 11:05:15 +02:00
Benoit Marty
5e222d4865 Add script to start ElementCallActivity 2023-09-20 09:59:23 +02:00
jonnyandrew
d291622eea [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
ac6fc74999 Ignore false positive on monochrome icon. 2023-09-18 17:06:35 +02:00
Benoit Marty
372cc2a16e Merge branch 'develop' into feature/jme/1302-allow-users-to-change-their-avatars 2023-09-15 17:35:17 +02:00
Jorge Martin Espinosa
a06bea4d71 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
41e614310f Changes:
- Improve UI to match designs.
- Extract `EditableAvatarView` component.
- Create `LabelledOutlinedTextField`.
- Get strings from Localazy.
2023-09-15 14:04:21 +02:00
jonnyandrew
11c1fca92e [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
4a870fc4a5 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
ee3d3ae213 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
9f2af8f146 Merge pull request #1204 from pixlwave/doug/localazy-docs
Update Localazy readme.
2023-08-31 17:11:07 +02:00
Benoit Marty
96372e461a Merge pull request #1167 from vector-im/feature/bma/installFromGithubRelease
[Documentation] Install from GitHub release
2023-08-31 15:42:00 +02:00
Doug
a56ed42744 Update Localazy readme. 2023-08-31 14:17:14 +01:00
Marco Romano
b4e6d83fb7 "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
aafc5814eb Release script: improve prompt messages. 2023-08-29 11:19:32 +02:00
Benoit Marty
ead323c9f2 Release script: Add link to documentation to install the application from the GitHub release. 2023-08-29 11:14:33 +02:00
Benoit Marty
8403c24643 Release script: split APKs generation and APK deployment into 2 separate steps. 2023-08-29 11:11:35 +02:00
Benoit Marty
02e22b7869 Release script: do not bundle the minimal app when checking if the project compiles locally. 2023-08-29 11:06:17 +02:00