Testing the task log interface
Before running the application and testing your new files, you need to add the TaskLogController
as well as the new stores and models to your Application.js
file:
controllers: [ 'MainController', 'UserController', 'TaskLogController' ], models: [ 'User', 'Project', 'Task', 'TaskLog' ], stores: [ 'User', 'Project', 'Task', 'TaskLog' ]
You also need to add the ManageTaskLogs
view to the MainCards
view's items
array as shown:
Ext.define('TTT.view.MainCards', {
extend: 'Ext.container.Container',
xtype: 'maincards',
requires: ['Ext.layout.container.Card', 'TTT.view.Welcome', 'TTT.view.user.ManageUsers', 'TTT.view.tasklog.ManageTaskLogs'],
layout: 'card',
initComponent: function() {
var me = this;
Ext.applyIf(me, {
...