Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
eb2e61e
Device manager: generic settings subsection component (PSG-636) (#9147)
Aug 9, 2022
5fbeb20
Some small tidying up (#9149)
t3chguy Aug 9, 2022
5a9c2e5
Device manager - selectable device tile wrapper (PSG-637) (#9153)
Aug 9, 2022
147ec49
cypress: log stdout/stderr when docker exec fails (#9154)
kegsay Aug 9, 2022
48ae16b
Fix pillification sometimes doubling up (#9152)
t3chguy Aug 9, 2022
e63072e
Fixes around URL tooltips and in-app matrix.to link handling (#9139)
t3chguy Aug 9, 2022
736d8df
Translations update from Weblate (#9159)
RiotTranslateBot Aug 9, 2022
2cae2be
Upgrade matrix-js-sdk to 19.3.0-rc.1
RiotRobot Aug 9, 2022
8cf9b35
Prepare changelog for v3.52.0-rc.1
RiotRobot Aug 9, 2022
dcc12a1
v3.52.0-rc.1
RiotRobot Aug 9, 2022
394e181
Define interface for RLS to ease wiring in Sliding Sync (#9150)
t3chguy Aug 9, 2022
9ed5550
Implement GroupCallUtils (#9131)
weeman1337 Aug 10, 2022
3b64a79
Override the disambiguated profile colour in percy tests for screensh…
t3chguy Aug 10, 2022
fdde6b1
Cypress test stability improvements (#9156)
t3chguy Aug 10, 2022
350341d
Fix inverted logic for showing UserWelcomeTop component (#9164)
t3chguy Aug 10, 2022
3d0982e
Space panel accessibility improvements (#9157)
t3chguy Aug 10, 2022
103b60d
Implement MSC3819: Allowing widgets to send/receive to-device message…
robintown Aug 10, 2022
28ed87b
Implement MSC3846: Allowing widgets to access TURN servers (#9061)
robintown Aug 10, 2022
2e32a4d
Fix invisible power levels tile when showing hidden events (#9162)
t3chguy Aug 10, 2022
df016ff
Upgrade deps (#9165)
t3chguy Aug 10, 2022
4e30d3c
Fix space panel subspace indentation going missing (#9167)
t3chguy Aug 10, 2022
b7872f2
Device manager - data fetching (PSG-637) (#9151)
Aug 10, 2022
f020ed0
Device manager - extract device deletion logic into util (#9168)
Aug 10, 2022
fe60609
Update test snapshots for code landed on develop (#9171)
turt2live Aug 10, 2022
946aa7f
General cleanup of SettingController class (#9170)
turt2live Aug 10, 2022
0697d1d
Fix race condition in `AccountSettingsHandler` local echo (#9172)
turt2live Aug 10, 2022
801858a
Convert some Enzyme tests to RTL (#9163)
t3chguy Aug 11, 2022
988cd33
Set Synapse log level to `DEBUG` for cypress tests temporarily (#9173)
turt2live Aug 11, 2022
09aade2
Device manager - device details section (#9169)
Aug 11, 2022
0be622e
Device manager - other sessions list (PSG-637) (#9155)
Aug 11, 2022
7b52145
Device manager - device security recommendation card (PSG-637) (#9158)
Aug 11, 2022
ed4286a
cypress: up the rate limit values for the synapse container (#9166)
kegsay Aug 11, 2022
964d538
Hide sticker picker for local rooms (#9174)
weeman1337 Aug 11, 2022
d21498d
Add even more stability to view source test case (#9176)
turt2live Aug 11, 2022
4a5ed2f
Device manager - label devices as inactive (PSG-638) (#9175)
Aug 11, 2022
8db7766
Add safety to the spotlight search dialog (#9177)
turt2live Aug 11, 2022
cc3ace2
Hide sticker picker for local rooms (#9174) (#9180)
weeman1337 Aug 12, 2022
9eaf48b
The Welcome Home Screen: Return Button (#9089)
justjanne Aug 12, 2022
5ccd473
Upgrade matrix-js-sdk to 19.3.0-rc.2
RiotRobot Aug 12, 2022
1d6d012
Prepare changelog for v3.52.0-rc.2
RiotRobot Aug 12, 2022
1371949
v3.52.0-rc.2
RiotRobot Aug 12, 2022
0c5ad45
Device manager - security recommendations section (PSG-639) (#9179)
Aug 15, 2022
0dffc58
Device manager - current session expandable details (PSG-644) (#9185)
Aug 15, 2022
05e179f
make beacon events more specific (#9186)
Aug 16, 2022
ba171f1
Fix soft crash around room view store metrics (#9190)
t3chguy Aug 16, 2022
9bf7796
Device manager - add verification details to session details (PSG-644…
Aug 16, 2022
aa9191b
Disable some slash commands in LocalRoom (#9192)
weeman1337 Aug 16, 2022
6f2c761
Device manager - device list filtering (PSG-648) (#9181)
Aug 16, 2022
65b1bb9
Disable some slash commands in LocalRoom (#9193)
weeman1337 Aug 16, 2022
4fce604
Upgrade matrix-js-sdk to 19.3.0
RiotRobot Aug 16, 2022
a2a67a7
Prepare changelog for v3.52.0
RiotRobot Aug 16, 2022
afb39d8
v3.52.0
RiotRobot Aug 16, 2022
d0d9159
Fix soft crash around space hierarchy changing between spaces (#9191)
t3chguy Aug 16, 2022
5b2bafa
Merge branch 'master' into develop
RiotRobot Aug 16, 2022
141651a
Resetting package fields for development
RiotRobot Aug 16, 2022
fecc032
Reset matrix-js-sdk back to develop branch
RiotRobot Aug 16, 2022
e5fedfc
Device manager - expandable session details in device list (PSG-644) …
Aug 17, 2022
80d0159
Add gap between checkbox and text in report dialog (#9195)
gefgu Aug 17, 2022
3461573
Standardise sane capitalisation in verification modal (#9198)
t3chguy Aug 17, 2022
27a7263
Attempt to fix `Failed to execute 'removeChild' on 'Node'` (#9196)
t3chguy Aug 17, 2022
0e43f3c
Wrap long space names (#9201)
t3chguy Aug 17, 2022
e269c68
Fix url preview AXE and layout issue & add percy test (#9189)
t3chguy Aug 17, 2022
3eecd68
Fix context menu being opened when clicking message action bar button…
SimonBrandner Aug 18, 2022
488baba
Release message right-click context menu out of labs (#8613)
SimonBrandner Aug 18, 2022
e11d90b
MSC3773 POC
Aug 18, 2022
1d726c7
Merge branch 'gsouquet/threads-rr-poc' into gsouquet/threads-notifica…
Aug 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
Changes in [3.52.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.52.0) (2022-08-16)
=====================================================================================================

## ✨ Features
* Device manager - New device tile info design ([\#9122](https://github.com/matrix-org/matrix-react-sdk/pull/9122)). Contributed by @kerryarchibald.
* Device manager generic settings subsection component ([\#9147](https://github.com/matrix-org/matrix-react-sdk/pull/9147)). Contributed by @kerryarchibald.
* Migrate the hidden read receipts flag to new "send read receipts" option ([\#9141](https://github.com/matrix-org/matrix-react-sdk/pull/9141)).
* Live location sharing - share location at most every 5 seconds ([\#9148](https://github.com/matrix-org/matrix-react-sdk/pull/9148)). Contributed by @kerryarchibald.
* Increase max length of voice messages to 15m ([\#9133](https://github.com/matrix-org/matrix-react-sdk/pull/9133)). Fixes vector-im/element-web#18620.
* Move pin drop out of labs ([\#9135](https://github.com/matrix-org/matrix-react-sdk/pull/9135)).
* Start DM on first message ([\#8612](https://github.com/matrix-org/matrix-react-sdk/pull/8612)). Fixes vector-im/element-web#14736.
* Remove "Add Space" button from RoomListHeader when user cannot create spaces ([\#9129](https://github.com/matrix-org/matrix-react-sdk/pull/9129)).
* The Welcome Home Screen: Dedicated Download Apps Dialog ([\#9120](https://github.com/matrix-org/matrix-react-sdk/pull/9120)). Fixes vector-im/element-web#22921. Contributed by @justjanne.
* The Welcome Home Screen: "Submit Feedback" pane ([\#9090](https://github.com/matrix-org/matrix-react-sdk/pull/9090)). Fixes vector-im/element-web#22918. Contributed by @justjanne.
* New User Onboarding Task List ([\#9083](https://github.com/matrix-org/matrix-react-sdk/pull/9083)). Fixes vector-im/element-web#22919. Contributed by @justjanne.
* Add support for disabling spell checking ([\#8604](https://github.com/matrix-org/matrix-react-sdk/pull/8604)). Fixes vector-im/element-web#21901.
* Live location share - leave maximised map open when beacons expire ([\#9098](https://github.com/matrix-org/matrix-react-sdk/pull/9098)). Contributed by @kerryarchibald.

## 🐛 Bug Fixes
* Some slash-commands (`/myroomnick`) have temporarily been disabled before the first message in a DM is sent. ([\#9193](https://github.com/matrix-org/matrix-react-sdk/pull/9193)).
* Use stable reference for active tab in tabbedView ([\#9145](https://github.com/matrix-org/matrix-react-sdk/pull/9145)). Contributed by @kerryarchibald.
* Fix pillification sometimes doubling up ([\#9152](https://github.com/matrix-org/matrix-react-sdk/pull/9152)). Fixes vector-im/element-web#23036.
* Fix composer padding ([\#9137](https://github.com/matrix-org/matrix-react-sdk/pull/9137)). Fixes vector-im/element-web#22992.
* Fix highlights not being applied to plaintext messages ([\#9126](https://github.com/matrix-org/matrix-react-sdk/pull/9126)). Fixes vector-im/element-web#22787.
* Fix dismissing edit composer when change was undone ([\#9109](https://github.com/matrix-org/matrix-react-sdk/pull/9109)). Fixes vector-im/element-web#22932.
* 1-to-1 DM rooms with bots now act like DM rooms instead of multi-user-rooms before ([\#9124](https://github.com/matrix-org/matrix-react-sdk/pull/9124)). Fixes vector-im/element-web#22894.
* Apply inline start padding to selected lines on modern layout only ([\#9006](https://github.com/matrix-org/matrix-react-sdk/pull/9006)). Fixes vector-im/element-web#22768. Contributed by @luixxiul.
* Peek into world-readable rooms from spotlight ([\#9115](https://github.com/matrix-org/matrix-react-sdk/pull/9115)). Fixes vector-im/element-web#22862.
* Use default styling on nested numbered lists due to MD being sensitive ([\#9110](https://github.com/matrix-org/matrix-react-sdk/pull/9110)). Fixes vector-im/element-web#22935.
* Fix replying using chat effect commands ([\#9101](https://github.com/matrix-org/matrix-react-sdk/pull/9101)). Fixes vector-im/element-web#22824.
* The first message in a DM can no longer be a sticker. This has been changed to avoid issues with the integration manager. ([\#9180](https://github.com/matrix-org/matrix-react-sdk/pull/9180)).

Changes in [3.51.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.51.0) (2022-08-02)
=====================================================================================================

Expand Down
5 changes: 3 additions & 2 deletions cypress/e2e/regression-tests/pills-click-in-app.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ describe("Pills", () => {
// find the pill in the timeline and click it
cy.get(".mx_EventTile_body .mx_Pill").click();

const localUrl = `/#/room/#${targetLocalpart}:`;
// verify we landed at a sane place
cy.url().should("contain", `/#/room/#${targetLocalpart}:`);
cy.url().should("contain", localUrl);

cy.wait(250); // let the room list settle

Expand All @@ -69,7 +70,7 @@ describe("Pills", () => {
cy.get(".mx_EventTile_body .mx_Pill .mx_Pill_linkText")
.should("have.css", "pointer-events", "none")
.click({ force: true }); // force is to ensure we bypass pointer-events
cy.url().should("contain", `https://matrix.to/#/#${targetLocalpart}:`);
cy.url().should("contain", localUrl);
});
});
});
38 changes: 38 additions & 0 deletions cypress/e2e/spaces/spaces.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,42 @@ describe("Spaces", () => {
cy.contains(".mx_SpaceHierarchy_roomTile", "Gaming").should("exist");
});
});

it("should render subspaces in the space panel only when expanded", () => {
cy.injectAxe();

cy.createSpace({
name: "Child Space",
initial_state: [],
}).then(spaceId => {
cy.createSpace({
name: "Root Space",
initial_state: [
spaceChildInitialState(spaceId),
],
}).as("spaceId");
});
cy.get('.mx_SpacePanel .mx_SpaceButton[aria-label="Root Space"]').should("exist");
cy.get('.mx_SpacePanel .mx_SpaceButton[aria-label="Child Space"]').should("not.exist");

const axeOptions = {
rules: {
// Disable this check as it triggers on nested roving tab index elements which are in practice fine
'nested-interactive': {
enabled: false,
},
},
};
cy.checkA11y(undefined, axeOptions);
cy.get(".mx_SpacePanel").percySnapshotElement("Space panel collapsed", { widths: [68] });

cy.get(".mx_SpaceButton_toggleCollapse").click({ force: true });
cy.get(".mx_SpacePanel:not(.collapsed)").should("exist");

cy.contains(".mx_SpaceItem", "Root Space").should("exist")
.contains(".mx_SpaceItem", "Child Space").should("exist");

cy.checkA11y(undefined, axeOptions);
cy.get(".mx_SpacePanel").percySnapshotElement("Space panel expanded", { widths: [258] });
});
});
32 changes: 32 additions & 0 deletions cypress/e2e/spotlight/spotlight.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ Cypress.Commands.add("startDM", (name: string) => {
cy.openSpotlightDialog().within(() => {
cy.spotlightFilter(Filter.People);
cy.spotlightSearch().clear().type(name);
cy.wait(1000); // wait for the dialog code to settle
cy.get(".mx_Spinner").should("not.exist");
cy.spotlightResults().should("have.length", 1);
cy.spotlightResults().eq(0).should("contain", name);
Expand Down Expand Up @@ -216,6 +217,7 @@ describe("Spotlight", () => {
it("should find joined rooms", () => {
cy.openSpotlightDialog().within(() => {
cy.spotlightSearch().clear().type(room1Name);
cy.wait(1000); // wait for the dialog code to settle
cy.spotlightResults().should("have.length", 1);
cy.spotlightResults().eq(0).should("contain", room1Name);
cy.spotlightResults().eq(0).click();
Expand All @@ -229,6 +231,7 @@ describe("Spotlight", () => {
cy.openSpotlightDialog().within(() => {
cy.spotlightFilter(Filter.PublicRooms);
cy.spotlightSearch().clear().type(room1Name);
cy.wait(1000); // wait for the dialog code to settle
cy.spotlightResults().should("have.length", 1);
cy.spotlightResults().eq(0).should("contain", room1Name);
cy.spotlightResults().eq(0).should("contain", "View");
Expand All @@ -243,6 +246,7 @@ describe("Spotlight", () => {
cy.openSpotlightDialog().within(() => {
cy.spotlightFilter(Filter.PublicRooms);
cy.spotlightSearch().clear().type(room2Name);
cy.wait(1000); // wait for the dialog code to settle
cy.spotlightResults().should("have.length", 1);
cy.spotlightResults().eq(0).should("contain", room2Name);
cy.spotlightResults().eq(0).should("contain", "Join");
Expand All @@ -258,6 +262,7 @@ describe("Spotlight", () => {
cy.openSpotlightDialog().within(() => {
cy.spotlightFilter(Filter.PublicRooms);
cy.spotlightSearch().clear().type(room3Name);
cy.wait(1000); // wait for the dialog code to settle
cy.spotlightResults().should("have.length", 1);
cy.spotlightResults().eq(0).should("contain", room3Name);
cy.spotlightResults().eq(0).should("contain", "View");
Expand Down Expand Up @@ -296,6 +301,7 @@ describe("Spotlight", () => {
cy.openSpotlightDialog().within(() => {
cy.spotlightFilter(Filter.People);
cy.spotlightSearch().clear().type(bot1Name);
cy.wait(1000); // wait for the dialog code to settle
cy.spotlightResults().should("have.length", 1);
cy.spotlightResults().eq(0).should("contain", bot1Name);
cy.spotlightResults().eq(0).click();
Expand All @@ -308,6 +314,7 @@ describe("Spotlight", () => {
cy.openSpotlightDialog().within(() => {
cy.spotlightFilter(Filter.People);
cy.spotlightSearch().clear().type(bot2Name);
cy.wait(1000); // wait for the dialog code to settle
cy.spotlightResults().should("have.length", 1);
cy.spotlightResults().eq(0).should("contain", bot2Name);
cy.spotlightResults().eq(0).click();
Expand All @@ -324,6 +331,7 @@ describe("Spotlight", () => {
cy.openSpotlightDialog().within(() => {
cy.spotlightFilter(Filter.People);
cy.spotlightSearch().clear().type(bot2Name);
cy.wait(1000); // wait for the dialog code to settle
cy.spotlightResults().should("have.length", 1);
cy.spotlightResults().eq(0).should("contain", bot2Name);
cy.spotlightResults().eq(0).click();
Expand Down Expand Up @@ -352,6 +360,7 @@ describe("Spotlight", () => {
cy.openSpotlightDialog().within(() => {
cy.spotlightFilter(Filter.People);
cy.spotlightSearch().clear().type(bot1.getUserId());
cy.wait(1000); // wait for the dialog code to settle
cy.spotlightResults().should("have.length", 2);
cy.spotlightResults().eq(0).should("contain", `${bot1Name} and ${bot2Name}`);
});
Expand All @@ -360,15 +369,37 @@ describe("Spotlight", () => {
cy.openSpotlightDialog().within(() => {
cy.spotlightFilter(Filter.People);
cy.spotlightSearch().clear().type(bot2.getUserId());
cy.wait(1000); // wait for the dialog code to settle
cy.spotlightResults().should("have.length", 2);
cy.spotlightResults().eq(0).should("contain", `${bot1Name} and ${bot2Name}`);
});
});

// Test against https://github.com/vector-im/element-web/issues/22851
it("should show each person result only once", () => {
cy.openSpotlightDialog().within(() => {
cy.spotlightFilter(Filter.People);

// 2 rounds of search to simulate the bug conditions. Specifically, the first search
// should have 1 result (not 2) and the second search should also have 1 result (instead
// of the super buggy 3 described by https://github.com/vector-im/element-web/issues/22851)
//
// We search for user ID to trigger the profile lookup within the dialog.
for (let i = 0; i < 2; i++) {
cy.log("Iteration: " + i);
cy.spotlightSearch().clear().type(bot1.getUserId());
cy.wait(1000); // wait for the dialog code to settle
cy.spotlightResults().should("have.length", 1);
cy.spotlightResults().eq(0).should("contain", bot1.getUserId());
}
});
});

it("should allow opening group chat dialog", () => {
cy.openSpotlightDialog().within(() => {
cy.spotlightFilter(Filter.People);
cy.spotlightSearch().clear().type(bot2Name);
cy.wait(1000); // wait for the dialog code to settle
cy.spotlightResults().should("have.length", 1);
cy.spotlightResults().eq(0).should("contain", bot2Name);
cy.get(".mx_SpotlightDialog_startGroupChat").should("contain", "Start a group chat");
Expand All @@ -390,6 +421,7 @@ describe("Spotlight", () => {
cy.openSpotlightDialog().within(() => {
cy.spotlightFilter(Filter.People);
cy.spotlightSearch().clear().type(bot1Name);
cy.wait(1000); // wait for the dialog code to settle
cy.get(".mx_Spinner").should("not.exist");
cy.spotlightResults().should("have.length", 1);
});
Expand Down
Loading