Commit graph

135 commits

Author SHA1 Message Date
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
d391275420 [Room List] Show offline indicator when the device is offline (#239)
* Implement the network status indicator.

* Add `networkmonitor` feature.
2023-04-17 17:01:16 +02:00
Jorge Martin Espinosa
de010545fb Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Florian Renaud
97a40b35df Update screenshots 2023-04-13 16:19:55 +02:00
Florian Renaud
9c1c9f33d1 Room visibility 2023-04-13 15:44:45 +02:00
Florian Renaud
1c6e088d5c Navigate from people view to configuration view 2023-04-13 15:44:44 +02:00
Hans Christian Schmitz
f74c5711f4 Add support for autofilling login text fields (#293)
* Add support for autofilling login text fields

Support autofilling login text fields via Android Autofill with the
experimental AndroidX Compose API for it.

Based on https://bryanherbst.com/2021/04/13/compose-autofill/ (with permission).

Signed-off-by: Hans Christian Schmitz <git@hcsch.eu>

* Move autofill implementation to designsystem library

Signed-off-by: Hans Christian Schmitz <git@hcsch.eu>

---------

Signed-off-by: Hans Christian Schmitz <git@hcsch.eu>
2023-04-10 08:21:57 +02:00
Florian Renaud
8132dc15e7 Merge remote-tracking branch 'origin/develop' into feature/fre/start_chat_with_matrix_id 2023-04-05 17:43:52 +02:00
Jorge Martin Espinosa
3aea24380a [Room Details] Leave room (#296)
* Add leave room functionality to the Room Details screen

* Add snackbar message throught `SnackbarDistpacher`
2023-04-05 15:36:41 +02:00
Florian Renaud
0dffd78872 Use RetryDialog 2023-04-05 12:02:10 +02:00
Florian Renaud
eef1eea2a8 Merge remote-tracking branch 'origin/develop' into
feature/fre/start_chat_with_matrix_id
2023-04-05 10:16:33 +02:00
Jorge Martin Espinosa
11f041d940 [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
610e4aa8b6 Revert "Update Gradle and AGP to v8.0 (#283)" (#295)
This reverts commit cda0606a0d.
2023-04-04 14:44:01 +00:00
Florian Renaud
36afd71c29 Handle errors on create DM 2023-04-04 15:44:38 +02:00
Jorge Martin Espinosa
cda0606a0d Update Gradle and AGP to v8.0 (#283)
* Update dependency gradle to v8

* Handle upgrading Gradle to v8.0.2

* Update AGP to 8.0.0-RC01

* Try to set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 18:02:34 +02:00
Jorge Martin Espinosa
ecc73dd325 [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
Jorge Martin Espinosa
4a121fbd0f Improve ButtonWithProgress component, replace login and change server buttons (#235)
* Improve `ButtonWithProgress` component.

* Replace `CircularProgresIndicator` with `ButtonWithProgress` in login and server selection screens.
2023-03-28 22:56:59 +02:00
Benoit Marty
998178b70f [Strings] Use strings from localazy. 2023-03-27 14:44:24 +02:00
Jorge Martin Espinosa
7d0d076657 [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
Florian Renaud
62a65f7507 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
2906168baa 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
Benoit Marty
c7aac2788e Create ButtonWithProgress composable 2023-03-17 17:22:38 +01:00
Benoit Marty
1f0149daeb Merge branch 'develop' into feature/bma/networkModule 2023-03-17 13:39:01 +01:00
Jorge Martin Espinosa
dcb98f06aa Add Session Verification flow (#197) 2023-03-17 10:07:19 +01:00
Benoit Marty
52b62a2018 Add preview for CircularProgressIndicator 2023-03-16 16:34:36 +01:00
Jorge Martin Espinosa
cd09c15df4 Fix behaviour of Enter and Tab hardware keys in TextFields (#216)
* Fix behaviour of Enter and Tab hardware keys in TextFields

* Add changelog
2023-03-15 13:57:51 +01:00
Florian Renaud
74fdb34269 Move DockedSearchBar to common SearchBar 2023-03-14 15:59:20 +01:00
Florian Renaud
5a20c14524 Set avatar size value to dp 2023-03-14 15:23:29 +01:00
Florian Renaud
e8404ad62a Update avatar size on search results 2023-03-13 15:30:42 +01:00
Jorge Martin Espinosa
ff5694239c Address design comments on the change server screen (#196)
* Address design comments on the change server screen

* Update screenshots

* Address review comments.
2023-03-09 13:51:44 +00:00
Florian Renaud
3fc55a8d95 Rework create room action buttons and remove custom TextIconButton 2023-03-08 15:46:48 +01:00
Florian Renaud
5d521b5b9f Use material icons while design system is not ready 2023-03-08 15:46:48 +01:00
Florian Renaud
604d9447e4 Fix rendering of wrong composable in preview 2023-03-08 15:46:48 +01:00
Maxime NATUREL
e198e93090 TextIconButton component 2023-03-08 15:46:47 +01:00
Maxime NATUREL
8bd40867b4 Wrapper for TextButton 2023-03-08 15:46:47 +01:00
Maxime NATUREL
e5349040b2 Moving back button into button package 2023-03-08 15:46:47 +01:00
Maxime NATUREL
e6c7afd614 Add buttons to create and invite 2023-03-08 15:46:47 +01:00
Maxime NATUREL
3efb141afc Fix duplicated strings and use back button 2023-03-08 15:46:46 +01:00
Florian Renaud
1f85df8a1a Update SearchBar by using the DockedSearchBar from material3 2023-03-08 15:46:46 +01:00
Maxime NATUREL
4342c4ec07 Search bar 2023-03-08 15:46:46 +01:00
Maxime NATUREL
fd43b6b336 Top app bar for the start chat screen 2023-03-08 15:46:46 +01:00
Maxime NATUREL
0470abaded Revert the color change in theme 2023-03-08 15:46:45 +01:00
Florian Renaud
cec6d3ef88 Update create room screen 2023-03-08 15:46:45 +01:00
Florian Renaud
61a4776907 Customize create room floating button 2023-03-08 15:46:45 +01:00
Jorge Martin Espinosa
d36ca2907c Use user friendly error messages in login following iOS logic (#174)
* Use user friendly error messages in login following iOS logic, fix dialog colors.

* Use `AlertDialogDefaults` for the default properties of dialogs

* Improve Maestro tests with wrong password dialog

* Add tests for error messages
2023-03-07 17:55:48 +01:00
Jorge Martin Espinosa
c87c0ea28c Refine sign in flow to match designs and iOS flow (#100)
* Fix dark theme

* First attempt at replicating iOS' UI & flows.

* Try to fix Maestro tests

* Add error dialogs and tests

* Remove unused modifiers

* Try to fix detekt issues

* Tidy up maestro login flow a bit

* Add `CompoundColorPalette` with some needed colors

* Fixes to designs

* Fix detekt issues

* More design fixes

* Some other minor design fixes

* Add changelog

* Minor tweaks.

* Remove legacy dark material theme as it's no longer needed.

* Move sliding sync 'learn more' url to constants object

* Remove unused focusManager

* Change how the displayed homeserver works

* Keep user input as homeserver if it's valid

* Remove `CompoundColorPalette`, try to fix issue when toggling dark mode.

* Add `@Stable` to the theme, adjust how it toggles in dark mode

* Remove unused strings

* Update screenshots

* Re-organize components in LoginRootScreen

* Bump min coverage to 55, max to 60

* Always replace the snapshots contents when running `recordPaparazzi`

* Fix dark theme preview of components using content colors

* Add `BackButton` component

* Handle errors with dialogs in a generic way

* Align our Dialog components with the designs, use them were needed

* Use a `MatrixHomeserverDetails` data class instead of just an URL.

* `AuthenticationService.getHomeserverDetails()` now returns a `StateFlow`.

Also, try to fix coverage issues in tests.
2023-03-06 09:30:16 +01:00
Benoit Marty
6a534e7536 Improve preview for OutlinedTextField and TextField 2023-02-15 12:57:08 +01:00
Benoit Marty
80557924bd Fix compilation warning (even if this drawable will never be used at runtime) 2023-02-14 18:20:19 +01:00
Benoit Marty
f466ee3639 Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
9234f47ce3 Move and rename VectorIcon 2023-02-14 17:03:02 +01:00