mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 03:50:16 +00:00 
			
		
		
		
	updated todo and several minor edits and preparatoins for later work...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									7a8c71c9e0
								
							
						
					
					
						commit
						26ff9a5fee
					
				
							
								
								
									
										31
									
								
								TODO.otl
									
									
									
									
									
								
							
							
						
						
									
										31
									
								
								TODO.otl
									
									
									
									
									
								
							| @ -1,31 +1,27 @@ | ||||
| [_] 31% Priority work | ||||
| [_] 34% Priority work | ||||
| 	[_] 0% TouchSwipe issues... | ||||
| 		[_] BUG: swipe-back does not cancel a swipe... (TouchSwipe) | ||||
| 		| ...unless the finger is return to within the threshold of the  | ||||
| 		| touchdown point. | ||||
| 		[_] BUG: no drag threshold on excludedElements (TouchSwipe) | ||||
| 		| stalled... | ||||
| 	[_] 62% general todo | ||||
| 	[_] 80% general todo | ||||
| 		[_] magazine loader and data format... | ||||
| 		[_] make layer default state configurable... | ||||
| 		| e.g. setting "shown"/"hidden" classes in HTML and adding  | ||||
| 		| something like a page reset that will restore the default state, | ||||
| 		| rather than the current "hideLayers" | ||||
| 		| this is simple, just use a restyled magazine viewer... | ||||
| 		[_] 0% populate an example issue | ||||
| 			[_] template photo page | ||||
| 			[_] template 3x3 grid | ||||
| 			[_] template two column text | ||||
| 		[_] time transitions | ||||
| 		| the goal is for slow devices to seem not to have animations at | ||||
| 		| all and faster ones to seem to have fast animations... | ||||
| 		[_] vanquish opacity effects | ||||
| 		| they slow everything down considerably! | ||||
| 		[_] make pages of different formats work... | ||||
| 		[_] add keyboard navigation... | ||||
| 		[_] find a passive CSS-only way to size pages in different modes... | ||||
| 		[_] BUG: href to existing anchors will mess up layout... | ||||
| 		| need to find out how can we disable anchor links from actually | ||||
| 		| going to the anchor... | ||||
| 		[_] make layer default state configurable... | ||||
| 		| e.g. setting "shown"/"hidden" classes in HTML and adding  | ||||
| 		| something like a page reset that will restore the default state, | ||||
| 		| rather than the current "hideLayers" | ||||
| 		[X] vanquish opacity effects | ||||
| 		| they slow everything down considerably! | ||||
| 		[X] add keyboard navigation... | ||||
| 		[X] navigator -- indicate position in thumbnail mode... | ||||
| 		[X] test for stability | ||||
| 		[X] cleanup code | ||||
| @ -166,6 +162,13 @@ | ||||
| 				[_] image | ||||
| 				[_] text | ||||
| 	 | ||||
| [_] % Low priority todo | ||||
| 	[_] make pages of different formats work... | ||||
| 	[_] find a passive CSS-only way to size pages in different modes... | ||||
| 	[_] time transitions | ||||
| 	| the goal is for slow devices to seem not to have animations at | ||||
| 	| all and faster ones to seem to have fast animations... | ||||
| 	 | ||||
| 				 | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| @ -29,7 +29,6 @@ $(document).ready(function(){ | ||||
| 		}) | ||||
| 	} | ||||
| 
 | ||||
| 
 | ||||
| 	$(window) | ||||
| 		.resize(viewResizeHandler) | ||||
| 		.bind('hashchange', hashChangeHandler) | ||||
| @ -37,7 +36,6 @@ $(document).ready(function(){ | ||||
| 	$(document) | ||||
| 		.keydown(makeKeyboardHandler(keybindings)) | ||||
| 
 | ||||
| 
 | ||||
| 	$('.viewer') | ||||
| 		.swipe({ | ||||
| 			swipeStatus: swipeHandler, | ||||
|  | ||||
							
								
								
									
										14
									
								
								magazine.js
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								magazine.js
									
									
									
									
									
								
							| @ -102,13 +102,11 @@ function viewResizeHandler(){ | ||||
| 		console.log('>>> Page Zoom:', document.width/$(document).width()) | ||||
| 	} | ||||
| 	*/ | ||||
| 	//$('.splash').show()
 | ||||
| 	if(ANIMATE_WINDOW_RESIZE){ | ||||
| 		updateView() | ||||
| 	} else { | ||||
| 		unanimated($('.scaler'), updateView, 30)() | ||||
| 	} | ||||
| 	//$('.splash').fadeOut()
 | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| @ -446,6 +444,18 @@ function saveStorageState(){ | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| // JSON format state managers...
 | ||||
| function loadJSONState(data){ | ||||
| 	// XXX
 | ||||
| } | ||||
| function buildJSONState(){ | ||||
| 	// XXX
 | ||||
| } | ||||
| function dumpJSONState(){ | ||||
| 	// XXX
 | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| // generic state managers...
 | ||||
| function loadState(){ | ||||
| 	var n = loadURLState() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user