- Coaster editor: name input in top bar, saved/loaded with coaster data - CoasterListPanel: show coaster name prominently alongside creator username - ChallengesListPanel: drill-in detail view with center map, plan coaster, and accept challenge buttons; coaster count shown in list and detail - AllCoastersPanel: coaster count visible in challenge entries - Backend: add coaster_count to ChallengeMapSerializer and ChallengeDetailSerializer - Fix: ChallengeLayer and ChallengesListPanel were reading f.properties.id (always undefined) instead of f.id — GeoFeatureModelSerializer puts the pk at the GeoJSON Feature level, not in properties - Types: remove id from ChallengeMapProperties to reflect actual data shape Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
500 B
Python
17 lines
500 B
Python
from django.urls import path
|
|
from .views import (
|
|
CoasterSimulateView,
|
|
CoasterListCreateView,
|
|
CoasterDeleteView,
|
|
CoasterGlobalListView,
|
|
CoasterRateView,
|
|
)
|
|
|
|
urlpatterns = [
|
|
path("simulate/", CoasterSimulateView.as_view()),
|
|
path("coasters/", CoasterGlobalListView.as_view()),
|
|
path("challenges/<uuid:challenge_id>/coasters/", CoasterListCreateView.as_view()),
|
|
path("<uuid:pk>/", CoasterDeleteView.as_view()),
|
|
path("<uuid:pk>/rate/", CoasterRateView.as_view()),
|
|
]
|