Commit graph

809 commits

Author SHA1 Message Date
Benoit Marty
56257bd1d3 Stop using deprecated TestParameter.TestParameterValuesProvider 2024-04-26 12:45:26 +02:00
ElementBot
5f4f7b9435 Update screenshots 2024-04-25 14:03:20 +00:00
Jorge Martin Espinosa
7397df806b
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
0e00700644 Update screenshots 2024-04-25 10:49:05 +00:00
Benoit Marty
ce7bb11724 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
ab2c82498d Update screenshots 2024-04-24 11:17:23 +02:00
ElementBot
ec730c6368 Update screenshots 2024-04-22 16:54:15 +00:00
ElementBot
e4c4832387 Update screenshots 2024-04-19 16:23:43 +00:00
Benoit Marty
8b8c530738 Split long line 2024-04-19 15:01:30 +02:00
ElementBot
1490e40596 Update screenshots 2024-04-19 12:42:40 +00:00
Benoit Marty
ff254554c6 Add Konsist test to check preview function names. 2024-04-19 14:30:45 +02:00
Benoit Marty
94930bae80 Add Konsist check to ensure that 'org.jetbrains.annotations.VisibleForTesting' is not used. 2024-04-19 14:30:44 +02:00
ElementBot
8cd64d5a6f Update screenshots 2024-04-18 15:57:22 +00:00
Benoit Marty
4fe7b601af Add Konsist check to ensure that '@PreviewLightDark' is not used. 2024-04-18 14:08:18 +02:00
ElementBot
b7f5c282b0 Update screenshots 2024-04-18 08:11:24 +00:00
Benoit Marty
cd63ae816a Fix Preview name 2024-04-18 09:07:01 +02:00
ElementBot
29fccd3d9e Update screenshots 2024-04-17 23:47:04 +00:00
ganfra
0cda5b9e90
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
253d8aaa51 Update screenshots 2024-04-16 14:03:35 +00:00
Benoit Marty
1286ea7e77
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
9b73dcd868 Update screenshots 2024-04-12 15:10:13 +00:00
ElementBot
2d6499fb97 Update screenshots 2024-04-12 14:57:03 +00:00
Jorge Martin Espinosa
6db513c125
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
cf072fa1e1
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
1045f99d18
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
63f7defb07
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
15f3f0ecfc Update screenshots 2024-04-08 12:03:05 +00:00
Jorge Martin Espinosa
b6ceb8c697
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
8e2f7a35cb
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]
192a1d2107
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
e6bd14a1a9 Sync Strings from Localazy 2024-04-08 00:20:53 +00:00
Benoit Marty
103743c338
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
3a6959585b Update screenshots 2024-04-05 08:37:52 +00:00
ElementBot
20ebb5ed04 Update screenshots 2024-04-04 13:42:04 +00:00
Benoit Marty
4a2703810b
Merge pull request #2653 from element-hq/feature/bma/copyPermalink
Copy permalink
2024-04-03 17:38:38 +02:00
Jorge Martin Espinosa
41287c5f59
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
ed9384bf59 Update screenshots 2024-04-03 13:47:24 +00:00
ElementBot
2aa53f02c5 Update screenshots 2024-04-02 16:50:13 +00:00
ElementBot
30d77e5123 Update screenshots 2024-04-02 16:25:27 +00:00
ElementBot
d94f4b0392 Update screenshots 2024-03-28 17:25:55 +00:00
ElementBot
2103306387 Update screenshots 2024-03-28 16:15:11 +00:00
ganfra
3f1f764745 Room directory : add tests and cleanup 2024-03-28 17:03:34 +01:00
ganfra
19523339af Tests : improve lambda recorder 2024-03-28 14:59:22 +01:00
ganfra
44125567f6 Tests : create lambda recorder 2024-03-28 10:34:12 +01:00
ElementBot
ea73c517c4 Update screenshots 2024-03-26 17:34:45 +00:00
Jorge Martin Espinosa
f4e5934d1b
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
998eb7d093
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
6aa84d600e
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
5cc5a0b699
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
0a08b81863 Update screenshots 2024-03-18 14:56:38 +00:00