mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-31 02:50: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...
 | 	// this is shown by most listers by adding an :all argument to the url...
 | ||||||
| 	'.hidden': { | 	'.hidden': { | ||||||
| 		text: 'Hidden page...' }, | 		text: 'Hidden page...' }, | ||||||
|  | 	'.hidden/subpage': { | ||||||
|  | 		text: 'visible subpage...' }, | ||||||
|  | 	'.hidden/.hidden': { | ||||||
|  | 		text: 'hidden subpage...' }, | ||||||
| 
 | 
 | ||||||
| 	slots: { | 	slots: { | ||||||
| 		text: object.doc` | 		text: object.doc` | ||||||
|  | |||||||
| @ -358,6 +358,9 @@ module.BaseStore = { | |||||||
| 						// skip metadata paths...
 | 						// skip metadata paths...
 | ||||||
| 						if(p.includes('*')){ | 						if(p.includes('*')){ | ||||||
| 							return res } | 							return res } | ||||||
|  | 						// XXX HIDE .hide_paths
 | ||||||
|  | 						if(pwpath.basename(p)[0] == '.'  | ||||||
|  | 						/*/ | ||||||
| 						if((pwpath.basename(p)[0] == '.'  | 						if((pwpath.basename(p)[0] == '.'  | ||||||
| 									// XXX CACHE this???
 | 									// XXX CACHE this???
 | ||||||
| 									|| (that.hide_paths | 									|| (that.hide_paths | ||||||
| @ -365,6 +368,7 @@ module.BaseStore = { | |||||||
| 											.reduce(function(res, h){ | 											.reduce(function(res, h){ | ||||||
| 												return res === true | 												return res === true | ||||||
| 													|| p.startsWith(h) }, false))) | 													|| p.startsWith(h) }, false))) | ||||||
|  | 						//*/
 | ||||||
| 								&& !all){ | 								&& !all){ | ||||||
| 							return res } | 							return res } | ||||||
| 						var m = p.match(pattern) | 						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 BUG: .hide_paths:  | ||||||
| * XXX HIDE revise .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 Q: can we access fs from a pwa??? | ||||||
| * XXX start writing docs in pwiki | * XXX start writing docs in pwiki | ||||||
| * 		- WYSIWYG markdown editor/viewer (ASAP) | * 		- WYSIWYG markdown editor/viewer (ASAP) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user