Skip to content

fix: make upload actions reactive - #3651

Merged
JammingBen merged 2 commits into
mainfrom
fix/upload-actions-reactivity
Oct 13, 2026
Merged

JammingBen merged 2 commits into
mainfrom
fix/upload-actions-reactivity

Conversation

@JammingBen

Copy link
Copy Markdown
Member

The file app registers the upload actions during bootstrap, however, we can't guarantee that all other apps have registered their actions at this point in time. Because of that, useUploadActions needs to return a computed ref for it to be reactive.

This issue was unnoticed so far because the files app doesn't retrieve the upload actions from other apps via the extension registry. But any other app using the registry would notice it.

Also add a fix to keep registered extensions reactive after unregistering.

The file app registers the upload actions during bootstrap, however, we can't guarantee that all other apps have registered their actions at this point in time. Because of that, useUploadActions needs to return a computed ref for it to be reactive.

This issue was unnoticed so far because the files app doesn't retrieve the upload actions from other apps via the extension registry. But any other app using the registry would notice it.
@JammingBen JammingBen self-assigned this Oct 12, 2026
@JammingBen
JammingBen merged commit 41d6154 into main Oct 13, 2026
28 checks passed
@JammingBen
JammingBen deleted the fix/upload-actions-reactivity branch October 13, 2026 06:32
@openclouders openclouders mentioned this pull request Oct 13, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants