bruno/packages
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
..
bruno-app fix(#154): correct ordering during drag-and-drop 2023-10-01 21:09:11 +02:00
bruno-cli Remove rogue apostrophes and capitalise API in text. 2023-09-30 15:37:45 +01:00
bruno-docs chore: initial commit for bruno docs package 2023-05-19 19:57:58 +05:30
bruno-electron chore: version bumped to v0.16.5 2023-10-01 02:17:28 +05:30
bruno-graphql-docs fix(graphql-docs/build): rollup error thrown during build 2023-09-30 09:49:02 +05:30
bruno-js Merge pull request #243 from LesageYann/feat/allow-async-tests 2023-09-29 12:42:57 +05:30
bruno-lang spelling: people 2023-09-28 14:11:49 -04:00
bruno-query Add license information to modules. 2023-09-25 20:57:51 -05:00
bruno-schema chore: published libs 2023-09-28 05:17:59 +05:30
bruno-tauri chore(#197): ran prettier on packages/bruno-tauri 2023-09-22 00:44:28 +05:30
bruno-testbench chore(#197): ran prettier on packages/bruno-testbench 2023-09-22 00:44:47 +05:30
bruno-vscode-extension Add license information to modules. 2023-09-25 20:57:51 -05:00