tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-10-10 18:44:00 +03:00
parent b28191a79f
commit 8c774cacd1
4 changed files with 10 additions and 5 deletions

View File

@ -62,18 +62,18 @@ Promise.all([
// persistent stores... // persistent stores...
// //
store.update('/Stores/local', { store.update('/Stores/localStorage', {
__proto__: localstoragestore.localStorageStore, __proto__: localstoragestore.localStorageStore,
data: localStorage, data: localStorage,
}), }),
store.update('Stores/session', { store.update('Stores/sessionStorage', {
__proto__: localstoragestore.localStorageStore, __proto__: localstoragestore.localStorageStore,
data: sessionStorage, data: sessionStorage,
}), }),
store.update('Stores/pouch', { store.update('Stores/PouchDB', {
__proto__: pouchdbstore.PouchDBStore, __proto__: pouchdbstore.PouchDBStore,
}), }),
store.update('Stores/idb', { store.update('Stores/IndexedDB', {
__proto__: indexeddb.IndexedDBStore, __proto__: indexeddb.IndexedDBStore,
}), }),

View File

@ -1994,7 +1994,7 @@ module.System = {
<macro src="../*:@(all)"> <macro src="../*:@(all)">
<div> <div>
<div class="item"> <div class="item">
<a href="#@source(s ./path)">@source(./title)</a> <a class="tree-page-title" href="#@source(s ./path)">@source(./title)</a>
<a class="show-on-hover" href="#@source(s ./path)/info">&#128712;</a> <a class="show-on-hover" href="#@source(s ./path)/info">&#128712;</a>
<a class="show-on-hover" href="#@source(s ./path)/delete">&times;</a> <a class="show-on-hover" href="#@source(s ./path)/delete">&times;</a>
</div> </div>

View File

@ -160,6 +160,10 @@ body.loading .page.spinner span {
} }
.tree-page-title:empty:after {
content: "/";
}
</style> </style>
<!-- XXX do we need this??? --> <!-- XXX do we need this??? -->

View File

@ -16,6 +16,7 @@
* *
* *
* XXX BUG: can't .get(..) data from substore root... * XXX BUG: can't .get(..) data from substore root...
* ...updating it seems to work fine...
* XXX IndexedDB: after editing a page for some reason we do not see the * XXX IndexedDB: after editing a page for some reason we do not see the
* final version until a full refresh -- cache??? * final version until a full refresh -- cache???
* ...this seems to disappeared after moving external stores * ...this seems to disappeared after moving external stores