Commit Graph

201 Commits

Author SHA1 Message Date
Benoit Marty
5f8e85edc6 Prevent usage of hard-coded string for contentDescription, and fix existing issues. 2023-11-21 15:38:21 +01:00
Benoit Marty
9f522b2671 Read receipt: Cleanup 2023-11-16 14:05:00 +01:00
Benoit Marty
46cf4195b2 Simplify config for Localazy 2023-11-14 18:25:05 +01:00
Benoit Marty
3db5d8bf68 Timeline: render TimelineItemReadMarkerModel 2023-11-14 18:10:26 +01:00
Benoit Marty
968a4d3fd0 Add a View to show the beginning of the timeline (parity with iOS) 2023-11-14 17:31:42 +01:00
Benoit Marty
022c5221a8 Localazy: move report_content strings to the :features:messages:impl module. 2023-11-14 11:37:21 +01:00
Benoit Marty
899ffbc351 Localazy: move leave_room_alert_ strings to the :features:leaveroom:api module. 2023-11-14 11:26:40 +01:00
Benoit Marty
2c54a0b0a8 Localazy: move settings_rageshake strings to the :features:rageshake:api module. 2023-11-14 11:16:57 +01:00
Benoit Marty
fff806f270 Localazy: move screen_notification_settings_ strings to the :features:preferences:impl module.
Need to also import `screen_notification_settings_edit_failed_updating_default_mode` to the module `:features:roomdetails:impl`.
2023-11-14 11:12:35 +01:00
Benoit Marty
0cebb0423f Localazy: move emoji_picker_category_ strings to the :features:messages:impl module. 2023-11-14 10:53:30 +01:00
Benoit Marty
3771f7b436 Localazy: move some strings to the :features:analytics:api module. 2023-11-14 10:48:02 +01:00
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