Commit Graph

55 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
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
Benoit Marty
352d89fdfb Import strings for SigneddOut module. 2023-10-10 20:09:05 +02:00
Benoit Marty
7190ffa3e0 Add strings for advanced settings into Localazy. 2023-09-28 17:09:08 +02:00
Benoit Marty
6d41542bd0 Add strings for permission dialogs in Localazy 2023-09-21 12:07:09 +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
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
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
7a602790ab Localazy: move string screen_migration_ to ftue/impl module and sync the strings. 2023-08-25 13:52:32 +02:00
Michael Telatynski
09efc2d358 Update localazy config generator - specify force_underscore=yes (#1122) 2023-08-23 11:59:09 +02:00
Benoit Marty
eac0d76782 Add Localazy badge to the Localazy readme. 2023-07-26 15:12:58 +02:00
Jorge Martin Espinosa
280b7e32e0 Hide encryption history + FTUE flow (#839)
* First attempt at implementing encrypted history banner and removing old UTDs

* Get the right behavior in the timeline

* Implement the designs

* Extract post-processing logic, add tests

* Add encryption banner to timeline screenshots

* Create FTUE feature to handle welcome screen and analytics

* Move classes to their own packages, add tests for `DefaultFtueState`.

* Remove unnecessary private MutableStateFlow

* Move some FTUE related methods and classes back to the `impl` module

* Handle back press at each FTUE step

* Remove unneeded `TestScope` receiver for `createState` in tests.

* Use light & dark previews for the banner view.

* Move color customization from `TextStyle` to `Text` component.

* Rename `InfoList` design components, use them in `AnalyticsOptInView` too.

* Cleanup MatrixClient.

* Fix copy&paste error

Co-authored-by: Benoit Marty <benoit@matrix.org>

* Fix typo

* Fix Maestro tests

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-07-17 18:34:36 +02:00
Benoit Marty
4ba4e92575 Move string screen_waitlist_ to module login. 2023-07-05 15:53:28 +02:00
Benoit Marty
7dea3c1dd2 Ensure files downloaded by localazy end with a new line. 2023-06-16 15:14:00 +02:00
Benoit Marty
06297bb792 Update strings. 2023-06-09 16:34:22 +02:00
Benoit Marty
9809969b64 Account provider screen. - Crashing 2023-06-07 09:00:20 +02:00
Benoit Marty
96f9eb8397 Change account provider screen. 2023-06-07 09:00:20 +02:00
Yoan Pintas
d2263372d2 Init analytics modules (#350) 2023-06-05 13:11:34 +00:00
Benoit Marty
f0550e354a Group some state events in the timeline 2023-05-25 14:17:09 +02:00
Benoit Marty
70df081840 Move RoomLastMessageFormatter and related class and resource to the new module eventformatter, in order to prepare rendering of state event in the timeline. 2023-05-25 14:15:35 +02:00
Jorge Martin Espinosa
31ac97d17a [Media upload] Add media pickers to the Room screen and the composer (#380)
* Add media pickers to the Room screen and the composer.

* Fix exclude rules for translations
2023-05-04 11:51:03 +02:00
Chris Smith
e90211b5d8 Invite list view
Adds a CTA on the room list to view invites if there are any.

The invite list presents each invite with accept/decline buttons
and (for room invites) the sender details.

Fixes #102
2023-04-19 10:20:48 +01:00
Florian Renaud
023c5f4a7e Use string resources 2023-04-13 15:49:00 +02:00
Benoit Marty
3b49ab0e7a Add default value for noActivityFoundMessage 2023-04-12 09:41:22 +02:00
Benoit Marty
9cca2405e8 For usage of Python3
CI complain with:
 Traceback (most recent call last):
  File "./tools/localazy/generateLocalazyConfig.py", line 39, in <module>
    action = baseAction | {
TypeError: unsupported operand type(s) for |: 'dict' and 'dict'
2023-04-07 14:39:13 +02:00
Benoit Marty
48044a3cc5 Add strings to localazy and import them 2023-04-05 16:59:17 +02:00
Benoit Marty
5fdf16772f Merge pull request #299 from vector-im/feature/bma/translations
Translations - Localazy improvement
2023-04-05 14:10:52 +02:00
Benoit Marty
e316fcef04 Create baseAction for shared values. 2023-04-05 12:23:47 +02:00
Benoit Marty
830946e0de Ensure ellipsis char is used (fix lint issue). 2023-04-05 11:44:55 +02:00
Benoit Marty
2b1583c4ed Merge pull request #266 from vector-im/feature/bma/namingRules
Add string key naming rules.
2023-04-05 11:36:04 +02:00
Benoit Marty
b410fc6983 Add a section about placeholders. 2023-04-05 11:35:16 +02:00
Benoit Marty
43c070b01b Add key naming rules for dialogs. 2023-04-05 11:22:53 +02:00
Benoit Marty
7bf41d12e2 Add ability to download only English string (for developer). This is default behavior. 2023-04-05 10:58:18 +02:00
Jorge Martin Espinosa
d7a6779343 [Room member list] Display room member list (#276)
* Implement room member list

* Move timeline initialization back to `TimelinePresenter`.

* Fix crash when the `innerRoom` inside a `RustMatrixRoom` is destroyed but `syncUpdateFlow` is still running.

* Address review comments
2023-04-04 16:07:57 +00:00
Jorge Martin Espinosa
0fb061fb2e [Room Details] Implement room details screen (#256)
* Implement Room Details screen

* Add option to create permalink from room id and alias, add share room action
2023-03-29 05:16:27 +00:00
Benoit Marty
cbc7982cf5 Add rules for platform suffixes. 2023-03-28 15:16:03 +02:00
Benoit Marty
ae5a094fe4 Add rule for string keys starting with a11y. 2023-03-28 14:07:22 +02:00
Benoit Marty
7688cfb031 Small clarification 2023-03-28 14:05:50 +02:00