updated todo...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-01-07 07:32:45 +04:00
parent 6eb2e74f72
commit 8a2e68fd82
2 changed files with 31 additions and 2 deletions

View File

@ -108,8 +108,27 @@ Roadmap
[_] 32% Gen 3 current todo
[_] 64% High priority
[_] 31% Gen 3 current todo
[_] 63% High priority
[_] 52% Panels:
[X] 100% panel constructors
[X] panel
[X] side-panel
[X] sub-panel
[_] 0% panel state
[_] track panel state
[_] use panel state for defaults when opening panels
[_] 58% actions
[_] 33% openPanel
[X] if panel is not loaded load it
[_] if a panel is not open, open it and all parents
| XXX need to open auto-hidden side panels...
[_] focus panel (???)
[_] openPanels
[X] closePanel
| collapse a panel...
[X] removePanel
| remove a panel
[_] BUG: panels: open/close events get triggered on panel drag/sort...
[_] buildcache: add option to control image sort...
[_] ASAP: Need visual indicators for long operations...

View File

@ -417,6 +417,7 @@ function makeSubPanel(title, content, parent, open, content_resizable, close_but
// XXX this should take the state into consideration while opening panels
// and open panels in specific parents and locations, maybe even with
// other neighbor panels...
// XXX update panel state...
function openPanel(panel){
var title = typeof(panel) == typeof('str') ? panel : null
panel = typeof(panel) == typeof('str')
@ -451,11 +452,19 @@ function openPanel(panel){
}
// XXX
// XXX update panel state...
function openPanels(){
// XXX
}
// Close the panel...
//
// NOTE: this does not care if it's a panel or sub-panel...
// XXX do we need a panelRemoved event???
// ...and a symmetrical panelCreated??
// XXX update panel state...
function closePanel(panel){
panel = typeof(panel) == typeof('str')
? getPanel(panel)
@ -474,6 +483,7 @@ function closePanel(panel){
// Remove the panel after firing close events on it and all sub-panels...
//
// XXX update panel state...
function removePanel(panel){
panel = typeof(panel) == typeof('str')
? getPanel(panel)