* TODO notes

* Add final prep to default to "No" -- this should be menu.hjson controled in the future
This commit is contained in:
Bryan Ashby 2016-07-04 12:56:54 -06:00
parent ce1d3e6a7e
commit 7ab61ac641
1 changed files with 14 additions and 0 deletions

View File

@ -14,6 +14,15 @@ const async = require('async');
const _ = require('lodash'); const _ = require('lodash');
const moment = require('moment'); const moment = require('moment');
/*
Module :TODO:
* Add pipe code support
- override max length & monitor *display* len as user types in order to allow for actual display len with color
* Add preview control: Shows preview with pipe codes resolved
* Add ability to at least alternate formatStrings -- every other
*/
exports.moduleInfo = { exports.moduleInfo = {
name : 'Onelinerz', name : 'Onelinerz',
desc : 'Standard local onelinerz', desc : 'Standard local onelinerz',
@ -147,6 +156,11 @@ function OnelinerzModule(options) {
entriesView.focusItems = entriesView.items; // :TODO: this is a hack entriesView.focusItems = entriesView.items; // :TODO: this is a hack
entriesView.redraw(); entriesView.redraw();
return callback(null);
},
function finalPrep(callback) {
const promptView = self.viewControllers.view.getView(MciCodeIds.ViewForm.AddPrompt);
promptView.setFocusItemIndex(1); // default to NO
return callback(null); return callback(null);
} }
], ],