Skip to content

Commit a8ff4fa

Browse files
committed
Merge branch 'develop' of ssh://github.com/element-hq/element-web into t3chguy/vis-stale-screenshots
# Conflicts: # packages/shared-components/__vis__/linux/__baselines__/event-tiles/UrlPreviewGroupView/LinkPreview/LinkPreview.stories.tsx/default-auto.png # packages/shared-components/__vis__/linux/__baselines__/event-tiles/UrlPreviewGroupView/LinkPreview/LinkPreview.stories.tsx/title-and-description-auto.png # packages/shared-components/__vis__/linux/__baselines__/event-tiles/UrlPreviewGroupView/LinkPreview/LinkPreview.stories.tsx/title-auto.png # packages/shared-components/__vis__/linux/__baselines__/event-tiles/UrlPreviewGroupView/LinkPreview/LinkPreview.stories.tsx/with-tooltip-auto.png # packages/shared-components/__vis__/linux/__baselines__/event-tiles/UrlPreviewGroupView/LinkPreview/LinkPreview.stories.tsx/with-very-long-text-auto.png # packages/shared-components/__vis__/linux/__baselines__/event-tiles/UrlPreviewGroupView/UrlPreviewGroupView.stories.tsx/default-auto.png # packages/shared-components/__vis__/linux/__baselines__/event-tiles/UrlPreviewGroupView/UrlPreviewGroupView.stories.tsx/multiple-previews-hidden-auto.png # packages/shared-components/__vis__/linux/__baselines__/event-tiles/UrlPreviewGroupView/UrlPreviewGroupView.stories.tsx/multiple-previews-visible-auto.png # packages/shared-components/__vis__/linux/__baselines__/event-tiles/UrlPreviewGroupView/UrlPreviewGroupView.stories.tsx/with-compact-view-auto.png
2 parents 5830040 + 73e1b87 commit a8ff4fa

114 files changed

Lines changed: 2502 additions & 1932 deletions

File tree

Some content is hidden

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

.github/renovate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": ["github>matrix-org/renovate-config-element-web"],
44
"postUpdateOptions": ["pnpmDedupe"],
5+
"stopUpdatingLabel": "X-Blocked",
56
"packageRules": [
67
{
78
"description": "Group all testcontainers docker digests",

.github/workflows/build-and-test.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ jobs:
206206
needs: prepare_ed
207207
name: "Desktop Windows"
208208
uses: ./.github/workflows/build_desktop_windows.yaml
209+
# Skip Windows builds on PRs, as the Linux amd64 build is enough of a smoke test and includes the screenshot tests
210+
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'X-Run-All-Tests')
209211
strategy:
210212
matrix:
211213
arch: [x64, ia32, arm64]
@@ -223,10 +225,13 @@ jobs:
223225
arch: [amd64, arm64]
224226
runAllTests:
225227
- ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'X-Run-All-Tests') }}
226-
# We ship static sqlcipher builds, so delegate testing the system builds to the merge queue
227228
exclude:
229+
# We ship static sqlcipher builds, so delegate testing the system builds to the merge queue
228230
- runAllTests: false
229231
sqlcipher: system
232+
# Additionally skip arm64 system builds on PRs, as the amd64 test is enough for a smoke test and includes the screenshot tests
233+
- runAllTests: false
234+
arch: arm64
230235
with:
231236
sqlcipher: ${{ matrix.sqlcipher }}
232237
arch: ${{ matrix.arch }}
@@ -236,6 +241,9 @@ jobs:
236241
needs: prepare_ed
237242
name: "Desktop macOS"
238243
uses: ./.github/workflows/build_desktop_macos.yaml
244+
# Skip macOS builds on PRs, as the Linux amd64 build is enough of a smoke test and includes the screenshot tests
245+
# and we have a very low limit of concurrent macos runners (5) across the Github org.
246+
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'X-Run-All-Tests')
239247
with:
240248
blob_report: true
241249

.github/workflows/static_analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
voip|element_call
104104
error|invalid_json
105105
error|misconfigured
106-
welcome_to_element
106+
welcome|title_element
107107
devtools|settings|elementCallUrl
108108
labs|sliding_sync_description
109109
settings|voip|noise_suppression_description

apps/desktop/hak/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"compilerOptions": {
3-
"moduleResolution": "node",
3+
"moduleResolution": "node16",
4+
"module": "Node16",
45
"esModuleInterop": true,
56
"target": "es2022",
67
"sourceMap": false,

apps/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"prettier": "^3.0.0",
101101
"rimraf": "^6.0.0",
102102
"tar": "^7.5.8",
103-
"typescript": "5.9.3"
103+
"typescript": "6.0.3"
104104
},
105105
"hakDependencies": {
106106
"matrix-seshat": "4.2.0"

apps/desktop/playwright/element-desktop-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ import { PassThrough } from "node:stream";
1717
* A PassThrough stream that captures all data written to it.
1818
*/
1919
class CapturedPassThrough extends PassThrough {
20-
private _chunks = [];
20+
private _chunks: any[] = [];
2121

2222
public constructor() {
2323
super();
2424
super.on("data", this.onData);
2525
}
2626

27-
private onData = (chunk): void => {
27+
private onData = (chunk: any): void => {
2828
this._chunks.push(chunk);
2929
};
3030

Loading

apps/desktop/playwright/tsconfig.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"compilerOptions": {
33
"resolveJsonModule": true,
4-
"moduleResolution": "node",
4+
"moduleResolution": "bundler",
55
"esModuleInterop": true,
66
"target": "es2022",
7-
"module": "es2022",
8-
"lib": ["es2022", "dom"],
7+
"module": "ESNext",
8+
"lib": ["es2024", "dom", "dom.iterable"],
9+
"strictNullChecks": false,
910
"types": ["node"]
1011
},
1112
"include": ["**/*.ts"]

apps/web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUN --mount=type=bind,source=.git,target=/src/.git /src/scripts/docker-package.s
2525
RUN cp /src/apps/web/config.sample.json /src/apps/web/webapp/config.json
2626

2727
# App
28-
FROM nginxinc/nginx-unprivileged:alpine-slim@sha256:b5831ee7f7aa827cbae87df4a30a642f62c747d8525f5674365389f3adab278d
28+
FROM nginxinc/nginx-unprivileged:alpine-slim@sha256:360465db60105a4cbf5215cd9e5a2ba40ef956978dd94f99707e9674050e38ea
2929

3030
# Need root user to install packages & manipulate the usr directory
3131
USER root

apps/web/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"opus-recorder": "^8.0.3",
9090
"pako": "^2.0.3",
9191
"png-chunks-extract": "^1.0.0",
92-
"posthog-js": "1.364.7",
92+
"posthog-js": "1.369.3",
9393
"qrcode": "1.5.4",
9494
"re-resizable": "6.11.2",
9595
"react": "catalog:",
@@ -214,7 +214,7 @@
214214
"postcss-preset-env": "11.2.1",
215215
"postcss-scss": "4.0.9",
216216
"postcss-simple-vars": "7.0.1",
217-
"prettier": "3.8.1",
217+
"prettier": "3.8.3",
218218
"process": "^0.11.10",
219219
"raw-loader": "^4.0.2",
220220
"semver": "^7.5.2",

0 commit comments

Comments
 (0)