mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-15 08:41:01 +00:00
Added TODOs for place redirect improvements
This commit is contained in:
1 parent
f314c1e317
commit
ee46f44ebd
1 file changed
+4
+4
@@ -95,6 +95,9 @@ public class ApplicationActivityMapper implements ActivityMapper {
|
||||
EventContext eventContext = new EventContext().withId(eventId);
|
||||
String regattaId = place.getLeaderboardIdAsNameString();
|
||||
boolean hasRegattaId = (regattaId != null && !regattaId.isEmpty());
|
||||
|
||||
// TODO evaluate additional parameters
|
||||
|
||||
if(hasRegattaId) {
|
||||
switch (place.getNavigationTab()) {
|
||||
case CompetitorAnalytics:
|
||||
@@ -129,6 +132,7 @@ public class ApplicationActivityMapper implements ActivityMapper {
|
||||
}
|
||||
} else {
|
||||
switch (place.getNavigationTab()) {
|
||||
// TODO some places aren't implemented yet
|
||||
case Media:
|
||||
return new MultiregattaMediaPlace(eventContext);
|
||||
case Overview:
|
||||
|
||||
Reference in new issue
Block a user