Add to menu

This commit is contained in:
Bryan Ashby 2020-11-24 13:15:22 -07:00
parent 1e2b6ae934
commit c944e97699
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
3 changed files with 11 additions and 6 deletions

Binary file not shown.

View File

@ -988,8 +988,8 @@ exports.FullScreenEditorModule = exports.getModule = class FullScreenEditorModul
}); });
}, },
(callback) => { (callback) => {
const artSpec = this.menuConfig.config.art.dlQueueAdd || const artSpec = this.menuConfig.config.art.expToDlQueue ||
Buffer.from('Exported message added to download queue'); Buffer.from('Exported message has been added to your download queue!');
this.displayAsset( this.displayAsset(
artSpec, artSpec,
{ clearScreen : true }, { clearScreen : true },

View File

@ -481,6 +481,7 @@
body: MSGBODY body: MSGBODY
footerView: MSGVFTR footerView: MSGVFTR
help: MSGVHLP help: MSGVHLP
expToDlQueue: mb_export_dl_queue
}, },
editorMode: view editorMode: view
editorType: area editorType: area
@ -525,7 +526,7 @@
mci: { mci: {
HM1: { HM1: {
// :TODO: (#)Jump/(L)Index (msg list)/Last // :TODO: (#)Jump/(L)Index (msg list)/Last
items: [ "prev", "next", "reply", "quit", "help" ] items: [ "prev", "next", "reply", "quit", "download", "help" ]
focusItemIndex: 1 focusItemIndex: 1
} }
} }
@ -552,6 +553,10 @@
} }
{ {
value: { 1: 4 } value: { 1: 4 }
action: @method:addToDownloadQueue
}
{
value: { 1: 5 }
action: @method:viewModeMenuHelp action: @method:viewModeMenuHelp
} }
] ]