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

Commit 2f34023

Browse files
committed
Merge branch 'develop' into florianduros/pinned-badge-room
2 parents fdcd352 + 5d6c19c commit 2f34023

File tree

59 files changed

+287
-4041
lines changed

Some content is hidden

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

59 files changed

+287
-4041
lines changed

playwright/e2e/oidc/oidc-native.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Please see LICENSE files in the repository root for full details.
88

99
import { test, expect, registerAccountMas } from ".";
1010
import { isDendrite } from "../../plugins/homeserver/dendrite";
11+
import { ElementAppPage } from "../../pages/ElementAppPage.ts";
1112

1213
test.describe("OIDC Native", () => {
1314
test.skip(isDendrite, "does not yet support MAS");
@@ -17,7 +18,7 @@ test.describe("OIDC Native", () => {
1718
labsFlags: ["feature_oidc_native_flow"],
1819
});
1920

20-
test("can register the oauth2 client and an account", async ({ context, page, homeserver, mailhog, app, mas }) => {
21+
test("can register the oauth2 client and an account", async ({ context, page, homeserver, mailhog, mas }) => {
2122
const tokenUri = `http://localhost:${mas.port}/oauth2/token`;
2223
const tokenApiPromise = page.waitForRequest(
2324
(request) => request.url() === tokenUri && request.postDataJSON()["grant_type"] === "authorization_code",
@@ -36,6 +37,7 @@ test.describe("OIDC Native", () => {
3637

3738
const deviceId = await page.evaluate<string>(() => window.localStorage.mx_device_id);
3839

40+
const app = new ElementAppPage(page);
3941
await app.settings.openUserSettings("Account");
4042
const newPagePromise = context.waitForEvent("page");
4143
await page.getByRole("button", { name: "Manage account" }).click();

res/css/_components.pcss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
@import "./components/views/beacon/_LeftPanelLiveShareWarning.pcss";
1313
@import "./components/views/beacon/_LiveTimeRemaining.pcss";
1414
@import "./components/views/beacon/_OwnBeaconStatus.pcss";
15-
@import "./components/views/beacon/_RoomLiveShareWarning.pcss";
1615
@import "./components/views/beacon/_ShareLatestLocation.pcss";
1716
@import "./components/views/beacon/_StyledLiveBeaconIcon.pcss";
1817
@import "./components/views/context_menus/_KebabContextMenu.pcss";

res/css/components/views/beacon/_DialogSidebar.pcss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ Please see LICENSE files in the repository root for full details.
3434

3535
.mx_DialogSidebar_closeButtonIcon {
3636
color: $tertiary-content;
37-
height: 12px;
3837
}
3938
}
4039

res/css/components/views/beacon/_RoomLiveShareWarning.pcss

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

res/css/structures/_SearchBox.pcss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ Please see LICENSE files in the repository root for full details.
1616

1717
.mx_SearchBox_closeButton {
1818
cursor: pointer;
19-
background-image: url("$(res)/img/icons-close.svg");
20-
background-repeat: no-repeat;
19+
mask-image: url("@vector-im/compound-design-tokens/icons/close.svg");
20+
mask-repeat: no-repeat;
21+
mask-position: center;
22+
mask-size: 16px;
2123
width: 16px;
2224
height: 16px;
23-
background-position: center;
2425
padding: 9px;
26+
background-color: var(--cpd-color-icon-secondary);
2527
}
2628
}

res/css/structures/_UploadBar.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ Please see LICENSE files in the repository root for full details.
5555
mask-repeat: no-repeat;
5656
mask-position: center;
5757
background-color: $muted-fg-color;
58-
mask-image: url("$(res)/img/icons-close.svg");
58+
mask-image: url("@vector-im/compound-design-tokens/icons/close.svg");
5959
}

res/css/structures/_UserMenu.pcss

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -204,66 +204,3 @@ Please see LICENSE files in the repository root for full details.
204204
mask-image: url("@vector-im/compound-design-tokens/icons/qr-code.svg");
205205
}
206206
}
207-
208-
.mx_UserMenu_CustomStatusSection {
209-
margin: 0 12px 8px;
210-
211-
.mx_UserMenu_CustomStatusSection_field {
212-
position: relative;
213-
display: flex;
214-
215-
&.mx_UserMenu_CustomStatusSection_field_hasQuery {
216-
.mx_UserMenu_CustomStatusSection_clear {
217-
display: block;
218-
}
219-
}
220-
221-
> .mx_UserMenu_CustomStatusSection_input {
222-
border: 1px solid $accent;
223-
border-radius: 8px;
224-
width: 100%;
225-
226-
&:focus + .mx_UserMenu_CustomStatusSection_clear {
227-
display: block;
228-
}
229-
}
230-
231-
> .mx_UserMenu_CustomStatusSection_clear {
232-
display: none;
233-
234-
position: absolute;
235-
top: 50%;
236-
right: 0;
237-
transform: translateY(-50%);
238-
239-
width: 16px;
240-
height: 16px;
241-
margin-right: 8px;
242-
background-color: $quinary-content;
243-
border-radius: 50%;
244-
245-
&::before {
246-
content: "";
247-
position: absolute;
248-
width: inherit;
249-
height: inherit;
250-
mask-image: url("$(res)/img/feather-customised/x.svg");
251-
mask-position: center;
252-
mask-size: 12px;
253-
mask-repeat: no-repeat;
254-
background-color: $secondary-content;
255-
}
256-
}
257-
}
258-
259-
> p {
260-
font-size: $font-12px;
261-
line-height: $font-15px;
262-
color: $secondary-content;
263-
margin: 4px 0;
264-
}
265-
266-
.mx_AccessibleButton_kind_primary_outline {
267-
display: block;
268-
}
269-
}

res/css/views/dialogs/_PollCreateDialog.pcss

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,13 @@ Please see LICENSE files in the repository root for full details.
5252

5353
&::before {
5454
content: "";
55-
mask: url("$(res)/img/element-icons/x-8px.svg");
55+
mask: url("@vector-im/compound-design-tokens/icons/close.svg");
5656
mask-repeat: no-repeat;
5757
mask-position: center;
58-
mask-size: cover;
59-
width: 8px;
60-
height: 8px;
58+
mask-size: 16px;
59+
width: inherit;
60+
height: inherit;
6161
position: absolute;
62-
top: 6px;
63-
left: 6px;
6462
background-color: $secondary-content;
6563
}
6664
}

res/css/views/dialogs/security/_AccessSecretStorageDialog.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Please see LICENSE files in the repository root for full details.
8989
color: $alert;
9090

9191
&::before {
92-
mask-image: url("$(res)/img/feather-customised/x.svg");
92+
mask-image: url("@vector-im/compound-design-tokens/icons/close.svg");
9393
background-color: $alert;
9494
}
9595
}

res/css/views/elements/_AccessibleButton.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Please see LICENSE files in the repository root for full details.
7272
background-color: var(--cpd-color-bg-critical-primary);
7373

7474
&::before {
75-
mask-image: url("$(res)/img/feather-customised/x.svg");
75+
mask-image: url("@vector-im/compound-design-tokens/icons/close.svg");
7676
}
7777
}
7878

0 commit comments

Comments
 (0)