Commit graph

95 commits

Author SHA1 Message Date
Benoit Marty
bc57a03a39 Add setting entry point to manage account (OIDC) 2023-08-23 12:54:22 +02:00
Benoit Marty
cc3829380d Sync Localazy strings again after removing 2 strings added by the Web team test. 2023-08-21 09:50:44 +02:00
ElementBot
ef8a60b657
Sync Strings from Localazy (#1098)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-08-21 08:34:19 +02:00
bmarty
b61a8a219a Sync Strings from Localazy 2023-08-14 00:08:49 +00:00
ElementBot
38a25dc3e9
Sync Strings from Localazy (#1032)
Co-authored-by: Florian14 <Florian14@users.noreply.github.com>
2023-08-11 14:34:05 +00:00
ElementBot
784b84d1e8
Sync Strings from Localazy (#1002)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-07-31 13:49:52 +00:00
Benoit Marty
8f4b664158 Sync strings. 2023-07-27 12:16:04 +02:00
Benoit Marty
40bbf1970c Remove unused strings. 2023-07-27 11:32:47 +02:00
bmarty
af2159e98f Sync Strings from Localazy 2023-07-24 00:10:09 +00:00
Marco Romano
a1313c2890
Update permission request dialog copy. (#931)
As per new designs.

Part of:
- https://github.com/vector-im/element-meta/issues/1682
2023-07-20 14:50:24 +00:00
Marco Romano
3c45a5ece4
Send My Location (#770)
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 09:58:13 +00:00
Jorge Martin Espinosa
2488432805
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
ElementBot
e75438a8e3
Sync Strings (#882)
* Sync Strings from Localazy

* Update screenshots

---------

Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-07-17 10:22:15 +02:00
bmarty
fd6cf1d7fd Sync Strings from Localazy 2023-07-10 00:11:05 +00:00
Jorge Martin Espinosa
5ee2418a1c
[Design] Use outlined textfields in login screen (#801)
* Use outlined textfields in the login screen

* Fix enabled status

* Fix loading state for button in `ConfirmAccountProviderView` too

* Update subtitle string

* Remove no longer used translation

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-07 10:08:38 +02:00
Benoit Marty
dabd38e1b5 Sync strings. 2023-07-05 15:53:28 +02:00
bmarty
6e54ed7b77 Sync Strings from Localazy 2023-07-03 00:11:17 +00:00
Benoit Marty
4fa7d1a2d8 Introduce handy aliases to avoid writing this: import io.element.android.libraries.ui.strings.R as StringR 2023-06-27 09:45:00 +02:00
bmarty
874739ece9 Sync Strings from Localazy 2023-06-26 00:10:53 +00:00
Jorge Martin Espinosa
cf2723ac7f [Message Actions] Copy events to clipboard (#665)
* Add `Copy` action for text events

* Remove 'Copy' action from the list for non-text events

* Use `@ContributesBinding` to inject `AndroidClipboardHelper`.
2023-06-23 14:39:07 +00:00
github-actions[bot]
fe5524bae4 Sync Strings (#630)
* Sync Strings from Localazy

* Update strings, remove broken German translation

* Update screenshots

---------

Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-19 11:18:01 +00:00
Benoit Marty
0c64921f10 Merge pull request #549 from vector-im/feature/bma/onboardingServer
Onboarding iteration
2023-06-13 09:21:50 +02:00
Benoit Marty
abfdf39029 Fix lint errors manually (a string sync will be needed on develop). 2023-06-12 11:04:53 +02:00
Benoit Marty
b72cf1dcdd Update strings. 2023-06-09 16:34:22 +02:00
ganfra
468ed5276f Media: clean up code 2023-06-06 22:18:13 +02:00
ganfra
438fc6bb99 Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-06 14:35:25 +02:00
github-actions[bot]
044a3c991e Sync Strings (#522)
Sync Strings from Localazy
2023-06-05 15:26:50 +00:00
Yoan Pintas
f534ecda96 Init analytics modules (#350) 2023-06-05 13:11:34 +00:00
Chris Smith
8ef7f36de8 Update strings to get new room placeholder text 2023-06-05 12:14:29 +01:00
ganfra
190da5f738 Update localazy strings 2023-06-02 19:22:23 +02:00
Chris Smith
1914caa54f More string fiddling 2023-06-02 14:22:35 +01:00
Benoit Marty
ff1147e611 Sync localazy to fix lint error. 2023-05-30 13:55:23 +02:00
bmarty
175b7deccb Sync Strings from Localazy 2023-05-29 00:09:47 +00:00
Benoit Marty
0c95912c9c Group some state events in the timeline 2023-05-25 14:17:09 +02:00
Benoit Marty
9d66af834d 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
Benoit Marty
e486677cf8 Merge pull request #438 from vector-im/feature/fre/invite_people_action
Handle "Invite people" action in the start a chat flow
2023-05-23 17:03:39 +02:00
Chris Smith
198d6d4c56 Invite users to existing rooms (#441)
Invite users to existing rooms

Scope:

- Allow inviting from the room detail screen and the member list
- Invite option is only shown if the user has the correct power level
- Search flow the same as creating a new room, allowing multi-select
- Existing room members/invitees are disabled with a custom caption
- Sending is asynchronous, an error dialog will appear wherever the
  user is if necessary

Closes #245
2023-05-23 09:23:24 +00:00
Chris Smith
44a3f48306 Merge remote-tracking branch 'origin/develop' into feature/fre/invite_people_action 2023-05-22 15:35:25 +01:00
Chris Smith
848f1cb988 Refactor search related functionality (#436)
Refactor search related functionality

This is a prelude to adding the feature of inviting users to
a room, getting everything in the right place and reusable.

What this does:

## User search refactor

Moves the (global) user search logic (dealing with MXIDs,
minimum lengths, debounces) into a `UserRepository`.

This now sits in a `usersearch` library, which will be
used by the create room flow and the new invite flow.

## SearchBar logic pull-up

Every place we use SearchBar, we're doing the same things
to style placeholders, show back/cancel buttons, etc.

We also have a results type that is duplicated for
basically every feature that uses the search bar.

I've pushed all this common functionality into the
SearchBar itself. This makes the component a bit less
general purpose, but saves a lot of repetition.

## Remove the userlist feature

Almost all the functionality of the userlist feature
is now exclusively used by the create room feature.
Room details uses its own version because the
requirements are different.

Components useful elsewhere (SelectedUsers and
SelectedUser) have gone to matrixui, everything else
has gone to createroom.

## Other bits and pieces

I've fixed everywhere that uses Scaffold to correctly
consume the WindowInsets if the contentPadding is
applied to the contents (which it universally is).
This was a change in the last version of Material3
(I guess previously Scaffold handled the consumption
for us). This fixes weird gaps above search bars.

Added overloads for the MatrixUserRow and
CheckedMatrixUserRow that take the name/subtitle/avatar
separately, so the invites list can pass arbitrary
text like "User has already been invited".

The `blockuser` package was for some reason not
under `impl` but alongside it, I've bumped it into
the right place.
2023-05-22 09:06:54 +00:00
Florian Renaud
9f7c48c3dd Handle "Invite people" action in the start a chat flow 2023-05-20 00:56:23 +02:00
Florian Renaud
e407b51f6b Sync strings 2023-05-16 16:36:47 +02:00
Florian Renaud
7a36d084e6 change wording for DM creation dialog 2023-05-16 16:36:47 +02:00
bmarty
f54b4e9f7e Sync Strings from Localazy 2023-05-08 00:08:48 +00:00
Jorge Martin Espinosa
014c0f4186 [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
bmarty
8f1793ffa4 Sync Strings from Localazy 2023-05-01 00:09:50 +00:00
bmarty
860777d20c Sync Strings from Localazy 2023-04-24 00:09:54 +00:00
Chris Smith
34cc352053 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
Jorge Martin Espinosa
30eb794d9c [Room details] DM designs (#313)
* Implement member details screen

* Add DM-only sections to the room details screen.
2023-04-17 16:41:10 +00:00
Florian Renaud
81fc3406c8 Handle create room action 2023-04-14 14:57:25 +02:00
Florian Renaud
62866965d9 Merge pull request #308 from vector-im/feature/fre/create_room_screen
Create a room screen (UI)
2023-04-13 23:40:25 +02:00