Add canvas presentation mode - #16
Open
Fuzzdkk wants to merge 1 commit into
Open
Conversation
Fuzzdkk
marked this pull request as ready for review
July 28, 2026 17:13
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.
What changed
I needed a cleaner way to walk through a finished canvas without all of the editing UI around it, especially when sharing my screen or taking screenshots. This adds a presentation mode from the header.
While presenting, editing is disabled but the canvas can still be panned and zoomed. Assets and routes can be opened temporarily to show their full details, and there is also a button to show or hide every detail card at once. None of those presentation-only changes are saved back to the canvas.
I also added an optional attack playback view based on route timestamps. It steps through the attack in order, dims anything that has not been reached yet, and points out the specific routes that are missing a valid timestamp. Opening playback refits the diagram so the timeline does not cover the lower assets, then restores the previous presentation view when it closes.
The controls fade when the pointer is still, while a subtle SagaLabs watermark remains visible. Exiting with the button or Escape restores the editor selection and exact viewport. Pending autosave changes are flushed before presentation starts, and the temporary presentation viewport is never written over the saved editor viewport.
Testing
The full Playwright suite is 37/39. The two remaining failures are the existing macOS Ctrl-click route-selection tests and are unrelated to this branch.