Rally App SDK

HTML

<script src="https://rally1.rallydev.com/apps/2.0p/sdk-debug.js"></script>
<script src="https://raw.github.com/lmaccherone/Lumenize/master/deploy/lumenize.js"></script>
<!DOCTYPE html>
<html>
<head>
    <title>LookbackApp</title>
</head>
<body>
</body>
</html>

Vue

//--------------------- App.js ------------------
Ext.define('CustomApp', {
    extend: 'Rally.app.App',
    componentCls: 'app',
    layout: {
        type: 'vbox',
        align: 'stretch'
    },
    items:[
        {
            xtype: 'panel',
            layout: 'anchor',
            border: true,
            fieldDefaults: {
                labelWidth: 40
            },
            defaultType: 'textfield',
            bodyPadding: 5,
            items: [
                {
                    fieldLabel: 'Query',
                    itemId: 'queryField',
                    anchor:'100%',
                    width: 700,
                    height: 100,
                    xtype: 'textarea',
                    value: '{\n'+
                            '    "ObjectID": {$gt:0},\n'+
                            '    "__At": "current"\n'+
                            '}'
                },
                {
                    fieldLabel: 'Fields',
                    itemId: 'fieldsField',
                    anchor: '100%',
                    width: 700,
                    value: "ObjectID, _ValidFrom, _UnformattedID, Name"
                },
                {
                    fieldLabel: 'Sort',
                    itemId: 'sortField',
                    anchor: '100%',
                    width: 700,
                    value: "{'ObjectID' : -1, '_ValidFrom': 1}"
                },
                {
                    fieldLabel: 'Page Size',
                    itemId: 'pageSizeField',
                    anchor: '100%',
                    width: 700,
                    value: '10'
                }
            ],
            
            buttons: [
                {
                    xtype: 'rallybutton',
                    text: 'Search',
                    itemId: 'searchButton'
                }
            ]
        },
        {
            xtype: 'panel',
            itemId: 'gridHolder',
            layout: 'fit',
            height:...