FlowFuse / FlowFuse/node-red-dashboard

Limit ui-group size according to layout

Open
#1,501 1 comment 0 reactions 0 assignees View on GitHub
needs-triage type:feature
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Description

When the ui-page layout is defined as "Tabs," it is possible to set the number of columns for the responsive layout.

However, when a ui-group is defined within this layout, it is possible to size the group larger than the layout's defined columns. This causes misunderstandings when configuring the size and position of UI elements, as they do not render as expected in the responsive view.

Example:
![image](https://github.com/user-attachments/assets/07277023-bbc2-495d-98aa-a5c91c8d3638)
(Once the layout was adjusted, everything displayed as expected)

To address this issue, it would be beneficial to:
1. Limit group size to the maximum size allowed by the configured layout columns.
2. Provide a warning when a group exceeds the layout's column definition, ensuring users are aware of the mismatch.

**This enhancement would improve layout consistency and clarity during configuration.**

### Have you provided an initial effort estimate for this issue?

I am no FlowFuse team member

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.