@@ -21,7 +21,6 @@ import { Node } from '../common/Node';
2121import { NodeComponent } from './node/node.component' ;
2222import { NodeNavigationComponent } from '../directives/node-navigation/node-navigation.component' ;
2323import { NodeStatusService } from '../services/nodeStatusService' ;
24- import { NotebookNotesComponent } from '../../../app/notebook/notebook-notes/notebook-notes.component' ;
2524import { NotebookReportComponent } from '../../../app/notebook/notebook-report/notebook-report.component' ;
2625import { NotebookService } from '../services/notebookService' ;
2726import { NotificationService } from '../services/notificationService' ;
@@ -49,7 +48,6 @@ import { BreakpointObserver } from '@angular/cdk/layout';
4948 NavigationComponent ,
5049 NodeComponent ,
5150 NodeNavigationComponent ,
52- NotebookNotesComponent ,
5351 NotebookReportComponent ,
5452 RunEndedAndLockedMessageComponent ,
5553 SafeUrl ,
@@ -67,11 +65,10 @@ export class VLEComponent implements AfterViewInit {
6765 protected chatbotVisible : boolean = false ;
6866 protected currentNode : Node ;
6967 @ViewChild ( 'defaultVLETemplate' ) private defaultVLETemplate : TemplateRef < any > ;
70- @ViewChild ( 'drawer' ) public drawer : any ;
7168 protected initialized : boolean ;
7269 private isSurvey : boolean ;
7370 protected layoutState : string ;
74- private mdScreen : boolean ;
71+ protected mdScreen : boolean ;
7572 protected notebookConfig : any ;
7673 protected notesEnabled : boolean = false ;
7774 protected notesVisible : boolean = false ;
@@ -205,14 +202,9 @@ export class VLEComponent implements AfterViewInit {
205202 return convertToPNGFile ( canvas ) ;
206203 }
207204
208- closeNotes ( ) : void {
209- this . notebookService . closeNotes ( ) ;
210- }
211-
212205 private initializeSubscriptions ( ) : void {
213206 this . subscribeToShowSessionWarning ( ) ;
214207 this . subscribeToCurrentNodeChanged ( ) ;
215- this . subscribeToNotesVisible ( ) ;
216208 this . subscribeToReportFullScreen ( ) ;
217209 this . subscribeToViewCurrentAmbientNotification ( ) ;
218210 this . subscriptions . add ( this . projectService . projectParsed$ . subscribe ( ( ) => this . setProject ( ) ) ) ;
@@ -269,19 +261,6 @@ export class VLEComponent implements AfterViewInit {
269261 ) ;
270262 }
271263
272- private subscribeToNotesVisible ( ) : void {
273- this . subscriptions . add (
274- this . notebookService . notesVisible$ . subscribe ( ( notesVisible : boolean ) => {
275- this . notesVisible = notesVisible ;
276- if ( this . notesVisible ) {
277- this . drawer . open ( ) ;
278- } else {
279- this . drawer . close ( ) ;
280- }
281- } )
282- ) ;
283- }
284-
285264 private subscribeToReportFullScreen ( ) : void {
286265 this . subscriptions . add (
287266 this . notebookService . reportFullScreen$ . subscribe ( ( full : boolean ) => {
0 commit comments