Commit Graph

809 Commits

Author SHA1 Message Date
Benoit Marty
a3b327d033 Stop using deprecated TestParameter.TestParameterValuesProvider 2024-04-26 12:45:26 +02:00
ElementBot
e177d7d734 Update screenshots 2024-04-25 14:03:20 +00:00
Jorge Martin Espinosa
fe9b3f7cdb Always display 'lost recovery key?' option (#2745)
* Always display 'lost recovery key?' option

* Use `isLastDevice` it to display only 'enter recovery key' option for verification.

* Update strings. This should fix the wrong term 'passcode' being used in the recovery key screen title.

* Disable 'lost your recovery key?' button while the screen is in a loading state

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-25 15:28:24 +02:00
ElementBot
d70acbc499 Update screenshots 2024-04-25 10:49:05 +00:00
Benoit Marty
f1a31e3b3c Ensure roomId are not rendered in the UI.
Add preview to see the effect.
Use RoomAvatar data fallback everywhere, to not use roomId (`!` char) for the avatar initial, but rather `#`.
2024-04-25 11:52:40 +02:00
ElementBot
8cfa40f21a Update screenshots 2024-04-24 11:17:23 +02:00
ElementBot
205979b3f7 Update screenshots 2024-04-22 16:54:15 +00:00
ElementBot
c4b6a6aa4d Update screenshots 2024-04-19 16:23:43 +00:00
Benoit Marty
cc48ea98e4 Split long line 2024-04-19 15:01:30 +02:00
ElementBot
838971b748 Update screenshots 2024-04-19 12:42:40 +00:00
Benoit Marty
7f38e14066 Add Konsist test to check preview function names. 2024-04-19 14:30:45 +02:00
Benoit Marty
35e0b479f1 Add Konsist check to ensure that 'org.jetbrains.annotations.VisibleForTesting' is not used. 2024-04-19 14:30:44 +02:00
ElementBot
ffd6609df8 Update screenshots 2024-04-18 15:57:22 +00:00
Benoit Marty
3526df77d1 Add Konsist check to ensure that '@PreviewLightDark' is not used. 2024-04-18 14:08:18 +02:00
ElementBot
f42479d6e2 Update screenshots 2024-04-18 08:11:24 +00:00
Benoit Marty
fc5606a580 Fix Preview name 2024-04-18 09:07:01 +02:00
ElementBot
efe39a1924 Update screenshots 2024-04-17 23:47:04 +00:00
ganfra
bbb92bcc87 Merge pull request #2714 from element-hq/feature/fga/room_list_invites
[Feature] Room list invites
2024-04-17 23:04:31 +02:00
ElementBot
619b7317e1 Update screenshots 2024-04-16 14:03:35 +00:00
Benoit Marty
70690266de Merge pull request #2696 from element-hq/misc/add-super-button-component
Compound: add SuperButton and GradientFAB components
2024-04-16 00:06:03 +02:00
ElementBot
81f32b36b8 Update screenshots 2024-04-12 15:10:13 +00:00
ElementBot
a498365504 Update screenshots 2024-04-12 14:57:03 +00:00
Jorge Martin Espinosa
5dafd95eed Improve designs of FTUE analytics opt-in screen (#2684)
* Improve designs of FTUE analytics opt-in screen

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-10 10:28:05 +02:00
Jorge Martin Espinosa
3436351619 Improve session recovery screens (#2657)
* Improve enter recovery key screen UI

* Add instructions to reset the encryption of the logged in account.

* Update screenshots

* Fix maestro flow

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 17:01:06 +00:00
Jorge Martin Espinosa
c8b5458878 Add SessionData.needsVerification field (#2672)
* Add `SessionData.needsVerification`:
  - Allows us to add a skip button for debug builds.
  - We can have the verification state almost instantly.
  - It doesn't depend on network availability to know the verification state and display the UI.
* Add DB migration.
- Make the skip button in the verification flow skip the whole flow including the completed screen.
- Save the session as verified in `RustEncryptionService.recover(recoveryKey)`.
* Enforce session verification for existing users too.
* Fix verification confirmed screen subtitle (typo in id, was using the wrong string)
* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 17:28:12 +02:00
Jorge Martin Espinosa
8757d1b5ad Display members section when there are members in the room, not admins (#2679)
* Display members section when there are members in the room, not admins

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 13:08:40 +00:00
ElementBot
ba6c3e64f4 Update screenshots 2024-04-08 12:03:05 +00:00
Jorge Martin Espinosa
5a08a4b5a3 Improve UI for notification permission screen in onboarding (#2660)
* Improve UI for notification permission screen in onboarding

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-08 10:58:37 +02:00
Jorge Martin Espinosa
4057b4b9cd Categorise members by role in the ChangeRoles screen (#2595)
* Categorise members by role in the ChangeRoles screen

* Fix automatic reload of member list when either the membership or power levels change

* Replace empty space with disabled checkbox

* Add 'pending' label to members who are in invited state

* Implement new designs

* Fix string issue in confirm recovery key screen

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-08 08:54:38 +00:00
renovate[bot]
e01af9033b Update dependency io.element.android:compound-android to v0.0.6 (#2670)
* Update dependency io.element.android:compound-android to v0.0.6

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-08 10:28:42 +02:00
bmarty
70a85b5c2b Sync Strings from Localazy 2024-04-08 00:20:53 +00:00
Benoit Marty
0b0174ddd8 Merge pull request #2663 from element-hq/feature/bma/testChangeRolesView
Fix a bunch of small issues around moderation and test change roles view
2024-04-05 13:37:58 +02:00
ElementBot
1bc1ad71a0 Update screenshots 2024-04-05 08:37:52 +00:00
ElementBot
5e215425b1 Update screenshots 2024-04-04 13:42:04 +00:00
Benoit Marty
68ababa0be Merge pull request #2653 from element-hq/feature/bma/copyPermalink
Copy permalink
2024-04-03 17:38:38 +02:00
Jorge Martin Espinosa
8b335a9125 Move session verification to FTUE flow, make it mandatory (#2594)
* Move session verification to the FTUE
* Allow session verification flow to be restarted
* Use `EncryptionService` to display session verification faster
* Remove session verification item from settings
* Remove session verification banner from room list
* Remove 'verification needed' variant from the `TimelineEncryptedHistoryBanner`
* Improve verification flow UI and UX
* Remove 'verification successful' snackbar message
* Only register push provider after the session has been verified
* Hide room list while the session hasn't been verified
* Prevent deep links from changing the navigation if the session isn't verified
* Update screenshots
* Renamed `FtueState` to `FtueService`, created an actual `FtueState`.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-03 14:53:17 +00:00
ElementBot
f472136cd2 Update screenshots 2024-04-03 13:47:24 +00:00
ElementBot
2c30de4777 Update screenshots 2024-04-02 16:50:13 +00:00
ElementBot
c373ddc4ad Update screenshots 2024-04-02 16:25:27 +00:00
ElementBot
856a897018 Update screenshots 2024-03-28 17:25:55 +00:00
ElementBot
6c44d34027 Update screenshots 2024-03-28 16:15:11 +00:00
ganfra
35b12f265f Room directory : add tests and cleanup 2024-03-28 17:03:34 +01:00
ganfra
13aa578e11 Tests : improve lambda recorder 2024-03-28 14:59:22 +01:00
ganfra
00613da64c Tests : create lambda recorder 2024-03-28 10:34:12 +01:00
ElementBot
3de9e08460 Update screenshots 2024-03-26 17:34:45 +00:00
Jorge Martin Espinosa
fb5ab95401 Fix Poll history 'Load more' button alignment (#2577)
* Fix Poll history 'Load more' button alignment

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-21 11:51:43 +00:00
Jorge Martin Espinosa
ca578f79e8 Compound: add BigIcon, BigCheckmark and PageTitle components (#2574)
* Compound: add `BigIcon`, `BigCheckmark` and `PageTitle` components

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-21 11:10:11 +01:00
Jorge Martin Espinosa
1e0891bb68 Implement MSC2530 (#2570)
* Implement MSC2530
* Some layout improvements for images and videos with captions
* Update screenshots
* Replace `it` in several previews with `isMine`

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-20 13:58:29 +01:00
Jorge Martin Espinosa
eabdb9ae4d Add isInDebug variable to simulate debug/release configs for tests (#2566)
* `isInDebug` as `ThreadLocal<Boolean>`

* Use a simple var for `isInDebug` and add a helper method to test release mode, when running the debug test.

* Add some more docs

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-03-18 17:56:07 +01:00
ElementBot
aa699c6a0b Update screenshots 2024-03-18 14:56:38 +00:00