element-hq / element-hq/element-web

Clicking thread preview in main timeline should toggle the threads panel

Open
#25,580 3 comments 0 reactions 0 assignees View on GitHub
A-Threads T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

Currently clicking a thread preview in the main timeline only opens or switches threads.

![Peek 2023-06-13 13-36](https://github.com/vector-im/element-web/assets/6216686/d3601415-1750-41d0-b909-4555e9e859da)

This request suggests to toggle threads:

Thread preview in main timeline click behaviour:
- Thread panel not open → open thread panel and show thread (current behaviour)
- Thread panel open with other thread → switch to thread in thread panel (current behaviour)
- Thread panel open with same thread → close thread panel (new)

Why would I want to do that? When I see a thread, I want to take a look and then close it to get rid of the threads panel and keeps things tidy.

### Have you considered any alternatives?

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.