mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 10:00:08 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
b29248bf49
commit
4bf7d8f27a
@ -2021,6 +2021,10 @@ module.Test = {
|
||||
// this is shown by most listers by adding an :all argument to the url...
|
||||
'.hidden': {
|
||||
text: 'Hidden page...' },
|
||||
'.hidden/subpage': {
|
||||
text: 'visible subpage...' },
|
||||
'.hidden/.hidden': {
|
||||
text: 'hidden subpage...' },
|
||||
|
||||
slots: {
|
||||
text: object.doc`
|
||||
|
||||
@ -358,6 +358,9 @@ module.BaseStore = {
|
||||
// skip metadata paths...
|
||||
if(p.includes('*')){
|
||||
return res }
|
||||
// XXX HIDE .hide_paths
|
||||
if(pwpath.basename(p)[0] == '.'
|
||||
/*/
|
||||
if((pwpath.basename(p)[0] == '.'
|
||||
// XXX CACHE this???
|
||||
|| (that.hide_paths
|
||||
@ -365,6 +368,7 @@ module.BaseStore = {
|
||||
.reduce(function(res, h){
|
||||
return res === true
|
||||
|| p.startsWith(h) }, false)))
|
||||
//*/
|
||||
&& !all){
|
||||
return res }
|
||||
var m = p.match(pattern)
|
||||
|
||||
12
pwiki2.js
12
pwiki2.js
@ -1,8 +1,16 @@
|
||||
/**********************************************************************
|
||||
*
|
||||
*
|
||||
* XXX changing the URL does not start the spinner...
|
||||
* XXX HIDE revise .hide_paths...
|
||||
* XXX BUG: .hide_paths:
|
||||
* - hidden dir should hide all the children -- BROKEN
|
||||
* (see /.hidden/suppage)
|
||||
* - listing a hidden subtree should work regardless of :all -- BROKEN
|
||||
* (see: /.hidden/tree)
|
||||
* XXX BUG: changing the URL does not start the spinner...
|
||||
* chech:
|
||||
* - url (hashchange)
|
||||
* - click link
|
||||
* - history back/foreward
|
||||
* XXX Q: can we access fs from a pwa???
|
||||
* XXX start writing docs in pwiki
|
||||
* - WYSIWYG markdown editor/viewer (ASAP)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user