Skip to content

feat(boards): support automatic layout for different screen sizes #4541

@Meierschlumpf

Description

@Meierschlumpf

Describe the feature you'd like to request

Add a new layout mode which automatically calculates position and size of items using one layout as base.

Additional information

Layout modes

  • Auto: Position and size of all layouts are calculated from the base layout.
  • Custom: Position and size must be configured for all layouts separately. (This is the current layout mode)

Mockups

Image Image

Database changes

  • add boards.baseLayoutId: string, nullable
  • add boards.layoutMode: ‘auto’ | ‘custom’, default ‘custom’

Additional notes:

  • Calculation of position on board should work by only showing the base layout during edit mode and after editing to “refetch” the board page which will also recalculate positions (if possible). Otherwise, positions must be calculated on the client before rendering.
  • Size of board creation modal should be increased
  • Base layout should only be visible / selectable if auto is selected as layout mode
  • During board creation default selected should be auto, base layout will be the one created. (base layout has to be set after board and layout creation)

Metadata

Metadata

Assignees

Labels

decisionA decision needs to be takenenhancementNew feature or requestuxUser experience improvements (quality of life changes, reducing the number of clicks, helpers, ...)

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions