node-red-plugin-grouped-flows Copyright original work: Sven Hockers Original implementation: https://github.com/SvenHockers/node-red-grouped-flows This repository includes Node-RED 5.x compatibility changes adapted from: node-red-grouped-flows (YRoshcha fork) https://github.com/YRoshcha/node-red-grouped-flows Copyright YRoshcha Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 See the LICENSE file for the full text of the License. -------------------------------------------------------------------------- Summary of imported compatibility changes -------------------------------------------------------------------------- Added Node-RED 5.x editor compatibility, without breaking Node-RED 4.x support (single file works on either version). In short, NR5 moved the tab bar out of #red-ui-workspace into a new #red-ui-header container that also hosts the logo and Deploy button, which this plugin's original DOM/CSS assumptions did not account for. The imported changes: - Detect NR4 vs NR5 tab bar location at mount time - Correct positioning context for the injected two-row tab bar on NR5 - Header height now grows to fit the two-row bar without breaking the Palette/Workspace/Sidebar layout below it, measured at runtime rather than hardcoded - Avoid a CSS custom-property self-reference cycle that could cause runaway layout sizing - Prevent the injected tab bar from visually covering the Deploy button / hamburger menu - Prevent the flows-row's background from bleeding onto the canvas when a group has few flows