-
Notifications
You must be signed in to change notification settings - Fork 245
revert interactive diagram #860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…)" This reverts commit b9c6486.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR reverts an interactive middleware visualization diagram that was not rendering properly in production. The changes remove the visualization plugin entirely and replace it with a simple text list of middleware hooks.
Key changes:
- Removed the interactive HTML/JavaScript visualization widget
- Replaced the interactive diagram with plain text lists of hooks for Python and JavaScript
- Cleaned up build configuration to stop processing the removed files
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
tests/unit_tests/test_builder.py | Removed .html from the set of file extensions processed by the builder |
src/plugins/middleware_visualization/index.html | Deleted the entire interactive visualization widget HTML file |
src/plugins/middleware_visualization/generate_middleware_diagrams.py | Deleted the Python script that generated Mermaid diagrams for all middleware hook combinations |
src/plugins/middleware_visualization/diagrams_python.js | Deleted the generated JavaScript file containing Python-style (snake_case) middleware diagrams |
src/plugins/middleware_visualization/diagrams_js.js | Deleted the generated JavaScript file containing JavaScript-style (camelCase) middleware diagrams |
src/plugins/middleware_visualization/README.md | Deleted the documentation for the middleware visualization plugin |
src/oss/langgraph/use-functional-api.mdx | Fixed incorrect comment syntax in TypeScript code block (changed // to # ) |
src/oss/langchain/middleware.mdx | Replaced the interactive iframe visualization with language-specific text lists of middleware hooks |
pyproject.toml | Removed exclusions for the deleted visualization generator script from ruff and mypy configurations |
pipeline/core/builder.py | Removed .html from shared file extensions and removed "plugins" directory from link rewriting and shared file logic |
Preview ID generated: preview-srreve-1760360357-16bc43f |
Preview ID generated: preview-srreve-1760360463-cf12b2e |
not rendering properly live at the moment, going to revert for now and can debug later
This reverts commit 946a685.
not rendering properly live at the moment, going to revert for now and can debug later