Add Story Map Tool#643
Conversation
Directenv folder not needed
|
Thank you so much @ishaanjain5 Also @janbur
Should i handle it or maybe we can ask @ishaanjain5 to work on it? |
|
Great work @ishaanjain5 ! Let us know if you need support in fixing the Python lint or e2e. |
|
Hi @ishaanjain5 I have put some new e2e tests to test some navigation, to also test this PR |
Fix the docstring issues and long line formatting.
Get rid of the second migrations file and combine it into one file.
|
Thanks for the feedback @janbur @meomancer. I went back to try and fix some of the issues you spoke about. Could you try rerunning the check? Thank you! |
|
Hi @ishaanjain5 Thank you |
|
@meomancer I understand. I pulled the main branch. |
Fix for the E2E test. This prevents the widget panel from loading/rendering when show map toolbar is disabled in the admin panel.
|
@meomancer I edited the code to fix the test that was failing. Can you try rerunning the check? Thank you. |
Proposed changes
Feature request details: #595
Add a new Story Map feature for dashboards, with both backend and frontend creation/playback support.
On the backend, dashboards can now store Story Map configuration, including whether the feature is enabled, the story page structure, and individual story pages linked to dashboard bookmarks. Story pages support title, description, thumbnail, ordering, visibility, and bookmark association. The dashboard serializer, API response, form handling, save flow, and duplication flow were updated so Story Map data is preserved correctly across all operations.
On the frontend, dashboard admins can now configure Story Map pages from a dedicated Story Map tab in the dashboard editor. They can enable the feature, add/edit story pages, attach thumbnails, write descriptions, and connect each page to a spatial bookmark. On the viewer side, dashboards show a Story Map toolbar control and left-panel story experience with page navigation, autoplay, bookmark-driven map state changes, and toggle behavior that returns the user to the normal layer/filter tabs when Story Map is turned off.

This PR is a new feature. It also includes a number of follow-up fixes to make the feature usable end-to-end, including admin tab visibility, runtime title rendering, autoplay behavior, control icon visibility, and toolbar toggle behavior.
Types of changes
Checklist
Further comments
Implementation notes:
Add a new DashboardStory model and related migrations.
Extend dashboard save/load logic to support stories, stories_structure, and story_map_enabled.
Add serializer/API support so Story Map data is available in dashboard payloads.
Add admin Story Map editing UI.
Add runtime Story Map panel and toolbar integration.
Add tests covering dashboard Story Map API behavior.
Known verification note:
The feature was tested iteratively in the local Docker environment while resolving several unrelated webpack/environment issues.