Skip to content

Create new card rows #290

Description

@Carpenteri1

What

In this case, we want to move one card as an example below the other cards when there is multiple cards on a row.
This only works if the cards exceeds the max widht, then the last card will be pushed down, not on to a new row, just below the others.

What we want is a new row when this happens.

Also If we move one card below the cards or card, a new row should be created if there isnt a row there already.
If we remove the last card from a row, and drop it to another row that already has cards,
the empty row should be deleted or gone if the cards wont exceed the max width.
If the rows of cards exceeds the max with, the row and the card stays.

Why

This is to make better placement of individial cards inside the gridly grid.
Also to make easier for the user to place the cards where they want them.
Also be able to make gridly more responsiv.

Definition of Done

  • Dragging a card below an existing row should create a new row if there is no row there.
  • Cards should be movable between rows.
  • If a row exceeds the grid’s max width, overflowing card(s) should move into the row below, creating that row if needed.
  • If moving the last card out of a row leaves it empty, that row should disappear unless overflow rules require it to remain.
  • Each card should keep its own width and height.
  • Each row should size its height to the tallest card in that row, including after resize.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions