Commit Graph

124 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
9064481b4c [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
Jorge Martin Espinosa
d7a6779343 [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
4154a96b54 Revert "Update Gradle and AGP to v8.0 (#283)" (#295)
This reverts commit 4e085efcf4.
2023-04-04 14:44:01 +00:00
Jorge Martin Espinosa
4e085efcf4 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
0fb061fb2e [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
c75ebfb1e7 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
c774f7529e [Strings] Use strings from localazy. 2023-03-27 14:44:24 +02: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
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
Benoit Marty
bdca60aa9c Create ButtonWithProgress composable 2023-03-17 17:22:38 +01:00
Benoit Marty
33c02f054e Merge branch 'develop' into feature/bma/networkModule 2023-03-17 13:39:01 +01:00
Jorge Martin Espinosa
9639d62bb3 Add Session Verification flow (#197) 2023-03-17 10:07:19 +01:00
Benoit Marty
ba84f39ea1 Add preview for CircularProgressIndicator 2023-03-16 16:34:36 +01:00
Jorge Martin Espinosa
ce981bc6a5 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
a1cc38f8e6 Move DockedSearchBar to common SearchBar 2023-03-14 15:59:20 +01:00
Florian Renaud
d04aae9475 Set avatar size value to dp 2023-03-14 15:23:29 +01:00
Florian Renaud
ab0edef9b4 Update avatar size on search results 2023-03-13 15:30:42 +01:00
Jorge Martin Espinosa
b149914c73 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
c662b221c9 Rework create room action buttons and remove custom TextIconButton 2023-03-08 15:46:48 +01:00
Florian Renaud
b81f91b563 Use material icons while design system is not ready 2023-03-08 15:46:48 +01:00
Florian Renaud
93567aed02 Fix rendering of wrong composable in preview 2023-03-08 15:46:48 +01:00
Maxime NATUREL
eb93b8783f TextIconButton component 2023-03-08 15:46:47 +01:00
Maxime NATUREL
7f45361381 Wrapper for TextButton 2023-03-08 15:46:47 +01:00
Maxime NATUREL
29888350d4 Moving back button into button package 2023-03-08 15:46:47 +01:00
Maxime NATUREL
aa2b4919da Add buttons to create and invite 2023-03-08 15:46:47 +01:00
Maxime NATUREL
db83f4bf6d Fix duplicated strings and use back button 2023-03-08 15:46:46 +01:00
Florian Renaud
ed46d42489 Update SearchBar by using the DockedSearchBar from material3 2023-03-08 15:46:46 +01:00
Maxime NATUREL
70acc9b2da Search bar 2023-03-08 15:46:46 +01:00
Maxime NATUREL
14a385e577 Top app bar for the start chat screen 2023-03-08 15:46:46 +01:00
Maxime NATUREL
21eca139ed Revert the color change in theme 2023-03-08 15:46:45 +01:00
Florian Renaud
00a19107ce Update create room screen 2023-03-08 15:46:45 +01:00
Florian Renaud
d11c18d6b6 Customize create room floating button 2023-03-08 15:46:45 +01:00
Jorge Martin Espinosa
ec66ed0a68 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
33b88b8026 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
bdc96da04f Improve preview for OutlinedTextField and TextField 2023-02-15 12:57:08 +01:00
Benoit Marty
ed3466d8c3 Fix compilation warning (even if this drawable will never be used at runtime) 2023-02-14 18:20:19 +01:00
Benoit Marty
6d9e79132b Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
8cb8c2f306 Move and rename VectorIcon 2023-02-14 17:03:02 +01:00
Benoit Marty
12fb178eb5 Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
3c3f473534 Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
e40735e0e0 Remove duplicated ShowkaseButton and fix colors. 2023-02-14 17:03:02 +01:00
Benoit Marty
35c7d4c132 Add Preview for timeline items. 2023-02-14 17:03:02 +01:00
Benoit Marty
41e63173b3 Make @Preview internal.
And exclude class generated by Showkase
2023-02-14 17:03:02 +01:00
Benoit Marty
aecc294df9 Add a way to Preview images. 2023-02-14 17:03:02 +01:00
Benoit Marty
ec687edc2d Extract Provider (and rename them) to their own file and move fixture(s) there. 2023-02-14 17:03:02 +01:00
Benoit Marty
f04f2dad9e Give the id to AvatarData to be able to compute initial properly. 2023-02-14 17:03:02 +01:00
Benoit Marty
7a3a4ca026 Add StringPreviewParameterProvider 2023-02-14 17:03:02 +01:00
Benoit Marty
e1b9d1da02 PreviewParameterProvider FTW 2023-02-14 17:03:02 +01:00
Benoit Marty
395d432220 Add some Preview 2023-02-14 17:03:02 +01:00