Main force
Looking back at our design, the main view is the container for the rest of the UI in our application. It looks like this:
// app/view/main/Main.js Ext.define('Postcard.view.main.Main', { extend: 'Ext.Panel', xtype: 'app-main', plugins: ['viewport', 'responsive'], controller: 'main', viewModel: 'main', session: true, responsiveConfig: { 'tall': { layout: { type: 'card' } }, 'wide': { layout: { type: 'hbox', align: 'stretch' } } }, dockedItems: [ { xtype: 'app-header' }, { dock: 'bottom', xtype: 'button', cls: 'logout', overCls: '', focusCls: '', text: 'Logout' } ], items: [ { xtype: 'threads', flex: 1 }, { xtype: 'container', flex: 1, defaults: { hidden: true }, items: [ { xtype...