Conversation
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.
Fixes #730.
After a successful upload, refresh the current directory listing from the server so permitted edit, rename, delete and download actions become available without reloading the page. Server metadata preserves canonical filename casing, ordering, search results and permissions. Pending and failed upload rows remain; a failed listing request retains the successful upload check mark.
Reject stale listing responses and refresh again after completed deletions. Resolve a pending deletion against its captured filename after list reordering, and scope authenticated download handlers to the replaced rows.
Validation: 15 dependency-free Node regressions (
node --test tests/assets-upload.test.cjs), actual Chromium/Firefox uploads and controlled upload/delete/rename concurrency, case-only overwrite, permissions/authentication, encoded/nested paths, editing/downloads, and real partial-upload HEAD/PATCH retry. Source build and formatting pass; 185 Rust tests pass with two Windows symlink-privilege cases filtered. Those two failures reproduce on the base revision. Clippy reports three existing lints in unchanged Rust code, with complete diagnostic objects matching the independent base.AI disclosure: implemented and tested by Codex/GPT-6. The final change also passed independent agent review; no human review is claimed.