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

Fix thread navigation in timeline #12412

Merged
merged 3 commits into from
Apr 12, 2024
Merged

Conversation

florianduros
Copy link
Contributor

@florianduros florianduros commented Apr 11, 2024

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
Copy link
Member

@dbkr dbkr left a comment

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
42 checks passed
@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