From 42e662ad9fa0a2ccff7ab71ac4c8b4d735a3343e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Grabarz?= Date: Thu, 5 Sep 2024 14:27:18 +0200 Subject: [PATCH] Prevent node name collisions when drag-and-dropping multiple files (#10979) # Important Notes Fixed a few warnings in dashboard caused by missing or misplaced key attributes. (cherry picked from commit cab161a602bbee242cc3e116589e7ef72494a0c3) --- CHANGELOG.md | 2 ++ .../src/components/Devtools/EnsoDevtools.tsx | 2 +- .../src/pages/dashboard/Dashboard.tsx | 1 - app/gui2/src/components/GraphEditor.vue | 6 +++--- app/gui2/src/composables/nodeCreation.ts | 19 +++++++++++++++---- 5 files changed, 21 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed1e3760cd4a..b3c96e8d40b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,12 +12,14 @@ - [Fixed issue where switching edited widget with tab key did not updated actual code][10857] - [Added fullscreen modes to documentation editor and code editor][10876] +- [Fixed issue with node name assignment when uploading multiple files.][10979] [10774]: https://github.com/enso-org/enso/pull/10774 [10814]: https://github.com/enso-org/enso/pull/10814 [10824]: https://github.com/enso-org/enso/pull/10824 [10857]: https://github.com/enso-org/enso/pull/10857 [10876]: https://github.com/enso-org/enso/pull/10876 +[10979]: https://github.com/enso-org/enso/pull/10979 #### Enso Standard Library diff --git a/app/dashboard/src/components/Devtools/EnsoDevtools.tsx b/app/dashboard/src/components/Devtools/EnsoDevtools.tsx index 3b1e74fdb1e2..fe48ca405c7b 100644 --- a/app/dashboard/src/components/Devtools/EnsoDevtools.tsx +++ b/app/dashboard/src/components/Devtools/EnsoDevtools.tsx @@ -163,7 +163,7 @@ export function EnsoDevtools() { {unsafeEntries(LocalStorage.keyMetadata).map(([key]) => ( -
+