Skip to content

Conversation

sydney-runkle
Copy link
Contributor

not rendering properly live at the moment, going to revert for now and can debug later

@Copilot Copilot AI review requested due to automatic review settings October 13, 2025 12:58
@github-actions github-actions bot added langchain For docs changes to LangChain langgraph For docs changes to LangGraph python For content related to the Python version of LangChain projects oss javascript docs-infra ci tests labels Oct 13, 2025
Copy link
Contributor

@Copilot Copilot AI left a 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

Copy link
Contributor

Preview ID generated: preview-srreve-1760360357-16bc43f

@github-actions github-actions bot removed the langgraph For docs changes to LangGraph label Oct 13, 2025
Copy link
Contributor

Preview ID generated: preview-srreve-1760360463-cf12b2e

@sydney-runkle sydney-runkle merged commit 946a685 into main Oct 13, 2025
11 checks passed
@sydney-runkle sydney-runkle deleted the sr/revert-interactive branch October 13, 2025 13:02
mdrxy pushed a commit that referenced this pull request Oct 13, 2025
not rendering properly live at the moment, going to revert for now and
can debug later
sydney-runkle added a commit that referenced this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci docs-infra javascript langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant