Commit graph

72 commits

Author SHA1 Message Date
Benoit Marty
fee86b281e Rename nodes and organize by package into screens subpackage for clarity 2023-06-09 17:38:04 +02:00
Benoit Marty
b72cf1dcdd Update strings. 2023-06-09 16:34:22 +02:00
Benoit Marty
4266faa204 Update maestro test regarding the new login flow. 2023-06-09 10:19:49 +02:00
Benoit Marty
d703eb05ec Format 2023-06-09 10:19:49 +02:00
Benoit Marty
563f8d3403 Add tests. 2023-06-08 22:56:36 +02:00
Benoit Marty
319d74b12b Rework HomeserverResolver 2023-06-08 22:04:12 +02:00
Benoit Marty
097b16d4b1 Rename file 2023-06-08 18:20:26 +02:00
Benoit Marty
1bc5277bc2 Fix icon tint 2023-06-08 16:56:20 +02:00
Benoit Marty
199decdd1d Test ChangeServerPresenter 2023-06-08 16:34:44 +02:00
Benoit Marty
b039f0d01d Validate server on user click. 2023-06-08 16:34:44 +02:00
Benoit Marty
4df03762a8 Get more info from WellKnown request. 2023-06-08 16:34:44 +02:00
Benoit Marty
5ed3164faf Moar fixes 2023-06-08 16:34:44 +02:00
Benoit Marty
322567ce62 Moar fixes. 2023-06-07 16:58:31 +02:00
Benoit Marty
80cfd74aa9 Fix some errors 2023-06-07 16:55:37 +02:00
Benoit Marty
fe5c83635f Code quality. 2023-06-07 16:43:56 +02:00
Benoit Marty
cd860e9de3 Add test for ChangeAccountProviderPresenter and other presenters. 2023-06-07 15:18:23 +02:00
Benoit Marty
a1b1df4cb4 Add test for ChangeAccountProviderPresenter 2023-06-07 14:50:31 +02:00
Benoit Marty
22ec126aa3 Add test for AccountProviderPresenter 2023-06-07 14:47:42 +02:00
Benoit Marty
641e4f5881 Remove old screens. 2023-06-07 14:18:46 +02:00
Benoit Marty
539c157083 Get faster results 2023-06-07 12:20:11 +02:00
Benoit Marty
fa9b873ba6 More fixes 2023-06-07 10:39:19 +02:00
Benoit Marty
05e3256da4 Cleanup 2023-06-07 10:01:41 +02:00
Benoit Marty
0b881c3d47 Improve screen 2023-06-07 09:03:53 +02:00
Benoit Marty
dc3ad323e5 LoginPasswordNode 2023-06-07 09:03:53 +02:00
Benoit Marty
974ec9c1f7 Navigation 2023-06-07 09:03:53 +02:00
Benoit Marty
09c5760688 Account provider form screen. 2023-06-07 09:03:53 +02:00
Benoit Marty
7001c7b9cc Account provider screen. - Crashing 2023-06-07 09:00:20 +02:00
Benoit Marty
67e85e0a36 Change account provider screen. 2023-06-07 09:00:20 +02:00
github-actions[bot]
044a3c991e Sync Strings (#522)
Sync Strings from Localazy
2023-06-05 15:26:50 +00:00
Benoit Marty
44bfd1f15c More cleanup now that min API is back to 23. 2023-06-05 10:46:21 +02:00
Benoit Marty
bbacda4b45 Cleanup after PR review. 2023-05-31 10:34:03 +02:00
Benoit Marty
31e0120f46 Ignore temporary error. 2023-05-30 16:38:46 +02:00
Benoit Marty
d9831cb8ab Make the application compile with a SDK with no support for Oidc. 2023-05-30 15:59:58 +02:00
Benoit Marty
f6302e4ed3 better api 2023-05-30 15:59:58 +02:00
Benoit Marty
ad4141fcc9 Cleanup 2023-05-30 15:59:58 +02:00
Benoit Marty
e3c781ad76 Custom tab: dark theme support. 2023-05-30 15:59:58 +02:00
Benoit Marty
5ae2a199dc Add test for oidc with custom tab. 2023-05-30 15:59:58 +02:00
Benoit Marty
142c459861 Fix compilation and test 2023-05-30 15:59:58 +02:00
Benoit Marty
0766ec456c Oidc custom tab: avoid replay. 2023-05-30 15:59:58 +02:00
Benoit Marty
0e9c7bc15a Start CustomTab from Activity 2023-05-30 15:59:58 +02:00
Benoit Marty
4951a94af5 Create sub packages. 2023-05-30 15:59:58 +02:00
Benoit Marty
d2f969252d Oidc with CustomTab 2023-05-30 15:59:58 +02:00
Benoit Marty
d2b73dd6bc Quality checks 2023-05-30 15:59:58 +02:00
Benoit Marty
4cc3050871 Cleanup 2023-05-30 15:59:58 +02:00
Benoit Marty
f8dbd31c11 Test for Oidc 2023-05-30 15:59:58 +02:00
Benoit Marty
9551a5e6f8 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
f1d2f566bc Add OIDC support 2023-05-30 15:14:57 +02:00
bmarty
175b7deccb Sync Strings from Localazy 2023-05-29 00:09:47 +00: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
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