1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00
Commit Graph

39621 Commits

Author SHA1 Message Date
ec6bb88068 Fix reply chain fallback for first event in a thread (#7580) 2022-01-19 13:37:19 +00:00
8427bf46ef Fix broken thread list timestamp display (#7549) 2022-01-19 10:41:39 +00:00
336217f668 Add view in room to action bar in thread list (#7519) 2022-01-19 10:39:33 +00:00
2743a75a21 Display general marker on non-self location shares (#7574) 2022-01-19 09:33:49 +00:00
41b9e4aa4f Implement reply chain fallback for threads backwards compatibility (#7565) 2022-01-19 09:06:48 +00:00
a00d359422 Fix left positioned tooltips being wrong and offset by fixed value (#7551)
Previously, the `left` positioning seemed to only work with icons which are all about the same size so the arbitrary offset worked. Now we actually position off to the left of the element and we have equal `margin-left` and `margin-right` to determine the offset.

Spawned from https://github.com/matrix-org/matrix-react-sdk/pull/7339#discussion_r767154349
2022-01-18 21:08:11 -06:00
b50060bcfc Fix MAB overlapping or overflowing in bubbles layout and threads regressions (#7569)
* Fix MAB overlapping or overflowing in bubbles layout

* Fix bubbles in threads timestamps positioning regression
2022-01-19 01:48:07 +00:00
1d45921d14 Improve/add notifications for location and poll events (#7552)
* Add getSenderName()

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Handle location and poll event notifications

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* i18n

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* pollQuestions -> pollQuestion

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Make lookup safe and remove poll end event lookup as it wouldn't work

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* i18n

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-01-18 17:58:31 -07:00
aac5964121 Fix wrong icon being used for appearance tab in space preferences dialog (#7570) 2022-01-18 17:56:49 -07:00
336e1ae3b6 Upgrade linkify to v3.0 (#7282)
Co-authored-by: Timo K <toger5@hotmail.de>
2022-01-18 18:24:16 +01:00
c0681333bf Fix /jumptodate using wrong MSC feature flag (#7563)
As reported by @turt2live, https://matrix.to/#/!EMAlzkQQlZGEVTkDnD:matrix.org/$gnoVWQnIkYYL1i1cL8A4qRKJCFpNtq0Oj5khpzOq1mQ?via=half-shot.uk&via=matrix.org&via=element.io

Also fixes camelCase typo
2022-01-18 09:51:25 -06:00
67a4d22e79 Update sidebar icon from Compound (#7572) 2022-01-18 15:29:43 +00:00
d5412e52ed Replace home icon with new one (#7571) 2022-01-18 15:29:01 +00:00
47cbef2af2 Ensure maps show up in replies and threads, by creating unique IDs (#7568) 2022-01-18 13:33:53 +00:00
e1cdbe1e54 Use IncompatibleController to disable showLocation via labs flag (#7566) 2022-01-18 11:28:23 +00:00
a2f09480ee Use PR number directly in netlify github action (#7561)
* Use PR number directly in netlify github action

Looks like we can get the PR number for the workflow run that triggered
the workflow_run event, so there's no need for the massive faff we were
doing here.

* No need to create pr.json anymore
2022-01-18 11:01:25 +00:00
f217c6fd61 Update bubble layout styling for stickers (#7560) 2022-01-18 10:37:44 +00:00
aed09ee2f6 Differentiate between hover and roving focus in spotlight dialog (#7564) 2022-01-18 09:56:04 +00:00
4b5ca1d7a9 Fix timeline jumping issues related to bubble layout (#7529) 2022-01-18 09:31:21 +00:00
8ced6e6117 Start a conference in a room with 2 people + invitee rather than a 1:1 call (#7557)
* Start a conference call in a room with 2 people + invitee rather than a 1:1

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix tests

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-01-17 13:46:55 -07:00
65987e6b72 Move all polls processing to events-sdk & prep for stable polls (#7517)
* Move all polls processing to events-sdk

This makes polls support the full range of extensible events (both parsing and generation).

* Appease the linter

* Fix & update tests

* Update events-sdk for polls bugfix

* Update events-sdk for typechecking

* Add missing type cast

* Update per review
2022-01-17 10:06:30 -07:00
12e967a97c Add stable prefix for MSC2313 policy rules. (#7511)
https://github.com/matrix-org/mjolnir/issues/177
2022-01-17 16:48:09 +00:00
6b870ba1a9 MSC3531 - Implementing message hiding pending moderation (#7518)
Signed-off-by: David Teller <davidt@element.io>
2022-01-17 16:04:37 +01:00
c612014936 Fix ThreadsRoomNotificationState listeners removal on destroy (#7558) 2022-01-17 14:54:19 +00:00
4028b5ef2e Resetting package fields for development 2022-01-17 14:26:25 +00:00
11ca9bd707 Merge branch 'master' into develop 2022-01-17 14:24:39 +00:00
0b83dfcd63 v3.38.0 v3.38.0 2022-01-17 14:17:04 +00:00
7d4edf8cda Prepare changelog for v3.38.0 2022-01-17 14:17:03 +00:00
3c26418b5c Upgrade matrix-js-sdk to 15.4.0 2022-01-17 14:13:57 +00:00
5c44cb5cc6 Improve QueryMatcher TypeScript definition (#7555) 2022-01-17 14:08:36 +00:00
42adedc468 Wait for initial profile load before displaying widget (#7556)
* wait for initial profile load before displaying jitsi

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update comment

Signed-off-by: Kerry Archibald <kerrya@element.io>

* amke fn return boolean

Signed-off-by: Kerry Archibald <kerrya@element.io>

* listen for profile update once

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove unneccessary check

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-17 13:47:07 +00:00
1f298250b9 Make the Keyboard Shortcuts dialog into a settings tab (#7198) 2022-01-17 11:53:10 +00:00
cb42173e11 Make widgets and calls span across the whole room width when using bubble layout (#7553) 2022-01-17 10:01:31 +00:00
2fd06ac0c6 Fix the colour of the map attribution text in dark theme (#7548) 2022-01-17 09:30:26 +00:00
18c82d57ae Add setting for enabling location sharing (#7547) 2022-01-14 15:57:39 +00:00
ae2cb63a0d Enable/disable location share button when setting is changed (#7545) 2022-01-14 15:04:09 +00:00
aa4131ed2e Add a developer mode 'view source' button to crashed event tiles (#7537)
* Add a developer mode 'view source' button to crashed event tiles

* appease the linter
2022-01-14 07:43:13 -07:00
52dd590b49 Override hide redaction preference for thread root (#7546) 2022-01-14 14:41:40 +00:00
7ccbf814df Always show right panel after setting a card (#7544) 2022-01-14 15:24:46 +01:00
2ef36507fd Support deserialising HR tags for editing (#7543) 2022-01-14 13:24:51 +00:00
f4a6219c88 Replace kick terminology with Remove from chat (#7469) 2022-01-14 13:08:34 +00:00
54357c2d63 Fix thread summary sometimes not updating (#7542) 2022-01-14 12:58:37 +00:00
240cb10415 Refresh ThreadView after React state has been updated (#7539) 2022-01-14 12:49:25 +00:00
de28d82b81 Add onPaste fallback when getInputableElement returns null (#7540) 2022-01-14 12:49:09 +00:00
6444aaeeff Set initial zoom level to 1 to make zooming to location faster (#7541) 2022-01-14 12:21:22 +00:00
8c7b396bb5 Update yarn.lock 2022-01-14 11:34:15 +00:00
50de35cd1a truncate room name on pip header (#7538)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-14 10:37:30 +00:00
47c112b12e Fix alignment of reactions in bubble layout thread view (#7534)
* Fix alignment of reactions in bubble layout thread view

* Remove duplicate download link in thread view panel

* Fix bugs with layout of file pills
2022-01-13 22:46:11 +00:00
657b0a4c28 Fix alignment of timestamps in bubble layout (#7535) 2022-01-13 22:45:54 +00:00
61a0be7d46 Render events as extensible events (behind labs) (#7462)
* Render events as extensible events (behind labs)

* Include the SDK

* Appease linter

* Update for changed property name

* Fix formatting error

* Fix branch matching for build steps

* Update SDK

* Update scripts/fetchdep.sh

Co-authored-by: Andy Balaam <andyb@element.io>

Co-authored-by: Andy Balaam <andyb@element.io>
2022-01-13 17:03:37 +00:00