Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 4efc389

Browse files
committed
Merge tag 'v3.42.3' into kegan/sync-v3
* Release threads as a beta feature ([\#8081](#8081)). Fixes element-hq/element-web#21351. * More video rooms design updates ([\#8222](#8222)). * Update video rooms to new design specs ([\#8207](#8207)). Fixes element-hq/element-web#21515, element-hq/element-web#21516 element-hq/element-web#21519 and element-hq/element-web#21526. * Live Location Sharing - left panel warning with error ([\#8201](#8201)). * Live location sharing - Stop publishing location to beacons with consecutive errors ([\#8194](#8194)). * Live location sharing: allow retry when stop sharing fails ([\#8193](#8193)). * Allow voice messages to be scrubbed in the timeline ([\#8079](#8079)). Fixes element-hq/element-web#18713. * Live location sharing - stop sharing to beacons in rooms you left ([\#8187](#8187)). * Allow sending and thumbnailing AVIF images ([\#8172](#8172)). * Live location sharing - handle geolocation errors ([\#8179](#8179)). * Show voice room participants when not connected ([\#8136](#8136)). Fixes element-hq/element-web#21513. * Add margins between labs sections ([\#8169](#8169)). * Live location sharing - send geolocation beacon events - happy path ([\#8127](#8127)). * Add support for Animated (A)PNG ([\#8158](#8158)). Fixes element-hq/element-web#12967. * Don't form continuations from thread roots ([\#8166](#8166)). Fixes element-hq/element-web#20908. * Improve handling of animated GIF and WEBP images ([\#8153](#8153)). Fixes element-hq/element-web#16193 and element-hq/element-web#6684. * Wire up file preview for video files ([\#8140](#8140)). Fixes element-hq/element-web#21539. * When showing thread, always auto-focus its composer ([\#8115](#8115)). Fixes element-hq/element-web#21438. * Live location sharing - refresh beacon expiry in room ([\#8116](#8116)). * Use styled mxids in member list v2 ([\#8110](#8110)). Fixes element-hq/element-web#14825. Contributed by @SimonBrandner. * Delete groups (legacy communities system) ([\#8027](#8027)). Fixes element-hq/element-web#17532. * Add a prototype of voice rooms in labs ([\#8084](#8084)). Fixes element-hq/element-web#3546. * Fix editing `<ol>` tags with a non-1 start attribute ([\#8211](#8211)). Fixes element-hq/element-web#21625. * Fix URL previews being enabled when room first created ([\#8227](#8227)). Fixes element-hq/element-web#21659. * Don't use m.call for Jitsi video rooms ([\#8223](#8223)). * Scale emoji with size of surrounding text ([\#8224](#8224)). * Make "Jump to date" translatable ([\#8218](#8218)). * Normalize call buttons ([\#8129](#8129)). Fixes element-hq/element-web#21493. Contributed by @luixxiul. * Show room preview bar with maximised widgets ([\#8180](#8180)). Fixes element-hq/element-web#21542. * Update more strings to not wrongly mention room when it is/could be a space ([\#7722](#7722)). Fixes element-hq/element-web#20243 and element-hq/element-web#20910. * Fix issue with redacting via edit composer flow causing stuck editStates ([\#8184](#8184)). * Fix some image/video scroll jumps ([\#8182](#8182)). * Fix "react error on share dialog" ([\#8170](#8170)). Contributed by @yaya-usman. * Fix disambiguated profile in threads in bubble layout ([\#8168](#8168)). Fixes element-hq/element-web#21570. Contributed by @SimonBrandner. * Responsive BetaCard on Labs ([\#8154](#8154)). Fixes element-hq/element-web#21554. Contributed by @luixxiul. * Display button as inline in room directory dialog ([\#8164](#8164)). Fixes element-hq/element-web#21567. Contributed by @luixxiul. * Null guard TimelinePanel unmount edge ([\#8171](#8171)). * Fix beta pill label breaking ([\#8162](#8162)). Fixes element-hq/element-web#21566. Contributed by @luixxiul. * Strip relations when forwarding ([\#7929](#7929)). Fixes element-hq/element-web#19769, element-hq/element-web#18067 element-hq/element-web#21015 and element-hq/element-web#10924. * Don't try (and fail) to show replies for redacted events ([\#8141](#8141)). Fixes element-hq/element-web#21435. * Fix 3pid member info for space member list ([\#8128](#8128)). Fixes element-hq/element-web#21534. * Set max-width to user context menu ([\#8089](#8089)). Fixes element-hq/element-web#21486. Contributed by @luixxiul. * Fix issue with falsey hrefs being sent in events ([\#8113](#8113)). Fixes element-hq/element-web#21417. * Make video sizing consistent with images ([\#8102](#8102)). Fixes element-hq/element-web#20072.
2 parents dbc0d57 + 5f35609 commit 4efc389

File tree

502 files changed

+20393
-20294
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

502 files changed

+20393
-20294
lines changed

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ module.exports = {
123123
"src/components/structures/UserMenu.tsx",
124124
"src/components/views/avatars/WidgetAvatar.tsx",
125125
"src/components/views/dialogs/AddExistingToSpaceDialog.tsx",
126-
"src/components/views/dialogs/CreateSpaceFromCommunityDialog.tsx",
127126
"src/components/views/dialogs/ForwardDialog.tsx",
128127
"src/components/views/dialogs/InviteDialog.tsx",
129128
"src/components/views/dialogs/ModalWidgetDialog.tsx",

.github/codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
codecov:
2+
allow_coverage_offsets: True
13
coverage:
24
status:
35
project: off

.github/workflows/test_coverage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v2
15+
with:
16+
# If this is a pull request, make sure we check out its head rather than the
17+
# automatically generated merge commit, so that the coverage diff excludes
18+
# unrelated changes in the base branch
19+
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || '' }}
1520

1621
- name: Yarn cache
1722
uses: c-hive/gha-yarn-cache@v2

.github/workflows/triage-move-review-requests.yml

Lines changed: 0 additions & 139 deletions
This file was deleted.

.stylelintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,10 @@ module.exports = {
2323
// https://github.com/vector-im/element-web/issues/10544
2424
"ignoreAtRules": ["define-mixin"],
2525
}],
26+
// Disable `&_kind`-style selectors while our unused CSS approach is "Find & Replace All"
27+
// rather than a CI thing. Shorthand selectors are harder to detect when searching for a
28+
// class name. This regex is trying to *allow* anything except `&words`, such as `&::before`,
29+
// `&.mx_Class`, etc.
30+
"selector-nested-pattern": "^((&[ :.\\\[,])|([^&]))"
2631
}
2732
}

CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
Changes in [3.42.3](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.42.3) (2022-04-12)
2+
=====================================================================================================
3+
4+
## ✨ Features
5+
* Release threads as a beta feature ([\#8081](https://github.com/matrix-org/matrix-react-sdk/pull/8081)). Fixes vector-im/element-web#21351.
6+
* More video rooms design updates ([\#8222](https://github.com/matrix-org/matrix-react-sdk/pull/8222)).
7+
* Update video rooms to new design specs ([\#8207](https://github.com/matrix-org/matrix-react-sdk/pull/8207)). Fixes vector-im/element-web#21515, vector-im/element-web#21516 vector-im/element-web#21519 and vector-im/element-web#21526.
8+
* Live Location Sharing - left panel warning with error ([\#8201](https://github.com/matrix-org/matrix-react-sdk/pull/8201)).
9+
* Live location sharing - Stop publishing location to beacons with consecutive errors ([\#8194](https://github.com/matrix-org/matrix-react-sdk/pull/8194)).
10+
* Live location sharing: allow retry when stop sharing fails ([\#8193](https://github.com/matrix-org/matrix-react-sdk/pull/8193)).
11+
* Allow voice messages to be scrubbed in the timeline ([\#8079](https://github.com/matrix-org/matrix-react-sdk/pull/8079)). Fixes vector-im/element-web#18713.
12+
* Live location sharing - stop sharing to beacons in rooms you left ([\#8187](https://github.com/matrix-org/matrix-react-sdk/pull/8187)).
13+
* Allow sending and thumbnailing AVIF images ([\#8172](https://github.com/matrix-org/matrix-react-sdk/pull/8172)).
14+
* Live location sharing - handle geolocation errors ([\#8179](https://github.com/matrix-org/matrix-react-sdk/pull/8179)).
15+
* Show voice room participants when not connected ([\#8136](https://github.com/matrix-org/matrix-react-sdk/pull/8136)). Fixes vector-im/element-web#21513.
16+
* Add margins between labs sections ([\#8169](https://github.com/matrix-org/matrix-react-sdk/pull/8169)).
17+
* Live location sharing - send geolocation beacon events - happy path ([\#8127](https://github.com/matrix-org/matrix-react-sdk/pull/8127)).
18+
* Add support for Animated (A)PNG ([\#8158](https://github.com/matrix-org/matrix-react-sdk/pull/8158)). Fixes vector-im/element-web#12967.
19+
* Don't form continuations from thread roots ([\#8166](https://github.com/matrix-org/matrix-react-sdk/pull/8166)). Fixes vector-im/element-web#20908.
20+
* Improve handling of animated GIF and WEBP images ([\#8153](https://github.com/matrix-org/matrix-react-sdk/pull/8153)). Fixes vector-im/element-web#16193 and vector-im/element-web#6684.
21+
* Wire up file preview for video files ([\#8140](https://github.com/matrix-org/matrix-react-sdk/pull/8140)). Fixes vector-im/element-web#21539.
22+
* When showing thread, always auto-focus its composer ([\#8115](https://github.com/matrix-org/matrix-react-sdk/pull/8115)). Fixes vector-im/element-web#21438.
23+
* Live location sharing - refresh beacon expiry in room ([\#8116](https://github.com/matrix-org/matrix-react-sdk/pull/8116)).
24+
* Use styled mxids in member list v2 ([\#8110](https://github.com/matrix-org/matrix-react-sdk/pull/8110)). Fixes vector-im/element-web#14825. Contributed by @SimonBrandner.
25+
* Delete groups (legacy communities system) ([\#8027](https://github.com/matrix-org/matrix-react-sdk/pull/8027)). Fixes vector-im/element-web#17532.
26+
* Add a prototype of voice rooms in labs ([\#8084](https://github.com/matrix-org/matrix-react-sdk/pull/8084)). Fixes vector-im/element-web#3546.
27+
28+
## 🐛 Bug Fixes
29+
* Fix editing `<ol>` tags with a non-1 start attribute ([\#8211](https://github.com/matrix-org/matrix-react-sdk/pull/8211)). Fixes vector-im/element-web#21625.
30+
* Fix URL previews being enabled when room first created ([\#8227](https://github.com/matrix-org/matrix-react-sdk/pull/8227)). Fixes vector-im/element-web#21659.
31+
* Don't use m.call for Jitsi video rooms ([\#8223](https://github.com/matrix-org/matrix-react-sdk/pull/8223)).
32+
* Scale emoji with size of surrounding text ([\#8224](https://github.com/matrix-org/matrix-react-sdk/pull/8224)).
33+
* Make "Jump to date" translatable ([\#8218](https://github.com/matrix-org/matrix-react-sdk/pull/8218)).
34+
* Normalize call buttons ([\#8129](https://github.com/matrix-org/matrix-react-sdk/pull/8129)). Fixes vector-im/element-web#21493. Contributed by @luixxiul.
35+
* Show room preview bar with maximised widgets ([\#8180](https://github.com/matrix-org/matrix-react-sdk/pull/8180)). Fixes vector-im/element-web#21542.
36+
* Update more strings to not wrongly mention room when it is/could be a space ([\#7722](https://github.com/matrix-org/matrix-react-sdk/pull/7722)). Fixes vector-im/element-web#20243 and vector-im/element-web#20910.
37+
* Fix issue with redacting via edit composer flow causing stuck editStates ([\#8184](https://github.com/matrix-org/matrix-react-sdk/pull/8184)).
38+
* Fix some image/video scroll jumps ([\#8182](https://github.com/matrix-org/matrix-react-sdk/pull/8182)).
39+
* Fix "react error on share dialog" ([\#8170](https://github.com/matrix-org/matrix-react-sdk/pull/8170)). Contributed by @yaya-usman.
40+
* Fix disambiguated profile in threads in bubble layout ([\#8168](https://github.com/matrix-org/matrix-react-sdk/pull/8168)). Fixes vector-im/element-web#21570. Contributed by @SimonBrandner.
41+
* Responsive BetaCard on Labs ([\#8154](https://github.com/matrix-org/matrix-react-sdk/pull/8154)). Fixes vector-im/element-web#21554. Contributed by @luixxiul.
42+
* Display button as inline in room directory dialog ([\#8164](https://github.com/matrix-org/matrix-react-sdk/pull/8164)). Fixes vector-im/element-web#21567. Contributed by @luixxiul.
43+
* Null guard TimelinePanel unmount edge ([\#8171](https://github.com/matrix-org/matrix-react-sdk/pull/8171)).
44+
* Fix beta pill label breaking ([\#8162](https://github.com/matrix-org/matrix-react-sdk/pull/8162)). Fixes vector-im/element-web#21566. Contributed by @luixxiul.
45+
* Strip relations when forwarding ([\#7929](https://github.com/matrix-org/matrix-react-sdk/pull/7929)). Fixes vector-im/element-web#19769, vector-im/element-web#18067 vector-im/element-web#21015 and vector-im/element-web#10924.
46+
* Don't try (and fail) to show replies for redacted events ([\#8141](https://github.com/matrix-org/matrix-react-sdk/pull/8141)). Fixes vector-im/element-web#21435.
47+
* Fix 3pid member info for space member list ([\#8128](https://github.com/matrix-org/matrix-react-sdk/pull/8128)). Fixes vector-im/element-web#21534.
48+
* Set max-width to user context menu ([\#8089](https://github.com/matrix-org/matrix-react-sdk/pull/8089)). Fixes vector-im/element-web#21486. Contributed by @luixxiul.
49+
* Fix issue with falsey hrefs being sent in events ([\#8113](https://github.com/matrix-org/matrix-react-sdk/pull/8113)). Fixes vector-im/element-web#21417.
50+
* Make video sizing consistent with images ([\#8102](https://github.com/matrix-org/matrix-react-sdk/pull/8102)). Fixes vector-im/element-web#20072.
51+
152
Changes in [3.42.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.42.0) (2022-03-15)
253
=====================================================================================================
354

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ tracks lots of state for its child components which it passes into them for visu
5757
rendering via props.
5858

5959
Good separation between the components is maintained by adopting various best
60-
practices that anyone working with the SDK needs to be be aware of and uphold:
60+
practices that anyone working with the SDK needs to be aware of and uphold:
6161

6262
* Components are named with upper camel case (e.g. views/rooms/EventTile.js)
6363

docs/features/keyboardShortcuts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Keyboard shortcuts
22

3-
## Using the `KeyBindingManger`
3+
## Using the `KeyBindingManager`
44

55
The `KeyBindingManager` (accessible using `getKeyBindingManager()`) is a class
66
with several methods that allow you to get a `KeyBindingAction` based on a

0 commit comments

Comments
 (0)