Add a Story Map presentation mode for Specta#1061
Merged
martinRenou merged 58 commits intogeojupyter:mainfrom Jan 27, 2026
Merged
Add a Story Map presentation mode for Specta#1061martinRenou merged 58 commits intogeojupyter:mainfrom
martinRenou merged 58 commits intogeojupyter:mainfrom
Conversation
Contributor
Contributor
|
Integration tests report: appsharing.space |
trungleduc
reviewed
Jan 9, 2026
packages/schema/src/model.ts
Outdated
| */ | ||
| isSpectaMode(): boolean { | ||
| const hasStories = Object.keys(this.sharedModel.stories).length > 0; | ||
| const urlContainsSpecta = window.location.pathname.includes('specta'); |
Collaborator
There was a problem hiding this comment.
this is a better way to check specta mode https://github.com/trungleduc/specta/blob/84aa6c2112b1e7c4278079957558023b525fccf1/src/tool.ts#L174
41e65c4 to
64bb082
Compare
edd24f7 to
9c80436
Compare
Collaborator
Author
|
bot please update snapshots |
38ac370 to
54370b2
Compare
Collaborator
Author
|
bot please update snapshots |
497ae46 to
3f2b189
Compare
Collaborator
Author
|
bot please update snapshots |
f96f299 to
e380a99
Compare
Collaborator
Author
|
bot please update snapshots |
martinRenou
approved these changes
Jan 27, 2026
gjmooney
added a commit
to gjmooney/jupytergis
that referenced
this pull request
Feb 18, 2026
* Add Story mode presentation toggle button to toolbar * Lint * Start specta UI changes * Move OpenLayer controls to bottom right * Story Viewer CSS * Clean up a bit * Fix stories loading * Put title above image * Hide top bars * Disable commands in specta * Only enable specta presentation mode when stories are present * Remove top gap from panels * Allow setting presentation bg and text color in editor panel * Use RJSF types * Get presentation colors from file * CSS tweaks * Fix syncStoryData * Scrollytelling' * CSS tweaking * Lil lint * Update specta check logic * Move nav buttons to sides * Split viewer panel into sub-components * No specta for unguided mode * Allow scroll navigation on whole map / disable scroll to zoom * Missed a line * Fix incredibly stupid naming * Fix adding segment * Tweaking * Fix specta check logic timing * Lordie * Don't hide toolbar when adding first segment * Move the listener * Remove unused imports * Reorganize files -- bad idea? * Lint * Snapshot * Update Playwright Snapshots * Update Playwright Snapshots * Adjust width * Make content scrollable if its long * Switch segments by scrolling on panel if no overflow * No longer a fan of scrolling * Okay scrolling is cool again * Throttle handlers * Tweak gradient * Tweak nav buttons * Update click position for test * Yoooo transitions * Remove interactions and annotations in specta mode * Better? * Fix addContextMenu check * Update Playwright Snapshots * Update Playwright Snapshots * Move zoom buttons with other controls * Lint * fix * Update Playwright Snapshots --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Enables a presentation mode when JupyterGIS is used with Specta
Background and text color are customizable via the Story Editor panel
Also adds the ability to change story segments via scrolling.
The way it works with longer content is that the next segment is activated when you scroll while at the bottom of the content, that might not be clear from the video.
screencast-from--2026-01-15-16--13-13.mp4
Checklist
Resolves #XXX.Failing lint checks can be resolved with:
pre-commit run --all-filesjlpm run lint📚 Documentation preview: https://jupytergis--1061.org.readthedocs.build/en/1061/
💡 JupyterLite preview: https://jupytergis--1061.org.readthedocs.build/en/1061/lite