Skip to content

Refresh file actions after uploads complete - #741

Open
vzer200 wants to merge 1 commit into
sigoden:mainfrom
vzer200:fix/upload-completion-menu
Open

vzer200 wants to merge 1 commit into
sigoden:mainfrom
vzer200:fix/upload-completion-menu

Conversation

@vzer200

@vzer200 vzer200 commented Sep 8, 2026

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File edit menu not showing up after file upload

1 participant