mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-07-30 15:36:18 -05:00
It is now possible to re-order sources in a column by dragging them into a new position. To achieve this a new `position` field was added to the `sources` column, which contains the index of the source in the column. We also added a new `updateSourcePositions` function, which is used to sort the sources locally and update `position` field in the database afterwards. The dragging is handled via a `ReorderableListView` widget. Last but not least the selection of sources from the database was changed, so order them by the `position` column and if the column is `null` by the `createdAt` data as it was before.