Commit graph

62486 commits

Author SHA1 Message Date
Florian Duros
a7e907e0e6
Add thread information in pinned message list (#12902) 2024-08-21 09:02:35 +00:00
Florian Duros
3d80eff65b
Add Pin/Unpin action in quick access of the message action bar (#12897)
* Add Pin/Unpin action in quick access of the message action bar

* Add tests for `MessageActionBar`

* Add tests for `PinningUtils`

* Fix `MessageContextMenu-test`

* Add e2e test to pin/unpin from message action bar
2024-08-21 08:50:00 +00:00
ElementRobot
4064db1d02
[create-pull-request] automated change (#12907)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-21 06:21:54 +00:00
David Baker
c01ad91a94 Rename prettier config file to .cjs
For the same reason as https://github.com/matrix-org/matrix-js-sdk/pull/4353
2024-08-20 15:47:47 +01:00
David Baker
933a9c1ae3
Rename prettier config file to .cjs (#12903)
For the same reason as https://github.com/matrix-org/matrix-js-sdk/pull/4353
2024-08-20 14:22:11 +00:00
RiotRobot
82d8d734b1 Upgrade dependency to matrix-js-sdk@34.4.0-rc.0 2024-08-20 13:47:41 +00:00
RiotRobot
2a11fd5beb Upgrade dependency to matrix-js-sdk@34.4.0-rc.0 2024-08-20 13:47:34 +00:00
RiotRobot
2bca0fd08c Reset matrix-js-sdk back to develop branch 2024-08-20 11:44:37 +00:00
RiotRobot
ebe41efec2 Reset matrix-react-sdk back to develop branch 2024-08-20 11:44:26 +00:00
RiotRobot
d2a3de8b5a Merge branch 'master' into develop 2024-08-20 11:44:15 +00:00
RiotRobot
0a858e7a79 v1.11.75 2024-08-20 11:41:27 +00:00
RiotRobot
c73301deb1 Upgrade dependency to matrix-react-sdk@3.107.0 2024-08-20 11:39:27 +00:00
RiotRobot
4961e23253 Reset matrix-js-sdk back to develop branch 2024-08-20 11:37:35 +00:00
RiotRobot
f0e90ad15a Merge branch 'master' into develop 2024-08-20 11:37:28 +00:00
RiotRobot
20df553def v3.107.0 2024-08-20 11:36:27 +00:00
RiotRobot
a24dab6859 Upgrade dependency to matrix-js-sdk@34.3.1 2024-08-20 11:31:22 +00:00
RiotRobot
64d6174412 Upgrade dependency to matrix-js-sdk@34.3.1 2024-08-20 11:31:14 +00:00
ElementRobot
fe8c0739f8
[create-pull-request] automated change (#12901)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-20 06:21:56 +00:00
ElementRobot
c37cb9f0b1
[create-pull-request] automated change (#12899)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-08-19 06:16:04 +00:00
Michael Telatynski
9f5b39b9d9
Ensure elements on Login page are disabled when in-flight (#12895)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-08-17 09:37:35 +00:00
ElementRobot
3f386a6cac
[create-pull-request] automated change (#12898)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-17 06:20:09 +00:00
Florian Duros
6f3dc30693
Message Pinning: rework the message pinning list in the right panel (#12825)
* Fix pinning event loading after restart

* Update deps

* Replace pinned event list

* Add a dialog to confirm to unpin all messages

* Use `EmptyState` when there is no pinned messages

* Rework `PinnedEventTile` tests

* Add comments and refactor `PinnedMessageCard`

* Rework `PinnedMessageCard` tests

* Add tests for `UnpinAllDialog`

* Add e2e tests for pinned messages

* Replace 3px custom gap by 4px gap

* Use string interpolation for `Pin` action.

* Update playright sceenshot for empty state
2024-08-16 12:16:06 +00:00
David Baker
1e9112aee8 Fix sample config value 2024-08-16 09:41:21 +01:00
Michael Telatynski
88cf643cbd
Tweak UIA postMessage check to work cross-origin (#12878)
* Soften UIA fallback postMessage check to work cross-origin

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Do the same for the SSO UIA flow

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Check against MessageEvent::source instead

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-08-16 08:12:18 +00:00
ElementRobot
7a91e3efcf
[create-pull-request] automated change (#12894)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-08-16 06:16:05 +00:00
David Baker
0935e48b1c Prettier 2024-08-15 14:59:09 +01:00
David Baker
f05b2691b8 Add docs for widget container height option
See https://github.com/matrix-org/matrix-react-sdk/pull/12893
2024-08-15 14:18:35 +01:00
ElementRobot
63615671a4
[create-pull-request] automated change (#12891)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-15 06:22:46 +00:00
Florian Duros
d9846dc62d
Hide pinned messages when grouped in timeline when feature pinning is disabled (#12888) 2024-08-14 15:30:42 +00:00
David Baker
4751c52d82
Refactor the various email/phone management UI into a single component (#12884)
* Refactor the various email/phone management UI into a single component

These were basically the same component copied & pasted 3 times and
tweaked to match the behaviour of each case. This de-dupes them into
one component.

This all could really benefit from playwright tests, but would require
setting up a dummy ID server in the playwright tests. This is all legacy
pre-MAS stuff so its questionable whether its worth the effort.

* Basic test, remove old tests

* Use different text to confirm remove & put headers back

although the two texts are both 'Remove' in practice

* Remove string

This was never triggered anyway with sydent & synapse because they
don't seem to agree on what error to return. In any case, I think it
makes more sense for it to be consistent with the email path, ie. using
a dialog.

* Avoid nested forms

* Snapshots

* More snapshots

* Test the hs side

* Snapshots

* Test IS bind/revoke

* Test remove can be cancelled

* Test unvalidated cases & fix phone error

* Reset state between tests

* Import useState directly

* One more direct React import
2024-08-14 13:13:57 +00:00
ElementRobot
de898d1b62
[create-pull-request] automated change (#12887)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-14 06:22:24 +00:00
ElementRobot
62e164173c
[create-pull-request] automated change (#12886)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-08-14 06:15:55 +00:00
RiotRobot
43fa2e533f Reset matrix-js-sdk back to develop branch 2024-08-13 12:25:53 +00:00
RiotRobot
7bd04185b5 Reset matrix-react-sdk back to develop branch 2024-08-13 12:25:43 +00:00
RiotRobot
62fe7e5024 Merge branch 'master' into develop 2024-08-13 12:25:32 +00:00
RiotRobot
63197f8a25 v1.11.74 2024-08-13 12:22:39 +00:00
RiotRobot
dc9e929758 Upgrade dependency to matrix-react-sdk@3.106.0 2024-08-13 12:14:53 +00:00
RiotRobot
ad8da83079 Reset matrix-js-sdk back to develop branch 2024-08-13 12:13:12 +00:00
RiotRobot
349c4a11e6 Resetting package fields for development 2024-08-13 12:13:05 +00:00
RiotRobot
95b2f3ed60 Merge branch 'master' into develop 2024-08-13 12:13:04 +00:00
RiotRobot
6df8423826 v3.106.0 2024-08-13 12:11:59 +00:00
RiotRobot
b3daf21561 Upgrade dependency to matrix-js-sdk@34.3.0 2024-08-13 12:07:31 +00:00
RiotRobot
269a9dfd22 Upgrade dependency to matrix-js-sdk@34.3.0 2024-08-13 12:07:21 +00:00
ElementRobot
bdc4ca0cf2
[create-pull-request] automated change (#12885)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-13 06:21:59 +00:00
Michael Telatynski
eacb22eac7
Add chat button on new room header for maximised widgets (#12882)
* Add chat button to new room header for video room & maximised widgets

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Delint

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update snapshot

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshot

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-08-12 13:44:15 +00:00
Michael Telatynski
0e37c09042
Show spinner whilst initial search request is in progress (#12883)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-08-12 13:44:07 +00:00
ElementRobot
239330b5e2
[create-pull-request] automated change (#12881)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-10 06:20:25 +00:00
Florian Duros
5e98cbf409
Fix user menu font (#12879) 2024-08-09 14:15:17 +00:00
Florian Duros
8848df1aa2
Merge pull request #27910 from element-hq/florianduros/update-design-tokens
Update @vector-im/compound-design-tokens
2024-08-09 13:36:53 +00:00
Florian Duros
284cd4082b
Update @vector-im/compound-design-tokens (#12876)
* Update `@vector-im/compound-design-tokens`

* Update jest snapshots

* Update playwright snapshots

* Use `--cpd-font-body-lg-semibold` for toast

* Use `--cpd-font-body-lg-semibold` for other elements

* Remaining heading fix
2024-08-09 12:32:37 +00:00