<commit_before>// ==========================================================================
// Project:   MySystem - mainPage
// Copyright: ©2010 My Company, Inc.
// ==========================================================================
/*globals MySystem LinkIt SCUI */

sc_require('views/node');

// This page describes the main user interface for your application.  
MySystem.mainPage = SC.Page.design({

  // The main pane is made visible on screen as soon as your app is loaded.
  // Add childViews to this pane for views to display immediately on page 
  // load.
  mainPane: SC.MainPane.design({
    childViews: 'systemView'.w(),
    
    systemView: LinkIt.CanvasView.design( SCUI.Cleanup, {
      contentBinding: SC.Binding.from('MySystem.nodesController').oneWay(),
      selectionBinding: 'MySystem.nodesController.selection',
      exampleView: MySystem.NodeView
    })
  })

});<commit_msg>Adds placeholder views for node creation palette and story viewing as SplitViewPanes, with dividers to resize or collapse both.<commit_after>// ==========================================================================
// Project:   MySystem - mainPage
// Copyright: ©2010 My Company, Inc.
// ==========================================================================
/*globals MySystem LinkIt SCUI */

sc_require('views/node');

// This page describes the main user interface for your application.  
MySystem.mainPage = SC.Page.design({

  // The main pane is made visible on screen as soon as your app is loaded.
  // Add childViews to this pane for views to display immediately on page 
  // load.
  mainPane: SC.MainPane.design({
	childViews: 'topView'.w(),
		topView: SC.SplitView.design({
			defaultThickness: 100,
			topLeftView: SC.LabelView.design({ // Node Palette (left)
				layout: { top: 0, bottom: 0, left: 0 },
				anchorLocation: SC.ANCHOR_LEFT,
				textAlign: SC.ALIGN_LEFT,
				fontWeight: SC.BOLD_WEIGHT,
				backgroundColor: 'Navy',
				value: "Placeholder for node palette",
				canCollapse: YES
			}),
			dividerView: SC.SplitDividerView, // Divider for resizing right/left
			bottomRightView: SC.SplitView.design({ // Rest of app (right)
				defaultThickness: 100,
				layoutDirection: SC.LAYOUT_VERTICAL,
				topLeftView: SC.LabelView.design({ // Story section
					layout: { top: 0, right: 0, left: 0 },
					anchorLocation: SC.ANCHOR_TOP,
					textAlign: SC.ALIGN_CENTER,
					backgroundColor: 'White',
					value: "Placeholder for story",
					canCollapse: YES
				}),
				dividerView: SC.SplitDividerView, // Divider for resizing up/down
		    bottomRightView: LinkIt.CanvasView.design( SCUI.Cleanup, { // Workspace
					layout: { top: 100, left: 0, right: 0, bottom: 0 },
		      contentBinding: SC.Binding.from('MySystem.nodesController').oneWay(),
		      selectionBinding: 'MySystem.nodesController.selection',
		      exampleView: MySystem.NodeView
		    })
			})
		})
  })

});
{'fraction_non_alphanumeric': 0.20589242891401166, 'fraction_numerical': 0.008907159986296678, 'mean_word_length': 3.779050736497545, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1542510', 'n_tokens_mistral': 945, 'n_tokens_neox': 796, 'n_words': 238}