You've already forked matrix-react-sdk
							
							
				mirror of
				https://github.com/matrix-org/matrix-react-sdk.git
				synced 2025-10-31 01:45:39 +03:00 
			
		
		
		
	History based navigation with new right panel store (#7398)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
		| @@ -27,7 +27,6 @@ import { logger } from "matrix-js-sdk/src/logger"; | ||||
| import { MatrixClientPeg } from '../../MatrixClientPeg'; | ||||
| import EventIndexPeg from "../../indexing/EventIndexPeg"; | ||||
| import { _t } from '../../languageHandler'; | ||||
| import { RightPanelPhases } from "../../stores/right-panel/RightPanelStorePhases"; | ||||
| import DesktopBuildsNotice, { WarningKind } from "../views/elements/DesktopBuildsNotice"; | ||||
| import BaseCard from "../views/right_panel/BaseCard"; | ||||
| import { replaceableComponent } from "../../utils/replaceableComponent"; | ||||
| @@ -221,7 +220,6 @@ class FilePanel extends React.Component<IProps, IState> { | ||||
|             return <BaseCard | ||||
|                 className="mx_FilePanel mx_RoomView_messageListWrapper" | ||||
|                 onClose={this.props.onClose} | ||||
|                 previousPhase={RightPanelPhases.RoomSummary} | ||||
|             > | ||||
|                 <div className="mx_RoomView_empty"> | ||||
|                     { _t("You must <a>register</a> to use this functionality", | ||||
| @@ -234,7 +232,6 @@ class FilePanel extends React.Component<IProps, IState> { | ||||
|             return <BaseCard | ||||
|                 className="mx_FilePanel mx_RoomView_messageListWrapper" | ||||
|                 onClose={this.props.onClose} | ||||
|                 previousPhase={RightPanelPhases.RoomSummary} | ||||
|             > | ||||
|                 <div className="mx_RoomView_empty">{ _t("You must join the room to see its files") }</div> | ||||
|             </BaseCard>; | ||||
| @@ -258,7 +255,6 @@ class FilePanel extends React.Component<IProps, IState> { | ||||
|                     <BaseCard | ||||
|                         className="mx_FilePanel" | ||||
|                         onClose={this.props.onClose} | ||||
|                         previousPhase={RightPanelPhases.RoomSummary} | ||||
|                         withoutScrollContainer | ||||
|                     > | ||||
|                         <DesktopBuildsNotice isRoomEncrypted={isRoomEncrypted} kind={WarningKind.Files} /> | ||||
| @@ -285,7 +281,6 @@ class FilePanel extends React.Component<IProps, IState> { | ||||
|                     <BaseCard | ||||
|                         className="mx_FilePanel" | ||||
|                         onClose={this.props.onClose} | ||||
|                         previousPhase={RightPanelPhases.RoomSummary} | ||||
|                     > | ||||
|                         <Spinner /> | ||||
|                     </BaseCard> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user