Repository navigation
fix: ignore an answer for a selection the panel has left - #24
Merged
Merged
Conversation
added 2 commits
October 13, 2026 22:28
Files and Network load a row's detail when it is selected, and wrote the answer to the pane whenever it came back. Requests overlap, so the answer for a row already left could arrive last and replace what the selected row shows. In Files that put one file's text under another file's name, where Edit and Save would write it over that file. An answer is now applied only while its row is still selected, as the Events panel already does, and a save or delete that finishes after the selection moved no longer changes the new selection's pane.
Files keeps listings by path alone. One still on its way when the root was switched landed under the new root, which then listed the old root's files as its own.
heoblitz
approved these changes
Oct 15, 2026
heoblitz
approved these changes
Oct 15, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Files and Network panels load a row's detail when it is selected and wrote the answer to the pane whenever it came back. Requests to the device overlap, so the answer for a row the user had already left could arrive last and replace what the selected row shows. In Files that puts one file's text under another file's name, where Edit + Save would write it over that file, and Delete acts on the selected path. Files also kept directory listings by path alone, so a listing still on its way when the root was switched landed under the new root.
An answer is now applied only while its row (and root) is still selected, as the Events panel already does in
open(); a save or delete that finishes after the selection moved no longer touches the new selection's pane.Changelog
Fix the Files and Network panels showing a previously selected row's detail under the current one.
Test Plan
yarn typecheck,yarn test,node script/check-panel-assets.mjs: passed.Sources/NectoDefaultPlugins/Panels/{files,network-logger}are the rebuilt output ofyarn build.