mapcomplete/Models/Constants.ts

20 lines
622 B
TypeScript
Raw Normal View History

import { Utils } from "../Utils";
export default class Constants {
2021-01-03 12:50:47 +00:00
public static vNumber = "0.2.7";
// 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)
};
2021-01-03 12:50:18 +00:00
}