Skip to content
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

Limit ui-group size according to layout #1501

Open
azabalo-developer opened this issue Nov 26, 2024 · 1 comment
Open

Limit ui-group size according to layout #1501

azabalo-developer opened this issue Nov 26, 2024 · 1 comment
Labels
feature-request New feature or request that needs to be turned into Epic/Story details needs-triage Needs looking at to decide what to do

Comments

@azabalo-developer
Copy link

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
(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

@azabalo-developer azabalo-developer added feature-request New feature or request that needs to be turned into Epic/Story details needs-triage Needs looking at to decide what to do labels Nov 26, 2024
@colinl
Copy link
Contributor

colinl commented Nov 26, 2024

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

This does not only apply to the Tabs layout. It applies to all layouts except Fixed.

Does there also need to be a warning the other way round? If an attempt is made to reduce the max columns in the page settings to a lower value than the max group size?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request that needs to be turned into Epic/Story details needs-triage Needs looking at to decide what to do
Projects
Status: Backlog
Development

No branches or pull requests

2 participants