Skip to content

Commit a623430

Browse files
authored
Merge pull request element-hq#2182 from vector-im/matthew/right-panel-collapse
shuffle bottomleftmenu around a bit
2 parents eb2a554 + b247c8a commit a623430

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/structures/BottomLeftMenu.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ module.exports = React.createClass({
101101
return (
102102
<div className="mx_BottomLeftMenu">
103103
<div className="mx_BottomLeftMenu_options">
104+
<div className="mx_BottomLeftMenu_people" onClick={ this.onPeopleClick } onMouseEnter={ this.onPeopleMouseEnter } onMouseLeave={ this.onPeopleMouseLeave } >
105+
<TintableSvg src="img/icons-people.svg" width="25" height="25" />
106+
{ this.getLabel("Chat to someone", this.state.peopleHover) }
107+
</div>
104108
<div className="mx_BottomLeftMenu_directory" onClick={ this.onDirectoryClick } onMouseEnter={ this.onDirectoryMouseEnter } onMouseLeave={ this.onDirectoryMouseLeave } >
105109
<TintableSvg src="img/icons-directory.svg" width="25" height="25"/>
106110
{ this.getLabel("Room directory", this.state.directoryHover) }
@@ -109,10 +113,6 @@ module.exports = React.createClass({
109113
<TintableSvg src="img/icons-create-room.svg" width="25" height="25" />
110114
{ this.getLabel("Create new room", this.state.roomsHover) }
111115
</div>
112-
<div className="mx_BottomLeftMenu_people" onClick={ this.onPeopleClick } onMouseEnter={ this.onPeopleMouseEnter } onMouseLeave={ this.onPeopleMouseLeave } >
113-
<TintableSvg src="img/icons-people.svg" width="25" height="25" />
114-
{ this.getLabel("New direct message", this.state.peopleHover) }
115-
</div>
116116
<div className="mx_BottomLeftMenu_settings" onClick={ this.onSettingsClick } onMouseEnter={ this.onSettingsMouseEnter } onMouseLeave={ this.onSettingsMouseLeave } >
117117
<TintableSvg src="img/icons-settings.svg" width="25" height="25" />
118118
{ this.getLabel("Settings", this.state.settingsHover) }

src/components/structures/RightPanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = React.createClass({
2929
propTypes: {
3030
userId: React.PropTypes.string, // if showing an orphaned MemberInfo page, this is set
3131
roomId: React.PropTypes.string, // if showing panels for a given room, this is set
32-
collapsed: React.PropTypes.bool,
32+
collapsed: React.PropTypes.bool, // currently unused property to request for a minimized view of the panel
3333
},
3434

3535
Phase : {

0 commit comments

Comments
 (0)