Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
refactor: inspection panel and playground (#11907)
* refactor: move canvas controls to bottom-left and add inspection panel toggle * fix: remove inspectionPanelVisible coupling from GenericNode Descriptions and edit button now render unconditionally, preventing visual changes on canvas when toggling the inspector panel. * fix: hide handle, readonly, and connected fields from inspection panel * fix: hide handle, readonly, and connected fields from inspection panel * perf: scope edge subscription to connected fields for this node only * fix: rename node toolbar edit button testid and update tests for dual-panel visibility * test: skip logs tests while logs button is being removed * fix: update tests for connected fields hidden in edit mode and dual-panel button visibility * refactor(frontend): playground UI tweaks * refactor(frontend): playground UI tweaks * refactor(frontend): playground UI tweaks * refactor(frontend): playground UI tweaks * refactor(frontend): playground UI tweaks * fix: decouple inspection panel toggle from panel visibility state The toggle button became disabled immediately after closing the panel because selectedNode was derived from inspectionPanelVisible. Now selectedNode is based solely on the current node selection, keeping the toggle enabled as long as a node is selected. * fix: use distinct icon for inspection panel toggle Replace PanelRight/PanelRightClose with SlidersHorizontal to avoid confusion with the Playground button which uses PanelRightOpen. Add bg-accent background highlight when the panel is active. * refactor(frontend): resolved eslint errors * Fix playground state (#11896) * address state in chat * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * update font size --------- Co-authored-by: himavarshagoutham <[email protected]> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * Add data-testid to playground close button and fix freeze test The playground now opens in fullscreen mode, which covers the toolbar button (playground-btn-flow-io). Updated the freeze test to use the close button inside the playground header instead. * Fix chatInputOutputUser-shard-2 test to use playground close button The playground now opens in fullscreen, covering the toolbar button. Use playground-close-button instead to close the playground. * Fix limit-file-size-upload test to use playground close button * Fix fileUploadComponent test for fullscreen playground Use playground-close-button to close and exit fullscreen before accessing the more menu which is hidden in fullscreen mode. * Fix Memory Chatbot test to use sidebar session more menu The chat-header-more-menu is hidden in fullscreen mode. Use the session sidebar more menu instead to access message logs. * Fix Document QA test to exit fullscreen before accessing more menu The clear-chat option is only available in the chat-header-more-menu which is hidden in fullscreen mode. Exit fullscreen first. * Fix Basic Prompting test for fullscreen playground Use sidebar new-chat button and session more menu instead of header elements that are hidden in fullscreen mode. * Fix playground test to use sidebar elements in fullscreen mode Use sidebar session more menu and new-chat button instead of header elements that are hidden or overlapped in fullscreen mode. * fix: Remove exit fullscreen button from Playground chat header * refactor: Update dependencies and improve icon handling in CanvasControls and HelpDropdownView * fix: playwright test * fix: playwright test * fix: improve visibility handling for text input and file path connections in tests * fix: ensure visibility check for file content uses the last instance * fix: update dummy API key in outdated_flow.json for testing purposes --------- Co-authored-by: Keval718 <[email protected]> Co-authored-by: himavarshagoutham <[email protected]> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
V
Viktor Avelino committed
7c43e4c4e5959a5fbdde7423ca6054c70e6d385e
Parent: 6bddfc2
Committed by GitHub <[email protected]>
on 2/26/2026, 11:54:44 PM