Commit Graph

472 Commits

Author SHA1 Message Date
ganfra
2c2ce1b2e8 Merge pull request #260 from vector-im/feature/fga/module_templates
Feature/fga/module templates
2023-03-28 10:07:06 +02:00
ganfra
dde0f3480f Merge branch 'develop' into feature/fga/module_templates 2023-03-27 17:21:45 +02:00
Benoit Marty
9bc85ab41f Fix typo 2023-03-27 16:39:15 +02:00
Benoit Marty
c774f7529e [Strings] Use strings from localazy. 2023-03-27 14:44:24 +02:00
Benoit Marty
d449ede86d [Strings] Sync the strings. 2023-03-27 14:36:46 +02:00
ganfra
6e155ebeac Templates: remove template dir in feature module 2023-03-23 18:09:03 +01:00
Jorge Martin Espinosa
4a1a338e07 Move StateMachine to its own module. (#257) 2023-03-23 16:49:15 +00:00
Jorge Martin Espinosa
0c0b3d0aa6 [Verify Session] Design fixes (#230)
* Design fixes.

* Make text in emoji items secondary color and the snackbar duration short again

* Try to make margins smaller on smaller displays

---------

Co-authored-by: Florian Renaud <florianr@element.io>
2023-03-23 14:54:44 +00:00
Jorge Martin Espinosa
76ade37355 Make ChangeServerPresenter.submit fail as expected (#236)
* Make `ChangeServerPresenter.submit` fail as expected

* Fix tests to prevent this from ever happening again
2023-03-23 15:19:18 +01:00
Florian Renaud
502a98ff6f Merge pull request #223 from vector-im/feature/mna/select-members-ui
[Create room] Select members before creating a room (UI for selection)
2023-03-23 14:46:57 +01:00
Jorge Martin Espinosa
1b9999425c [Verify Session] Add missing 'start verification' screen. (#241)
* Add missing 'start verification' screen. 
* Fix retries sometimes not working because of `SessionVerificationController.setDelegate`.
* Make the negative button invisible when not needed.
2023-03-23 14:24:25 +01:00
Florian Renaud
546a795c21 Remove default onClick from MatrixUserRow 2023-03-23 11:46:56 +01:00
Florian Renaud
8c63d1fcb6 use list instead of set 2023-03-23 11:10:24 +01:00
Florian Renaud
d8c6a5b52d remove useless eventSink variable 2023-03-23 10:28:57 +01:00
Florian Renaud
e58d3fd83c remove unused imports 2023-03-23 10:16:11 +01:00
Florian Renaud
0bdf0c1692 Introduce SelectionMode enum 2023-03-22 12:26:01 +01:00
Florian Renaud
195af44391 Remove named injection and provide presenter through a factory 2023-03-22 12:26:01 +01:00
Maxime NATUREL
6b138313c9 Fix naming for the new previews 2023-03-22 12:26:01 +01:00
Maxime NATUREL
c371582e6a Delete manifest file 2023-03-22 12:26:00 +01:00
Maxime NATUREL
168cd09038 Fixing unit tests of DefaultSelectUsersPresenter 2023-03-22 12:26:00 +01:00
Maxime NATUREL
ffa53c22b2 Adding unit tests for AddPeoplePresenter 2023-03-22 12:26:00 +01:00
Maxime NATUREL
e947b0a55c Fixing CreateRoomRootPresenterTests 2023-03-22 12:26:00 +01:00
Maxime NATUREL
543eb0544f Fix name of the tests class 2023-03-22 12:26:00 +01:00
Maxime NATUREL
90276195a2 Scrolling to first item of the selected users list after adding a user 2023-03-22 12:26:00 +01:00
Maxime NATUREL
875b0f8f1f Present the last added user first 2023-03-22 12:25:59 +01:00
Maxime NATUREL
19e0116e2e Adding unit tests for selection of users 2023-03-22 12:25:59 +01:00
Maxime NATUREL
bc47691733 Adding checkbox in result when multi selection of users is enabled 2023-03-22 12:25:59 +01:00
Maxime NATUREL
bce97c6e49 Display the list of selected users when search is not active 2023-03-22 12:25:59 +01:00
Maxime NATUREL
181a8877d4 Hiding the top bar when search is active 2023-03-22 12:25:59 +01:00
Maxime NATUREL
e63cb7373d Using qualifier annotation for bindings of SelectUsersPresenter 2023-03-22 12:25:59 +01:00
Maxime NATUREL
70a8b7395b Using an immutable set for the selected users 2023-03-22 12:25:59 +01:00
Maxime NATUREL
25a1c2936d Adding callbacks on the SelectUsersView 2023-03-22 12:25:59 +01:00
Maxime NATUREL
79bd3da083 Adding multi/single selection variants 2023-03-22 12:25:58 +01:00
Maxime NATUREL
f950729d17 Use new selectusers module 2023-03-22 12:25:58 +01:00
Maxime NATUREL
68f8d72a98 Handle missing isSearchActive 2023-03-22 12:25:58 +01:00
Maxime NATUREL
cf3fca5543 Add missing test cases 2023-03-22 12:25:58 +01:00
Maxime NATUREL
b20ea74a10 Fixes after rebase 2023-03-22 12:25:58 +01:00
Maxime NATUREL
09af485560 Create a reusable selectusers feature module 2023-03-22 12:25:58 +01:00
Maxime NATUREL
4f00592023 Use getBestName() for a matrix user name 2023-03-22 12:25:58 +01:00
Maxime NATUREL
fa81690e0e Using custom size for avatar of selected user item 2023-03-22 12:25:58 +01:00
Maxime NATUREL
52f9d2b091 Renaming package to selectusers 2023-03-22 12:25:57 +01:00
Maxime NATUREL
c476a29edb Removing default value in ViewState + use ImmutableList type 2023-03-22 12:25:57 +01:00
Maxime NATUREL
17c65f324f Logic to store the currently selected users 2023-03-22 12:25:57 +01:00
Maxime NATUREL
341dfb478e Adding a view to list the selected users 2023-03-22 12:25:57 +01:00
Maxime NATUREL
a41b025f5b Adding action in the top bar 2023-03-22 12:25:57 +01:00
Maxime NATUREL
e2ba1442aa Adding selectmembers node with navigation 2023-03-22 12:25:57 +01:00
Florian Renaud
02f2ace1e4 Merge pull request #211 from vector-im/feature/fre/start_chat_search_matrixid
[Start chat] Show a single result when searching for a matrixId
2023-03-21 13:58:24 +01:00
Jorge Martin Espinosa
f94d2b6c60 Handle 'invalid server' error in server selection screen properly. (#214)
* Handle 'invalid server' error in server selection screen properly.

* Use `action_learn_more` for composing the server location footer action.
2023-03-21 09:34:14 +01:00
Jorge Martin Espinosa
d9183e4092 Display most recent activity in room list (#220)
* Create `RoomLastMessageFormatter` to produce readable room summaries.

* Add unit tests using Robolectric, fix bugs

* Add changelog

* Move `RoomLastMessageFormatter` back to `impl` module, allow it to receive an `EventTimelineItem` instead of `MessageContent`.
2023-03-20 11:18:25 +01:00
Benoit Marty
0ebe5e4faf Split long line. 2023-03-20 09:47:03 +01:00