minor tweaks + work on preact render...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-07-02 04:36:39 +03:00
parent b0590c95d5
commit 3079786663
4 changed files with 51 additions and 0 deletions

View File

@ -314,6 +314,11 @@ body {
border-bottom: solid 7px rgba(255, 255, 0, 0.5);
}
*/
/* XXX not sure about these... */
.browse-widget.save-history,
.browse-widget.location-history {
border-bottom: solid 7px rgba(0, 0, 255, 0.2);
}
/* XXX experimental key mappings... */
.browse-widget.browse-actions.show-keys .list .item:after {

View File

@ -1503,6 +1503,8 @@ var FileSystemSaveHistoryUIActions = actions.Actions({
dialog.select()
.addClass('highlighted')
})
}, {
cls: 'save-history',
})
.on('open', function(){
o.close()

View File

@ -623,6 +623,7 @@ var URLHistoryUIActions = actions.Actions({
.addClass('highlighted') })
},
{
cls: 'location-history',
// NOTE: we are not using path: here because it will parse
// the current element as a path, and we need it as-is...
selected: cur,

View File

@ -30,6 +30,49 @@ var ribbons = require('imagegrid/ribbons')
/*********************************************************************/
// Preact Components...
//
// XXX at this point this is an experiment...
// XXX Questions:
// - do we do align in the Preact render or outside?
// - do we update preview in Preact render or outside?
//
// render:
// - ribbon-set
// - ribbon-locator
// - current-indicator (???)
class IGRibbonSet extends preact.Component {
render(props, state){
}
}
// render:
// - ribbon
// - images
// - image marks
class IGRibbon extends preact.Component {
render(props, state){
}
}
// render:
// - image
class IGImage extends preact.Component {
render(props, state){
}
}
// render:
// - image mark
class IGImageMark extends preact.Component {
render(props, state){
}
}
//---------------------------------------------------------------------
var RibbonsClassPrototype = {
// XXX