mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-21 01:41:31 +00:00
Remove obsolete feature flags (and reformat) (#27)
* Reformat * Remove unused feature flags: graph, cacheOptimizations, settingsPane, throughputOverview, enableNteract
This commit is contained in:
@@ -49,7 +49,12 @@ export class GenericRightPaneComponent extends React.Component<GenericRightPaneP
|
||||
return (
|
||||
<div tabIndex={-1} onKeyDown={this.onKeyDown}>
|
||||
<div className="contextual-pane-out" onClick={this.props.onClose}></div>
|
||||
<div className="contextual-pane" id={this.props.id} style={{ height: this.state.panelHeight }} onKeyDown={this.onKeyDown}>
|
||||
<div
|
||||
className="contextual-pane"
|
||||
id={this.props.id}
|
||||
style={{ height: this.state.panelHeight }}
|
||||
onKeyDown={this.onKeyDown}
|
||||
>
|
||||
<div className="panelContentWrapper">
|
||||
{this.createPanelHeader()}
|
||||
{this.createErrorSection()}
|
||||
@@ -137,5 +142,5 @@ export class GenericRightPaneComponent extends React.Component<GenericRightPaneP
|
||||
private getPanelHeight = (): number => {
|
||||
const notificationConsoleElement: HTMLElement = document.getElementById("explorerNotificationConsole");
|
||||
return window.innerHeight - $(notificationConsoleElement).height();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -110,11 +110,7 @@ export class UploadItemsPaneAdapter implements ReactAdapter {
|
||||
}
|
||||
|
||||
private createContent = (): JSX.Element => {
|
||||
return (
|
||||
<div className="panelContent">
|
||||
{this.createMainContentSection()}
|
||||
</div>
|
||||
);
|
||||
return <div className="panelContent">{this.createMainContentSection()}</div>;
|
||||
};
|
||||
|
||||
private createMainContentSection = (): JSX.Element => {
|
||||
|
||||
Reference in New Issue
Block a user