mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 12:00:11 +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... | 	[_] 0% TouchSwipe issues... | ||||||
| 		[_] BUG: swipe-back does not cancel a swipe... (TouchSwipe) | 		[_] BUG: swipe-back does not cancel a swipe... (TouchSwipe) | ||||||
| 		| ...unless the finger is return to within the threshold of the  | 		| ...unless the finger is return to within the threshold of the  | ||||||
| 		| touchdown point. | 		| touchdown point. | ||||||
| 		[_] BUG: no drag threshold on excludedElements (TouchSwipe) | 		[_] BUG: no drag threshold on excludedElements (TouchSwipe) | ||||||
| 		| stalled... | 		| stalled... | ||||||
| 	[_] 62% general todo | 	[_] 80% general todo | ||||||
| 		[_] magazine loader and data format... | 		[_] magazine loader and data format... | ||||||
| 		[_] make layer default state configurable... | 		| this is simple, just use a restyled magazine viewer... | ||||||
| 		| 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" |  | ||||||
| 		[_] 0% populate an example issue | 		[_] 0% populate an example issue | ||||||
| 			[_] template photo page | 			[_] template photo page | ||||||
| 			[_] template 3x3 grid | 			[_] template 3x3 grid | ||||||
| 			[_] template two column text | 			[_] 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... | 		[_] BUG: href to existing anchors will mess up layout... | ||||||
| 		| need to find out how can we disable anchor links from actually | 		| need to find out how can we disable anchor links from actually | ||||||
| 		| going to the anchor... | 		| 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] navigator -- indicate position in thumbnail mode... | ||||||
| 		[X] test for stability | 		[X] test for stability | ||||||
| 		[X] cleanup code | 		[X] cleanup code | ||||||
| @ -166,6 +162,13 @@ | |||||||
| 				[_] image | 				[_] image | ||||||
| 				[_] text | 				[_] 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) | 	$(window) | ||||||
| 		.resize(viewResizeHandler) | 		.resize(viewResizeHandler) | ||||||
| 		.bind('hashchange', hashChangeHandler) | 		.bind('hashchange', hashChangeHandler) | ||||||
| @ -37,7 +36,6 @@ $(document).ready(function(){ | |||||||
| 	$(document) | 	$(document) | ||||||
| 		.keydown(makeKeyboardHandler(keybindings)) | 		.keydown(makeKeyboardHandler(keybindings)) | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| 	$('.viewer') | 	$('.viewer') | ||||||
| 		.swipe({ | 		.swipe({ | ||||||
| 			swipeStatus: swipeHandler, | 			swipeStatus: swipeHandler, | ||||||
|  | |||||||
							
								
								
									
										14
									
								
								magazine.js
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								magazine.js
									
									
									
									
									
								
							| @ -102,13 +102,11 @@ function viewResizeHandler(){ | |||||||
| 		console.log('>>> Page Zoom:', document.width/$(document).width()) | 		console.log('>>> Page Zoom:', document.width/$(document).width()) | ||||||
| 	} | 	} | ||||||
| 	*/ | 	*/ | ||||||
| 	//$('.splash').show()
 |  | ||||||
| 	if(ANIMATE_WINDOW_RESIZE){ | 	if(ANIMATE_WINDOW_RESIZE){ | ||||||
| 		updateView() | 		updateView() | ||||||
| 	} else { | 	} else { | ||||||
| 		unanimated($('.scaler'), updateView, 30)() | 		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...
 | // generic state managers...
 | ||||||
| function loadState(){ | function loadState(){ | ||||||
| 	var n = loadURLState() | 	var n = loadURLState() | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user