-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
front: don't debounce NGE node events
The current approach doesn't work when editing two nodes in succession: edit node A and before 2s elapse edit node B. The debounce will only invoke the callback for node B, dropping changes for node A. Moreover, switching to the micro tab will not immediately reflect changes. Instead, NGE has been patched [1] to only trigger the node update event once the input field is unfocused. [1]: SchweizerischeBundesbahnen/netzgrafik-editor-frontend#248
- Loading branch information
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2072,10 +2072,10 @@ | |
openapi-typescript "^5.4.1" | ||
yargs "^17.7.2" | ||
|
||
"@osrd-project/[email protected].d8b7083bd0d2c21a7922f80a8bb60c2197afb005": | ||
version "0.0.0-snapshot.d8b7083bd0d2c21a7922f80a8bb60c2197afb005" | ||
resolved "https://registry.yarnpkg.com/@osrd-project/netzgrafik-frontend/-/netzgrafik-frontend-0.0.0-snapshot.d8b7083bd0d2c21a7922f80a8bb60c2197afb005.tgz#8e13fdbb2b98f5c514257a3bfd689a13e0370922" | ||
integrity sha512-WRcom1DSfD2IEoducDcohtZKL1CnOuZHolljNwRsvrezfYn1YxiPoUVYpy7NGIVmAi6+leImdVAaY8EMUtnMsA== | ||
"@osrd-project/[email protected].1f2fe60f93abd5fafa86e67aacbcc6eeae7dc0b5": | ||
version "0.0.0-snapshot.1f2fe60f93abd5fafa86e67aacbcc6eeae7dc0b5" | ||
resolved "https://registry.yarnpkg.com/@osrd-project/netzgrafik-frontend/-/netzgrafik-frontend-0.0.0-snapshot.1f2fe60f93abd5fafa86e67aacbcc6eeae7dc0b5.tgz#9ca8f5c4c0c16b6478fa98116c99aca78d2c119e" | ||
integrity sha512-5HpHe2TLrNQ6vIpfZu5GDsv0nJlF1Nzf4HRWitWahWIFGfypbm6nCXZoDPNrZD9SQjchK782UfMf8OuHDVaijg== | ||
|
||
"@osrd-project/ui-core@^0.0.35": | ||
version "0.0.35" | ||
|