Added TODOs for place redirect improvements

This commit is contained in:
Steffen Schaefer committed 2015-03-16 15:56:16 +01:00
1 parent f314c1e317
commit ee46f44ebd
1 file changed
+4
@@ -95,6 +95,9 @@ public class ApplicationActivityMapper implements ActivityMapper {
EventContext eventContext = new EventContext().withId(eventId); EventContext eventContext = new EventContext().withId(eventId);
String regattaId = place.getLeaderboardIdAsNameString(); String regattaId = place.getLeaderboardIdAsNameString();
boolean hasRegattaId = (regattaId != null && !regattaId.isEmpty()); boolean hasRegattaId = (regattaId != null && !regattaId.isEmpty());
// TODO evaluate additional parameters
if(hasRegattaId) { if(hasRegattaId) {
switch (place.getNavigationTab()) { switch (place.getNavigationTab()) {
case CompetitorAnalytics: case CompetitorAnalytics:
@@ -129,6 +132,7 @@ public class ApplicationActivityMapper implements ActivityMapper {
} }
} else { } else {
switch (place.getNavigationTab()) { switch (place.getNavigationTab()) {
// TODO some places aren't implemented yet
case Media: case Media:
return new MultiregattaMediaPlace(eventContext); return new MultiregattaMediaPlace(eventContext);
case Overview: case Overview: