bruno/packages/bruno-app
Michał Szymborski 978d810473 fix(#154): correct ordering during drag-and-drop
When dragging and dropping items, to delay changing sequence numbers
until after all the resource-dependent logic has completed, we were
relying on the order of children in redux store (which we then converted
into new seq numbers).

This order of children was however not updated when sequence numbers
changed (for example due to file watch changes). This resulted in a
seemingly random drag-and-drop ordering, which in fact was linked to the
initial order when the collection was loaded.

This change sorts all the items by sequence number prior to reordering,
so that those random jumps no longer happen. As this happens on a deep
clone of the collection, no data gets hurt in the process.

fixes #154
2023-10-01 21:09:11 +02:00
..
public release: v0.2.0 2022-10-23 13:43:12 +05:30
src fix(#154): correct ordering during drag-and-drop 2023-10-01 21:09:11 +02:00
.babelrc feat: moved next app to its own package (resolves #21) 2022-10-09 16:13:11 +05:30
.env.prod chore: updated readme 2022-10-16 13:51:10 +05:30
.gitignore chore: added package-lock.json to gitignore 2022-10-20 15:16:33 +05:30
.prettierrc.json feat(#197): prettier formatting on all files in packages/bruno-app 2023-09-18 13:37:00 +05:30
jsconfig.json feat: darkmode (sidebar, menubar and welcome page #23) 2022-10-21 04:20:23 +05:30
next.config.js feat: skipping telemetry in dev env 2023-01-24 17:28:31 +05:30
package.json Add standard http headers for autocomplete 2023-09-29 11:59:09 +00:00