Improve Thread View UI (#7063)

This commit is contained in:
Germain 2021-11-02 13:18:51 +00:00 committed by GitHub
parent 351c426d2a
commit 0bae79d3c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 222 additions and 42 deletions

View file

@ -128,7 +128,10 @@ export default class RoomHeaderButtons extends HeaderButtons<IProps> {
name="threadsButton"
title={_t("Threads")}
onClick={dispatchShowThreadsPanelEvent}
isHighlighted={this.isPhase(RightPanelPhases.ThreadPanel)}
isHighlighted={this.isPhase([
RightPanelPhases.ThreadPanel,
RightPanelPhases.ThreadView,
])}
analytics={['Right Panel', 'Threads List Button', 'click']}
/> }
<HeaderButton