Skip to content

Commit 359bd71

Browse files
committed
Merge tag 'v1.10.13' into sc
* Go to space landing page when clicking on a selected space ([\element-hq#6442](matrix-org/matrix-react-sdk#6442)). Fixes element-hq#20296. * Fall back to untranslated string rather than showing missing translation error ([\element-hq#8609](matrix-org/matrix-react-sdk#8609)). * Show file name and size on images on hover ([\element-hq#6511](matrix-org/matrix-react-sdk#6511)). Fixes element-hq#18197. * Iterate on search results for message bubbles ([\element-hq#7047](matrix-org/matrix-react-sdk#7047)). Fixes element-hq#20315. * registration: redesign email verification page ([\element-hq#8554](matrix-org/matrix-react-sdk#8554)). Fixes element-hq#21984. * Show full thread message in hover title on thread summary ([\element-hq#8568](matrix-org/matrix-react-sdk#8568)). Fixes element-hq#22037. * Tweak video rooms copy ([\element-hq#8582](matrix-org/matrix-react-sdk#8582)). Fixes element-hq#22176. * Live location share - beacon tooltip in maximised view ([\element-hq#8572](matrix-org/matrix-react-sdk#8572)). * Add dialog to navigate long room topics ([\element-hq#8517](matrix-org/matrix-react-sdk#8517)). Fixes element-hq#9623. * Change spaceroomfacepile tooltip if memberlist is shown ([\element-hq#8571](matrix-org/matrix-react-sdk#8571)). Fixes element-hq#17406. * Improve message editing UI ([\element-hq#8483](matrix-org/matrix-react-sdk#8483)). Fixes element-hq#9752 and element-hq#22108. * Make date changes more obvious ([\element-hq#6410](matrix-org/matrix-react-sdk#6410)). Fixes element-hq#16221. * Enable forwarding static locations ([\element-hq#8553](matrix-org/matrix-react-sdk#8553)). * Log `TimelinePanel` debugging info when opening the bug report modal ([\element-hq#8502](matrix-org/matrix-react-sdk#8502)). * Improve welcome screen, add opt-out analytics ([\element-hq#8474](matrix-org/matrix-react-sdk#8474)). Fixes element-hq#21946. * Converting selected text to MD link when pasting a URL ([\element-hq#8242](matrix-org/matrix-react-sdk#8242)). Fixes element-hq#21634. Contributed by @Sinharitik589. * Support Inter on custom themes ([\element-hq#8399](matrix-org/matrix-react-sdk#8399)). Fixes element-hq#16293. * Add a `Copy link` button to the right-click message context-menu labs feature ([\element-hq#8527](matrix-org/matrix-react-sdk#8527)). * Move widget screenshots labs flag to devtools ([\element-hq#8522](matrix-org/matrix-react-sdk#8522)). * Remove some labs features which don't get used or create maintenance burden: custom status, multiple integration managers, and do not disturb ([\element-hq#8521](matrix-org/matrix-react-sdk#8521)). * Add a way to toggle `ScrollPanel` and `TimelinePanel` debug logs ([\element-hq#8513](matrix-org/matrix-react-sdk#8513)). * Spaces: remove blue beta dot ([\element-hq#8511](matrix-org/matrix-react-sdk#8511)). Fixes element-hq#22061. * Order new search dialog results by recency ([\element-hq#8444](matrix-org/matrix-react-sdk#8444)). * Improve pills ([\element-hq#6398](matrix-org/matrix-react-sdk#6398)). Fixes element-hq#16948 and element-hq#21281. * Add a way to maximize/pin widget from the PiP view ([\element-hq#7672](matrix-org/matrix-react-sdk#7672)). Fixes element-hq#20723. * Iterate video room designs in labs ([\element-hq#8499](matrix-org/matrix-react-sdk#8499)). * Improve UI/UX in calls ([\element-hq#7791](matrix-org/matrix-react-sdk#7791)). Fixes element-hq#19937. * Add ability to change audio and video devices during a call ([\element-hq#7173](matrix-org/matrix-react-sdk#7173)). Fixes element-hq#15595. * Fix video rooms sometimes connecting muted when they shouldn't ([\element-hq#22125](element-hq#22125)). * Avoid flashing the 'join conference' button at the user in video rooms ([\element-hq#22120](element-hq#22120)). * Fully close Jitsi conferences on errors ([\element-hq#22060](element-hq#22060)). * Fix click behavior of notification badges on spaces ([\element-hq#8627](matrix-org/matrix-react-sdk#8627)). Fixes element-hq#22241. * Add missing return values in Read Receipt animation code ([\element-hq#8625](matrix-org/matrix-react-sdk#8625)). Fixes element-hq#22175. * Fix 'continue' button not working after accepting identity server terms of service ([\element-hq#8619](matrix-org/matrix-react-sdk#8619)). Fixes element-hq#20003. * Proactively fix stuck devices in video rooms ([\element-hq#8587](matrix-org/matrix-react-sdk#8587)). Fixes element-hq#22131. * Fix position of the message action bar on left side bubbles ([\element-hq#8398](matrix-org/matrix-react-sdk#8398)). Fixes element-hq#21879. Contributed by @luixxiul. * Fix edge case thread summaries around events without a msgtype ([\element-hq#8576](matrix-org/matrix-react-sdk#8576)). * Fix favourites metaspace not updating ([\element-hq#8594](matrix-org/matrix-react-sdk#8594)). Fixes element-hq#22156. * Stop spaces from displaying as rooms in new breadcrumbs ([\element-hq#8595](matrix-org/matrix-react-sdk#8595)). Fixes element-hq#22165. * Fix avatar position of hidden event on ThreadView ([\element-hq#8592](matrix-org/matrix-react-sdk#8592)). Fixes element-hq#22199. Contributed by @luixxiul. * Fix MessageTimestamp position next to redacted messages on IRC/modern layout ([\element-hq#8591](matrix-org/matrix-react-sdk#8591)). Fixes element-hq#22181. Contributed by @luixxiul. * Fix padding of messages in threads ([\element-hq#8574](matrix-org/matrix-react-sdk#8574)). Contributed by @luixxiul. * Enable overflow of hidden events content ([\element-hq#8585](matrix-org/matrix-react-sdk#8585)). Fixes element-hq#22187. Contributed by @luixxiul. * Increase composer line height to avoid cutting off emoji ([\element-hq#8583](matrix-org/matrix-react-sdk#8583)). Fixes element-hq#22170. * Don't consider threads for breaking continuation until actually created ([\element-hq#8581](matrix-org/matrix-react-sdk#8581)). Fixes element-hq#22164. * Fix displaying hidden events on threads ([\element-hq#8555](matrix-org/matrix-react-sdk#8555)). Fixes element-hq#22058. Contributed by @luixxiul. * Fix button width and align 絵文字 (emoji) on the user panel ([\element-hq#8562](matrix-org/matrix-react-sdk#8562)). Fixes element-hq#22142. Contributed by @luixxiul. * Standardise the margin for settings tabs ([\element-hq#7963](matrix-org/matrix-react-sdk#7963)). Fixes element-hq#20767. Contributed by @yuktea. * Fix room history not being visible even if we have historical keys ([\element-hq#8563](matrix-org/matrix-react-sdk#8563)). Fixes element-hq#16983. * Fix oblong avatars in video room lobbies ([\element-hq#8565](matrix-org/matrix-react-sdk#8565)). * Update thread summary when latest event gets decrypted ([\element-hq#8564](matrix-org/matrix-react-sdk#8564)). Fixes element-hq#22151. * Fix codepath which can wrongly cause automatic space switch from all rooms ([\element-hq#8560](matrix-org/matrix-react-sdk#8560)). Fixes element-hq#21373. * Fix effect of URL preview toggle not updating live ([\element-hq#8561](matrix-org/matrix-react-sdk#8561)). Fixes element-hq#22148. * Fix visual bugs on AccessSecretStorageDialog ([\element-hq#8160](matrix-org/matrix-react-sdk#8160)). Fixes element-hq#19426. Contributed by @luixxiul. * Fix the width bounce of the clock on the AudioPlayer ([\element-hq#8320](matrix-org/matrix-react-sdk#8320)). Fixes element-hq#21788. Contributed by @luixxiul. * Hide the verification left stroke only on the thread list ([\element-hq#8525](matrix-org/matrix-react-sdk#8525)). Fixes element-hq#22132. Contributed by @luixxiul. * Hide recently_viewed dropdown when other modal opens ([\element-hq#8538](matrix-org/matrix-react-sdk#8538)). Contributed by @yaya-usman. * Only jump to date after pressing the 'go' button ([\element-hq#8548](matrix-org/matrix-react-sdk#8548)). Fixes element-hq#20799. * Fix download button not working on events that were decrypted too late ([\element-hq#8556](matrix-org/matrix-react-sdk#8556)). Fixes element-hq#19427. * Align thread summary button with bubble messages on the left side ([\element-hq#8388](matrix-org/matrix-react-sdk#8388)). Fixes element-hq#21873. Contributed by @luixxiul. * Fix unresponsive notification toggles ([\element-hq#8549](matrix-org/matrix-react-sdk#8549)). Fixes element-hq#22109. * Set color-scheme property in themes ([\element-hq#8547](matrix-org/matrix-react-sdk#8547)). Fixes element-hq#22124. * Improve the styling of error messages during search initialization. ([\element-hq#6899](matrix-org/matrix-react-sdk#6899)). Fixes element-hq#19245 and element-hq#18164. Contributed by @KalleStruik. * Don't leave button tooltips open when closing modals ([\element-hq#8546](matrix-org/matrix-react-sdk#8546)). Fixes element-hq#22121. * update matrix-analytics-events ([\element-hq#8543](matrix-org/matrix-react-sdk#8543)). * Handle Jitsi Meet crashes more gracefully ([\element-hq#8541](matrix-org/matrix-react-sdk#8541)). * Fix regression around pasting links ([\element-hq#8537](matrix-org/matrix-react-sdk#8537)). Fixes element-hq#22117. * Fixes suggested room not ellipsized on shrinking ([\element-hq#8536](matrix-org/matrix-react-sdk#8536)). Contributed by @yaya-usman. * Add global spacing between display name and location body ([\element-hq#8523](matrix-org/matrix-react-sdk#8523)). Fixes element-hq#22111. Contributed by @luixxiul. * Add box-shadow to the reply preview on the main (left) panel only ([\element-hq#8397](matrix-org/matrix-react-sdk#8397)). Fixes element-hq#21894. Contributed by @luixxiul. * Set line-height: 1 to RedactedBody inside GenericEventListSummary for IRC/modern layout ([\element-hq#8529](matrix-org/matrix-react-sdk#8529)). Fixes element-hq#22112. Contributed by @luixxiul. * Fix position of timestamp on the chat panel in IRC layout and message edits history modal window ([\element-hq#8464](matrix-org/matrix-react-sdk#8464)). Fixes element-hq#22011 and element-hq#22014. Contributed by @luixxiul. * Fix unexpected and inconsistent inheritance of line-height property for mx_TextualEvent ([\element-hq#8485](matrix-org/matrix-react-sdk#8485)). Fixes element-hq#22041. Contributed by @luixxiul. * Set the same margin to the right side of NewRoomIntro on TimelineCard ([\element-hq#8453](matrix-org/matrix-react-sdk#8453)). Contributed by @luixxiul. * Remove duplicate tooltip from user pills ([\element-hq#8512](matrix-org/matrix-react-sdk#8512)). * Set max-width for MLocationBody and MLocationBody_map by default ([\element-hq#8519](matrix-org/matrix-react-sdk#8519)). Fixes element-hq#21983. Contributed by @luixxiul. * Simplify ReplyPreview UI implementation ([\element-hq#8516](matrix-org/matrix-react-sdk#8516)). Fixes element-hq#22091. Contributed by @luixxiul. * Fix thread summary overflow on narrow message panel on bubble message layout ([\element-hq#8520](matrix-org/matrix-react-sdk#8520)). Fixes element-hq#22097. Contributed by @luixxiul. * Live location sharing - refresh beacon timers on tab becoming active ([\element-hq#8515](matrix-org/matrix-react-sdk#8515)). * Enlarge emoji again ([\element-hq#8509](matrix-org/matrix-react-sdk#8509)). Fixes element-hq#22086. * Order receipts with the most recent on the right ([\element-hq#8506](matrix-org/matrix-react-sdk#8506)). Fixes element-hq#22044. * Disconnect from video rooms when leaving ([\element-hq#8500](matrix-org/matrix-react-sdk#8500)). * Fix soft crash around threads when room isn't yet in store ([\element-hq#8496](matrix-org/matrix-react-sdk#8496)). Fixes element-hq#22047. * Fix reading of cached room device setting values ([\element-hq#8491](matrix-org/matrix-react-sdk#8491)). * Add loading spinners to threads panels ([\element-hq#8490](matrix-org/matrix-react-sdk#8490)). Fixes element-hq#21335. * Fix forwarding UI papercuts ([\element-hq#8482](matrix-org/matrix-react-sdk#8482)). Fixes element-hq#17616.
2 parents fdf1795 + c46c112 commit 359bd71

Some content is hidden

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

43 files changed

+1346
-879
lines changed

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,9 @@ insert_final_newline = true
2121
indent_style = space
2222
indent_size = 4
2323
trim_trailing_whitespace = true
24+
25+
[*.{yml,yaml}]
26+
indent_size = 2
27+
28+
[package.json]
29+
indent_size = 2

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build and Package
2+
on:
3+
pull_request: { }
4+
push:
5+
branches: [ master ]
6+
# develop pushes and repository_dispatch handled in build_develop.yaml
7+
env:
8+
# These must be set for fetchdep.sh to get the right branch
9+
REPOSITORY: ${{ github.repository }}
10+
PR_NUMBER: ${{ github.event.pull_request.number }}
11+
jobs:
12+
build:
13+
name: "Build"
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
18+
- uses: actions/setup-node@v3
19+
with:
20+
cache: 'yarn'
21+
22+
- name: Install Dependencies
23+
run: "./scripts/layered.sh"
24+
25+
- name: Build & Package
26+
run: "./scripts/ci_package.sh"

.github/workflows/build_develop.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Separate to the main build workflow for access to develop
2+
# environment secrets, largely similar to build.yaml.
3+
name: Build and Package develop
4+
on:
5+
push:
6+
branches: [ develop ]
7+
repository_dispatch:
8+
types: [ element-web-notify ]
9+
jobs:
10+
build:
11+
name: "Build & Upload source maps to Sentry"
12+
runs-on: ubuntu-latest
13+
environment: develop
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- uses: actions/setup-node@v3
18+
with:
19+
cache: 'yarn'
20+
21+
- name: Install Dependencies
22+
run: "./scripts/layered.sh"
23+
24+
- name: Build, Package & Upload sourcemaps
25+
run: "./scripts/ci_package.sh"
26+
env:
27+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
28+
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
29+
SENTRY_URL: ${{ secrets.SENTRY_URL }}
30+
SENTRY_ORG: sentry
31+
SENTRY_PROJECT: riot-web

.github/workflows/preview_changelog.yaml

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

.github/workflows/pull_request.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Pull Request
2+
on:
3+
pull_request_target:
4+
types: [ opened, edited, labeled, unlabeled, synchronize ]
5+
jobs:
6+
changelog:
7+
name: Preview Changelog
8+
if: github.event.action != 'synchronize'
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: matrix-org/allchange@main
12+
with:
13+
ghToken: ${{ secrets.GITHUB_TOKEN }}
14+
15+
enforce-label:
16+
name: Enforce Labels
17+
runs-on: ubuntu-latest
18+
permissions:
19+
pull-requests: read
20+
steps:
21+
- uses: yogevbd/[email protected]
22+
with:
23+
REQUIRED_LABELS_ANY: "T-Defect,T-Enhancement,T-Task"
24+
BANNED_LABELS: "X-Blocked"
25+
BANNED_LABELS_DESCRIPTION: "Preventing merge whilst PR is marked blocked!"

.github/workflows/sentry-sourcemaps.yaml

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

.github/workflows/sonarqube.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: SonarQube
2+
on:
3+
workflow_run:
4+
workflows: [ "Tests" ]
5+
types:
6+
- completed
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
jobs:
11+
prdetails:
12+
name: ℹ️ PR Details
13+
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request'
14+
uses: matrix-org/matrix-js-sdk/.github/workflows/pr_details.yml@develop
15+
with:
16+
owner: ${{ github.event.workflow_run.head_repository.owner.login }}
17+
branch: ${{ github.event.workflow_run.head_branch }}
18+
19+
sonarqube:
20+
name: 🩻 SonarQube
21+
needs: prdetails
22+
# Only wait for prdetails if it isn't skipped
23+
if: |
24+
always() &&
25+
(needs.prdetails.result == 'success' || needs.prdetails.result == 'skipped') &&
26+
github.event.workflow_run.conclusion == 'success'
27+
uses: matrix-org/matrix-js-sdk/.github/workflows/sonarcloud.yml@develop
28+
with:
29+
repo: ${{ github.event.workflow_run.head_repository.full_name }}
30+
pr_id: ${{ needs.prdetails.outputs.pr_id }}
31+
head_branch: ${{ needs.prdetails.outputs.head_branch || github.event.workflow_run.head_branch }}
32+
base_branch: ${{ needs.prdetails.outputs.base_branch }}
33+
revision: ${{ github.event.workflow_run.head_sha }}
34+
coverage_workflow_name: tests.yml
35+
coverage_run_id: ${{ github.event.workflow_run.id }}
36+
secrets:
37+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
name: Static Analysis
2+
on:
3+
pull_request: { }
4+
push:
5+
branches: [ develop, master ]
6+
repository_dispatch:
7+
types: [ element-web-notify ]
8+
env:
9+
# These must be set for fetchdep.sh to get the right branch
10+
REPOSITORY: ${{ github.repository }}
11+
PR_NUMBER: ${{ github.event.pull_request.number }}
12+
jobs:
13+
ts_lint:
14+
name: "Typescript Syntax Check"
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- uses: actions/setup-node@v3
20+
with:
21+
cache: 'yarn'
22+
23+
- name: Install Dependencies
24+
run: "./scripts/layered.sh"
25+
26+
- name: Typecheck
27+
run: "yarn run lint:types"
28+
29+
i18n_lint:
30+
name: "i18n Check"
31+
runs-on: ubuntu-latest
32+
permissions:
33+
pull-requests: read
34+
steps:
35+
- uses: actions/checkout@v2
36+
37+
- name: "Get modified files"
38+
id: changed_files
39+
if: github.event_name == 'pull_request'
40+
uses: tj-actions/changed-files@v19
41+
with:
42+
files: |
43+
src/i18n/strings/*
44+
files_ignore: |
45+
src/i18n/strings/en_EN.json
46+
- name: "Assert only en_EN was modified"
47+
if: |
48+
github.event_name == 'pull_request' &&
49+
github.actor != 'RiotTranslateBot' &&
50+
steps.changed_files.outputs.any_modified == 'true'
51+
run: |
52+
echo "You can only modify en_EN.json, do not touch any of the other i18n files as Weblate will be confused"
53+
exit 1
54+
- uses: actions/setup-node@v3
55+
with:
56+
cache: 'yarn'
57+
58+
# Does not need branch matching as only analyses this layer
59+
- name: Install Deps
60+
run: "yarn install --pure-lockfile"
61+
62+
- name: i18n Check
63+
run: "yarn run diff-i18n"
64+
65+
js_lint:
66+
name: "ESLint"
67+
runs-on: ubuntu-latest
68+
steps:
69+
- uses: actions/checkout@v2
70+
71+
- uses: actions/setup-node@v3
72+
with:
73+
cache: 'yarn'
74+
75+
# Does not need branch matching as only analyses this layer
76+
- name: Install Deps
77+
run: "yarn install --pure-lockfile"
78+
79+
- name: Run Linter
80+
run: "yarn run lint:js"
81+
82+
style_lint:
83+
name: "Style Lint"
84+
runs-on: ubuntu-latest
85+
steps:
86+
- uses: actions/checkout@v2
87+
88+
- uses: actions/setup-node@v3
89+
with:
90+
cache: 'yarn'
91+
92+
# Does not need branch matching as only analyses this layer
93+
- name: Install Deps
94+
run: "yarn install --pure-lockfile"
95+
96+
- name: Run Linter
97+
run: "yarn run lint:style"

.github/workflows/tests.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Tests
2+
on:
3+
pull_request: { }
4+
push:
5+
branches: [ develop, master ]
6+
repository_dispatch:
7+
types: [ element-web-notify ]
8+
env:
9+
# These must be set for fetchdep.sh to get the right branch
10+
REPOSITORY: ${{ github.repository }}
11+
PR_NUMBER: ${{ github.event.pull_request.number }}
12+
jobs:
13+
jest:
14+
name: Jest
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
20+
- name: Yarn cache
21+
uses: actions/setup-node@v3
22+
with:
23+
cache: 'yarn'
24+
25+
- name: Install Dependencies
26+
run: "./scripts/layered.sh"
27+
28+
- name: Run tests with coverage
29+
run: "yarn coverage --ci"
30+
31+
- name: Upload Artifact
32+
uses: actions/upload-artifact@v2
33+
with:
34+
name: coverage
35+
path: |
36+
coverage
37+
!coverage/lcov-report

.github/workflows/triage-incoming.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Move new issues into Issue triage board
22

33
on:
44
issues:
5-
types: [opened]
5+
types: [ opened ]
66

77
jobs:
88
automate-project-columns:

0 commit comments

Comments
 (0)