Commit Graph

176 Commits

Author SHA1 Message Date
Benoit Marty
dc064069ba Rename nodes and organize by package into screens subpackage for clarity 2023-06-09 17:38:04 +02:00
Benoit Marty
06297bb792 Update strings. 2023-06-09 16:34:22 +02:00
Benoit Marty
4c214db5c4 Update maestro test regarding the new login flow. 2023-06-09 10:19:49 +02:00
Benoit Marty
b72172e548 Format 2023-06-09 10:19:49 +02:00
Benoit Marty
dbe7796704 Add tests. 2023-06-08 22:56:36 +02:00
Benoit Marty
e1e984cfb0 Rework HomeserverResolver 2023-06-08 22:04:12 +02:00
Benoit Marty
763159651a Rename file 2023-06-08 18:20:26 +02:00
Benoit Marty
52545bc620 Fix icon tint 2023-06-08 16:56:20 +02:00
Benoit Marty
aa61c95e8c Test ChangeServerPresenter 2023-06-08 16:34:44 +02:00
Benoit Marty
9a07b72a0e Validate server on user click. 2023-06-08 16:34:44 +02:00
Benoit Marty
48a95c6e01 Get more info from WellKnown request. 2023-06-08 16:34:44 +02:00
Benoit Marty
248d0bad83 Moar fixes 2023-06-08 16:34:44 +02:00
Benoit Marty
de31591eba Moar fixes. 2023-06-07 16:58:31 +02:00
Benoit Marty
b4723bb182 Fix some errors 2023-06-07 16:55:37 +02:00
Benoit Marty
3eeeee2c98 Code quality. 2023-06-07 16:43:56 +02:00
Benoit Marty
ae38ffa914 Add test for ChangeAccountProviderPresenter and other presenters. 2023-06-07 15:18:23 +02:00
Benoit Marty
97090b9007 Add test for ChangeAccountProviderPresenter 2023-06-07 14:50:31 +02:00
Benoit Marty
c94b29bf83 Add test for AccountProviderPresenter 2023-06-07 14:47:42 +02:00
Benoit Marty
c5c5d90c24 Remove old screens. 2023-06-07 14:18:46 +02:00
Benoit Marty
27313ada37 Get faster results 2023-06-07 12:20:11 +02:00
Benoit Marty
9836b3fc8a More fixes 2023-06-07 10:39:19 +02:00
Benoit Marty
7b6a5d3af4 Cleanup 2023-06-07 10:01:41 +02:00
Benoit Marty
6eeac4dc41 Improve screen 2023-06-07 09:03:53 +02:00
Benoit Marty
32f953aa83 LoginPasswordNode 2023-06-07 09:03:53 +02:00
Benoit Marty
22ed3b7bfd Navigation 2023-06-07 09:03:53 +02:00
Benoit Marty
d8db9edafc Account provider form screen. 2023-06-07 09:03:53 +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
github-actions[bot]
03c28ac52d Sync Strings (#522)
Sync Strings from Localazy
2023-06-05 15:26:50 +00:00
Benoit Marty
0a689d5456 More cleanup now that min API is back to 23. 2023-06-05 10:46:21 +02:00
Benoit Marty
6cbe7340ab Cleanup after PR review. 2023-05-31 10:34:03 +02:00
Benoit Marty
0f4d20ac79 Ignore temporary error. 2023-05-30 16:38:46 +02:00
Benoit Marty
71e0f6ee0e Make the application compile with a SDK with no support for Oidc. 2023-05-30 15:59:58 +02:00
Benoit Marty
034e38ba5a better api 2023-05-30 15:59:58 +02:00
Benoit Marty
a53be000d0 Cleanup 2023-05-30 15:59:58 +02:00
Benoit Marty
a09ecafb07 Custom tab: dark theme support. 2023-05-30 15:59:58 +02:00
Benoit Marty
1221692859 Add test for oidc with custom tab. 2023-05-30 15:59:58 +02:00
Benoit Marty
fd124530b8 Fix compilation and test 2023-05-30 15:59:58 +02:00
Benoit Marty
af0eab6f0c Oidc custom tab: avoid replay. 2023-05-30 15:59:58 +02:00
Benoit Marty
dbc13a3a3c Start CustomTab from Activity 2023-05-30 15:59:58 +02:00
Benoit Marty
d33fbaf89f Create sub packages. 2023-05-30 15:59:58 +02:00
Benoit Marty
4c9bed9d8a Oidc with CustomTab 2023-05-30 15:59:58 +02:00
Benoit Marty
cef1691e53 Quality checks 2023-05-30 15:59:58 +02:00
Benoit Marty
a4e2a688c3 Cleanup 2023-05-30 15:59:58 +02:00
Benoit Marty
e8c24b65d1 Test for Oidc 2023-05-30 15:59:58 +02:00
Benoit Marty
b08021f1d9 Rework the set homeserver part: get the info, instead of hard-coded value, and implement retry in case of error. 2023-05-30 15:14:57 +02:00
Benoit Marty
a7eae1cda5 Add OIDC support 2023-05-30 15:14:57 +02:00
bmarty
3daea29a82 Sync Strings from Localazy 2023-05-29 00:09:47 +00: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
Chris Smith
1eac67bf25 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