Make the Event History code walkthrough zoomable, keep highlighted lines in view - #5085
Merged
Conversation
…nes in view Adds a click-to-expand overlay to WorkflowWalkthrough (used by all four Event History demos across every SDK language page), matching the site's existing image/Mermaid zoom pattern but keeping the walkthrough fully interactive while zoomed instead of showing a static snapshot. Also: - Fixes the code panel clipping long lines instead of letting them scroll horizontally. - Scrolls the highlighted line(s) into view automatically when the step changes, in both the inline and zoomed views.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📖 Docs PR preview linksThis PR does not change any pages in /docs. If you make updates, links to the modified pages will appear here. |
Duncanma
marked this pull request as ready for review
August 11, 2026 16:26
flippedcoder
approved these changes
Aug 11, 2026
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 does this PR do?
Adds a click-to-expand overlay to
WorkflowWalkthrough(the interactive demo used by all four Event History walkthroughs, across every SDK language page). Unlike the site's existing image/Mermaid zoom, the expanded view stays fully interactive — same live component, not a static snapshot — so the step controls and keyboard navigation keep working while zoomed.Also fixes two related issues found while building this:
Notes to reviewers
Best tested by opening one of the Event History pages (e.g.
/encyclopedia/event-history/event-history-java) and:┆Attachments: EDU-6931 Make the Event History code walkthrough zoomable, keep highlighted lines in view