@@ -3,8 +3,6 @@ import { IconNames } from '@blueprintjs/icons';
33import classNames from 'classnames' ;
44import { Chapter , Variant } from 'js-slang/dist/types' ;
55import * as React from 'react' ;
6- import { ExternalLibraryName } from 'src/commons/application/types/ExternalTypes' ;
7- import SideContentVideoDisplay from 'src/commons/sideContent/SideContentVideoDisplay' ;
86
97import {
108 defaultWorkspaceManager ,
@@ -30,7 +28,6 @@ import { Position } from '../../../../commons/editor/EditorTypes';
3028import Markdown from '../../../../commons/Markdown' ;
3129import { SideContentProps } from '../../../../commons/sideContent/SideContent' ;
3230import SideContentAutograder from '../../../../commons/sideContent/SideContentAutograder' ;
33- import SideContentToneMatrix from '../../../../commons/sideContent/SideContentToneMatrix' ;
3431import { SideContentTab , SideContentType } from '../../../../commons/sideContent/SideContentTypes' ;
3532import { history } from '../../../../commons/utils/HistoryHelper' ;
3633import Workspace , { WorkspaceProps } from '../../../../commons/workspace/Workspace' ;
@@ -344,29 +341,6 @@ class GradingWorkspace extends React.Component<GradingWorkspaceProps, State> {
344341 }
345342 ] ;
346343
347- const externalLibrary = props . grading ! [ questionId ] . question . library . external ;
348- const functionsAttached = externalLibrary . symbols ;
349- if ( functionsAttached . includes ( 'get_matrix' ) ) {
350- tabs . push ( {
351- label : `Tone Matrix` ,
352- iconName : IconNames . GRID_VIEW ,
353- body : < SideContentToneMatrix /> ,
354- id : SideContentType . toneMatrix
355- } ) ;
356- }
357-
358- if (
359- externalLibrary . name === ExternalLibraryName . PIXNFLIX ||
360- externalLibrary . name === ExternalLibraryName . ALL
361- ) {
362- tabs . push ( {
363- label : 'Video Display' ,
364- iconName : IconNames . MOBILE_VIDEO ,
365- body : < SideContentVideoDisplay replChange = { props . handleSendReplInputToOutput } /> ,
366- id : SideContentType . videoDisplay
367- } ) ;
368- }
369-
370344 const sideContentProps : SideContentProps = {
371345 onChange : (
372346 newTabId : SideContentType ,
0 commit comments