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

Fix thread navigation in timeline - #12412

Merged
florianduros merged 3 commits into
developfrom
florianduros/fix/thread-panel
Apr 12, 2024
Merged

Fix thread navigation in timeline#12412
florianduros merged 3 commits into
developfrom
florianduros/fix/thread-panel

Conversation

@florianduros

@florianduros florianduros commented Apr 11, 2024

Copy link
Copy Markdown
Contributor

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • Sign-off given on the changes (see CONTRIBUTING.md).

Closes element-hq/element-web#27271

The deleted code seems to only cause trouble. I added an e2e test which is opening thread from the main timeline, closing thread, displaying the threads panel, opening threads from the thread panel.

This test https://github.com/matrix-org/matrix-react-sdk/blob/develop/playwright/e2e/read-receipts/new-messages.spec.ts#L233 is opening thread from the URL (jumpTo).

@florianduros florianduros added the T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems label Apr 11, 2024
@florianduros florianduros changed the title Fix thread back button Fix thread navigation in timeline Apr 11, 2024

@dbkr dbkr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for adding the playwright test

@florianduros
florianduros added this pull request to the merge queue Apr 12, 2024
Merged via the queue into develop with commit aadb463 Apr 12, 2024
@florianduros
florianduros deleted the florianduros/fix/thread-panel branch April 12, 2024 09:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't go back to threads overview after selecting a thread in the timeline while one is already open

2 participants