notes... ready to start experimenting...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-02-18 15:32:22 +03:00
parent 1370eaa416
commit ca9b1fbe15

View File

@ -1076,21 +1076,7 @@ browse.items.makeSubContext('field',
//
//
// XXX need to open a list (ro/editable) dialog (currently context is used)...
// ...this can be set via options.list but would be nice to provide
// a reasonable default...
// there are several ways this can be done:
// - generic dialogs in browse.js
// ...the quiestion with this approach is that we need the
// resulting dialogs to get wrapped in the same way as the
// parent...
// ...this can be done via inlining or temporarily redrawing....
// - a way to define defaults -- global options?
// - access to the .app -- should be configurable...
// ...it would be quite logical to add .app on init to all
// dialogs created via ImageGrid -- this is not trivial as
// we directly calk browse.* most of the time... (refactoring
// this might be a good excuse to migrate to browse2.js)
// - default methods .showEditableList(..) / .showList(..) on make(..)
// ...IMO the way to go here is to move the non-generic editors to browse...
// XXX if options.open is defined it will fully override the default open
// behavior...
browse.items.field.Toggle =