Commit graph

236 commits

Author SHA1 Message Date
ganfra
84fce4bcc7 Merge pull request #721 from vector-im/feature/fga/media_upload_progress
Feature/fga/media upload progress
2023-06-29 18:01:50 +02:00
ElementBot
ddb1ce3502 Update screenshots 2023-06-29 13:35:08 +00:00
ElementBot
ca58c997b5 Update screenshots 2023-06-29 11:04:08 +00:00
Chris Smith
f4e17cf12d Merge pull request #696 from vector-im/feature/cjs/leaving-dms
Show a prompt to reinvite other party in a DM
2023-06-29 10:42:35 +01:00
ganfra
6b06a1e1c9 Merge branch 'develop' into feature/fga/media_upload_progress 2023-06-29 11:36:37 +02:00
ElementBot
7dbfbf1aeb Update screenshots 2023-06-29 09:27:48 +00:00
Jorge Martin Espinosa
91060c76a7 Update compound theme colors (#718)
* Update `*surfaceVariant` colors in `MaterialTheme`.

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-29 09:19:31 +02:00
Jorge Martin Espinosa
679ee301dd Create a dummy value by default for LocalSnackbarDispatcher. (#715)
This should solve the issue with needing to provide a `LocalSnackbarDispatcher` for previews and screenshot tests.
2023-06-28 18:59:08 +02:00
Chris Smith
53861fedb6 Show a prompt to reinvite other party in a DM
If you are looking at a DM where the other party has left then
when you focus the composer for the first time we'll show a
dialog asking if you want to reinvite the other party.

Closes #590
2023-06-28 17:20:51 +01:00
ElementBot
5cfb2080bd Update screenshots 2023-06-27 20:12:56 +00:00
Jorge Martin Espinosa
a16335b4b7 [Compound] Integrate compound tokens (#586)
* Added tokens.

* Apply color to MaterialTheme, also add typography.

* Map colors to the right ones in the themes.

* Create and improve previews of some components

* More preview improvements

* Add `tertiary` and `onTertiary` colors, remove some unused ones.

* Fix usage of deleted color token

* Fix bug in Switch previews

* Create a separate `:libraries:theme` module to keep everything related to colors, typography and Compound in general.

* Fix `DatePickerPreview`

* Add missing Compound generated files by fixing their package name

* Move `ElementTheme` to the `:libraries:theme` module, make some variables internal.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-27 16:15:40 +00:00
ElementBot
698d5174ff Update screenshots 2023-06-27 13:54:18 +00:00
Marco Romano
882f75864c Set up SDK & reusable map view component (#476)
Adds `libraries/map` which contains some initial building blocks that will be used by the location sharing feature.

Ref: https://github.com/vector-im/element-meta/issues/1684
2023-06-27 07:23:00 +00:00
ElementBot
e579bf3221 Update screenshots 2023-06-26 11:07:22 +02:00
Chris Smith
ffd73dbae3 Merge remote-tracking branch 'origin/develop' into misc/cjs/invite-string-change 2023-06-23 14:10:17 +01:00
Jorge Martin Espinosa
9251cbf536 [Message Actions] Report messages (#642)
* Add report messages feature

* Try to improve how snackbars are delivered

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-23 10:44:47 +02:00
Jorge Martin Espinosa
42827206b3 [Message Actions] Forward messages (#635)
* Add forwarding messages base

* Make forwarding single-selection

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-22 13:27:59 +02:00
ElementBot
da2ab0ae1f Update screenshots 2023-06-22 07:21:19 +00:00
Benoit Marty
9df0030967 Merge pull request #631 from vector-im/feature/bma/sendPermission
Take into acount send permission (power level)
2023-06-21 11:35:33 +02:00
Jorge Martin Espinosa
3e9475c8ab Set max lines to 2 in replies for composer (#645)
* Set `maxLines = 2` for the composer message preview in replies

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-20 17:07:53 +02:00
ganfra
c7b2ac5acd Merge pull request #617 from vector-im/feature/fga/fix_media_pre_processing
Feature/fga/fix media pre processing
2023-06-20 16:17:50 +02:00
ElementBot
236bfa8110 Update screenshots 2023-06-20 08:56:35 +00:00
Johannes Marbach
679ec376f2 Remove send message section until it's actually implemented (#632)
Fixes: #616
2023-06-19 17:24:34 +02:00
Benoit Marty
1316db18e4 Merge pull request #625 from vector-im/feature/bma/codeCov
Add missing screenshots for test.
2023-06-19 14:51:50 +02:00
github-actions[bot]
fe5524bae4 Sync Strings (#630)
* Sync Strings from Localazy

* Update strings, remove broken German translation

* Update screenshots

---------

Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-19 11:18:01 +00:00
ElementBot
de9698b874 Update screenshots 2023-06-19 10:00:45 +00:00
ElementBot
21e2ea0e5f Update screenshots 2023-06-16 15:19:29 +00:00
Benoit Marty
2222ac7302 Add missing module, so that they can contribute to the screenshot test and the test coverage. 2023-06-16 17:13:00 +02:00
ElementBot
016d80d4c0 Update screenshots 2023-06-16 08:56:52 +00:00
Benoit Marty
97923af7d8 Merge pull request #591 from vector-im/feature/bma/noDelayInTests
No delay in tests
2023-06-15 15:27:41 +02:00
Jorge Martin Espinosa
31555c4bd0 [Message Actions] Retry sending failed messages (#596)
* Add `RetrySendMessageMenu` to retry sending failed messages or removing its local echo.

* Fix initial event being retrieved, not the updated one

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-15 11:27:37 +02:00
Benoit Marty
9b4b9e9140 Introduce simulateLongTask to ensure that the Presenter State Loading is visible.
Also do some cleanup on the tests.
2023-06-15 10:57:05 +02:00
ElementBot
b15db8c698 Update screenshots 2023-06-14 07:38:55 +00:00
Benoit Marty
0c64921f10 Merge pull request #549 from vector-im/feature/bma/onboardingServer
Onboarding iteration
2023-06-13 09:21:50 +02:00
Benoit Marty
9e73e70a22 Enforce usage of TestScope.testScheduler 2023-06-12 19:49:56 +02:00
Chris Smith
555545cebb Update screenshots 2023-06-12 15:25:02 +01:00
Jorge Martin Espinosa
1831ec7ab4 Fix timeline item padding and corners (#573)
* Try to fix timeline offsets and rounded corners.
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-12 10:42:35 +02:00
ElementBot
cc3d64dde7 Update screenshots 2023-06-09 16:55:57 +00:00
Jorge Martin Espinosa
9fa261e393 [Message Actions] Add emoji reactions option (#568)
* Add logic to send message reactions

* Add emoji library, create EmojiPicker component

* Fix bottom sheet behaviors

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-09 16:56:40 +02:00
ElementBot
45518f0592 Update screenshots 2023-06-09 09:01:02 +00:00
Jorge Martin Espinosa
688ab3bd5e [Message Actions] Display debug info for events in the timeline (#555)
* Display debug info for events in the timeline on debug builds.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-09 06:13:22 +00:00
ElementBot
ae3da430fb Update screenshots 2023-06-08 21:05:14 +00:00
ElementBot
d365f902e3 Update screenshots 2023-06-08 17:37:45 +02:00
ElementBot
53fc5cc88e Update screenshots 2023-06-08 14:43:37 +00:00
Jorge Martin Espinosa
c176eab4a3 [Message actions] New UI for replies (#545)
* Add 'reply to' UI to the message composer.

* Move the `BlurHashAsyncImage` to `:libraries:designsystem` as it is now used in several modules.

*  Create reusable `AttachmentThumbnail` and associated data classes and enums, it's now added to `:libraries:matrixui`.

* Re-use `AttachmentThumbnail` in a `ActionListView` and `TextComposer`.

* Add 'inReplyTo' models and UI.

* Add min size for images

* Create a separate layout for media items with no reply to info. Also, separate `Timeline__Row` components from `TimelineView`, as it was getting too large.

* Added `EqualWidthColumn` to use inside message bubbles. Also fixed some modifiers for media items replying to other messages.

* Disable `inReplyToClicked`.

* Remove unused resources and libraries.

* Remove any traces of `BlurHashAsyncImage` in `:features:messages`, since it was moved to the design system.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-08 12:15:13 +02:00
ElementBot
6056b6b1e3 Update screenshots 2023-06-07 17:27:32 +02:00
ganfra
76e35582da Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-07 16:31:28 +02:00
ElementBot
2f4ce0a834 Update screenshots 2023-06-07 14:10:32 +00:00
Jorge Martin Espinosa
e376c1be82 [Message actions] New UI for message composer and editing (#526)
* Add UI for edit composer mode

* Remove leftover code from the RTE implementation

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-07 13:06:19 +02:00
Chris Smith
67fcfedb6e Merge pull request #529 from vector-im/misc/cjs/create-join-design-feedback-ii
More create and join room design tweaks
2023-06-07 09:19:16 +01:00