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

Gitter sunsetting: Use findPredecessor in EventTileFactory #10075

Merged

Conversation

justjanne
Copy link
Contributor

@justjanne justjanne commented Feb 3, 2023

Type: Task
Fixes: element-hq/element-web#24327

After this, rooms with no predecessor in the create event can still show a RoomPredecessor tile, and it allows jumping back to the old room.

rec-2023-02-03_15 17 27


This change is marked as an internal change (Task), so will not be included in the changelog.

@justjanne justjanne added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Feb 3, 2023
Copy link
Contributor

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you!

@@ -250,7 +250,7 @@ describe("Timeline", () => {
cy.contains(".mx_RoomView_body .mx_EventTile[data-scroll-tokens]", "MessageEdit").should("exist");

// Click top left of the event toggle, which should not be covered by MessageActionBar's safe area
cy.get(".mx_EventTile .mx_ViewSourceEvent")
cy.get(".mx_EventTile:not(:first-child) .mx_ViewSourceEvent")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A comment here to explain this might be helpful - I assume it's because of "show hidden events" as we discussed?

@justjanne justjanne merged commit f1a08cd into develop Feb 3, 2023
@justjanne justjanne deleted the justjanne/task/eventtilefactory-dynamic-predecessor branch February 3, 2023 15:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gitter sunsetting: Use findPredecessor in EventTileFactory
2 participants