forked from MapComplete/MapComplete
		
	Refactoring: attempting to make State smaller
This commit is contained in:
		
							parent
							
								
									a6f56acad6
								
							
						
					
					
						commit
						849c61c8a1
					
				
					 28 changed files with 529 additions and 485 deletions
				
			
		
							
								
								
									
										19
									
								
								Models/Constants.ts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								Models/Constants.ts
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,19 @@ | |||
| import { Utils } from "../Utils"; | ||||
| 
 | ||||
| export default class Constants { | ||||
|     public static vNumber = "0.2.6a"; | ||||
| 
 | ||||
|     // The user journey states thresholds when a new feature gets unlocked
 | ||||
|     public static userJourney = { | ||||
|         addNewPointsUnlock: 0, | ||||
|         moreScreenUnlock: 5, | ||||
|         personalLayoutUnlock: 20, | ||||
|         tagsVisibleAt: 100, | ||||
|         mapCompleteHelpUnlock: 200, | ||||
|         tagsVisibleAndWikiLinked: 150, | ||||
|         themeGeneratorReadOnlyUnlock: 200, | ||||
|         themeGeneratorFullUnlock: 500, | ||||
|         addNewPointWithUnreadMessagesUnlock: 500, | ||||
|         minZoomLevelToAddNewPoints: (Utils.isRetina() ? 18 : 19) | ||||
|     }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue