* Cleanup on msg view config

This commit is contained in:
Bryan Ashby 2015-10-09 19:27:43 -06:00
parent a3ba9b0252
commit 0fd9df3821
1 changed files with 23 additions and 48 deletions

View File

@ -567,21 +567,16 @@
messageAreaViewPost: { messageAreaViewPost: {
module: msg_area_view_fse module: msg_area_view_fse
// :TODO: remove once default fallback is in place
fallback: messageArea
config: { config: {
art: { art: {
header: MSGVHDR header: MSGVHDR
// :TODO: fix these!!
body: MSGBODY body: MSGBODY
footerEdit: demo_fse_netmail_footer_edit.ans
footerEditMenu: demo_fse_netmail_footer_edit_menu.ans
footerView: MSGVFTR footerView: MSGVFTR
help: MSGVHLP help: MSGVHLP
}, },
editorMode: view editorMode: view
editorType: area editorType: area
}, }
form: { form: {
0: { 0: {
mci: { mci: {
@ -603,46 +598,32 @@
"action" : "@method:editModeEscPressed" "action" : "@method:editModeEscPressed"
} }
] ]
}, }
"actionKeys" : [ actionKeys: [
{ {
"keys" : [ "escape" ], keys: [ "escape" ]
"viewId" : 1 viewId: 1
} }
] ]
}, }
"2" : { 2: {
"TLTL" : { TLTL: {
"mci" : { mci: {
"TL1" : { TL1: { width: 5 }
"width" : 5 TL2: { width: 4 }
},
"TL2" : {
"width" : 4
}
} }
} }
}, }
4: { 4: {
mci: { mci: {
HM1: { HM1: {
// :TODO: (#)Jump/(L)Index (msg list)/Last // :TODO: (#)Jump/(L)Index (msg list)/Last
items: [ // (p)rev, (n)ext, (r)eply, (q)uit/ESC, (?)help
// (P)revious items: [ "prev", "next", "reply", "quit", "help" ]
prev
// (N)ext
next
// (R)reply
reply
// (Q)uit (ESC)
quit
// (?)Help
help
]
} }
}, }
"submit" : { submit: {
"*" : [ *: [
{ {
value: { 1: 0 } value: { 1: 0 }
action: @method:prevMessage action: @method:prevMessage
@ -667,15 +648,8 @@
action: @method:viewModeMenuHelp action: @method:viewModeMenuHelp
} }
] ]
}, }
"actionKeys" : [ actionKeys: [
/*
{
"keys" : [ "escape" ],
"action" : "@method:editModeEscPressed" // :TODO: fixme
},
*/
// :TODO: Need similar to viewId for actionKeys for specifis, e.g. viewId + index type stuff
{ {
keys: [ "p", "shift + p" ] keys: [ "p", "shift + p" ]
action: @method:prevMessage action: @method:prevMessage
@ -693,15 +667,16 @@
} }
{ {
keys: [ "escape", "q", "shift + q" ] keys: [ "escape", "q", "shift + q" ]
action: @menu:messageArea action: @systemMethod:fallbackMenu
//action: @menu:messageArea
} }
{ {
keys: [ "?" ] keys: [ "?" ]
action: @method:viewModeMenuHelp action: @method:viewModeMenuHelp
} }
{ {
"keys" : [ "down arrow", "up arrow", "page up", "page down" ], keys: [ "down arrow", "up arrow", "page up", "page down" ]
"action" : "@method:movementKeyPressed" action: @method:movementKeyPressed
} }
] ]
} }