move room preview bar below timeline

pull/21833/head
Bruno Windels 2019-04-10 17:49:45 +02:00
parent 6c8b93049d
commit 4e8b3c34c0
1 changed files with 25 additions and 25 deletions

View File

@ -1530,7 +1530,9 @@ module.exports = React.createClass({
e2eStatus={this.state.e2eStatus}
/>
<div className="mx_RoomView_body">
<div className="mx_RoomView_auxPanel">
<div className="mx_RoomView_auxPanel"></div>
</div>
<div className="mx_RoomView_messagePanel"></div>
<RoomPreviewBar onJoinClick={this.onJoinButtonClicked}
onForgetClick={this.onForgetClick}
onRejectClick={this.onRejectThreepidInviteButtonClicked}
@ -1543,9 +1545,6 @@ module.exports = React.createClass({
room={this.state.room}
/>
</div>
</div>
<div className="mx_RoomView_messagePanel"></div>
</div>
);
}
}
@ -1578,7 +1577,9 @@ module.exports = React.createClass({
e2eStatus={this.state.e2eStatus}
/>
<div className="mx_RoomView_body">
<div className="mx_RoomView_auxPanel">
<div className="mx_RoomView_auxPanel"></div>
</div>
<div className="mx_RoomView_messagePanel"></div>
<RoomPreviewBar onJoinClick={this.onJoinButtonClicked}
onForgetClick={this.onForgetClick}
onRejectClick={this.onRejectButtonClicked}
@ -1589,9 +1590,6 @@ module.exports = React.createClass({
room={this.state.room}
/>
</div>
</div>
<div className="mx_RoomView_messagePanel"></div>
</div>
);
}
}
@ -1646,6 +1644,7 @@ module.exports = React.createClass({
const hiddenHighlightCount = this._getHiddenHighlightCount();
let aux = null;
let previewBar;
let hideCancel = false;
if (this.state.forwardingEvent !== null) {
aux = <ForwardMessage onCancelClick={this.onCancelClick} />;
@ -1673,7 +1672,7 @@ module.exports = React.createClass({
invitedEmail = this.props.thirdPartyInvite.invitedEmail;
}
hideCancel = true;
aux = (
previewBar = (
<RoomPreviewBar onJoinClick={this.onJoinButtonClicked}
onForgetClick={this.onForgetClick}
onRejectClick={this.onRejectThreepidInviteButtonClicked}
@ -1895,6 +1894,7 @@ module.exports = React.createClass({
{ statusBar }
</div>
</div>
{ previewBar }
{ messageComposer }
</div>
</MainSplit>