Make left panel better for new users (mk II) - #3804
Conversation
|
(Tests failing because of changes required in react-sdk) |
|
|
||
| var label = this.props.collapsed ? null : this.props.label; | ||
|
|
||
| //console.log("render: " + JSON.stringify(this.state.sortedList)); |
| target = <RoomDropTarget label={ 'Drop here to ' + this.props.verb }/>; | ||
| let content; | ||
| if (this.state.sortedList.length == 0) { | ||
| //content = <RoomDropTarget label={ 'Drop here to ' + this.props.verb }/>; |
There was a problem hiding this comment.
This implies that it will always be "Drop here to ...". Not sure how useful that would be
|
@dbkr I forgot to mention that the padding around the text isn't even: |
|
And also, there's no chevron as per the design that points to the Room sublist header |
|
Yeah, I've left Matthew to do the chevron as it'll require a special SVG to be drawn. |
|
and I think the padding is even, it's just that it's left-justified - either way I was going to leave matthew to tweak the CSS |
|
Fair enough. @ara4n I think the buttons could do with |
|
Oh I see what you mean, yes (I went with -3 as it looked better to me, easy to tweak though) |
…el_for_newbies_2"" This reverts commit 3cead03.

Implements #3609
Adds RoleButton to reduce duplication as we now have up to 3 copies of the same button.
Requires matrix-org/matrix-react-sdk#859