Fix asset upload error state when upload succeeds #36
Labels
No labels
auth
autorelease: pending
autorelease: tagged
bug
dependencies
devops
docker
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
javascript
maintenance
question
refactor
ui
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gitchegumi/GitchAlerts#36
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When uploading assets, the site displays an error even though the upload actually succeeds. Refreshing the Assets tab shows the uploaded asset is present.
This creates a bad user experience because the app tells the user the upload failed when the asset was stored successfully.
Expected behavior
After a successful upload:
Current behavior
Areas to inspect
ok,asset,error, or response parsing fields.Acceptance criteria
Notes
The fact that a browser refresh shows the asset means the backend storage/database path is likely succeeding. The issue is probably client-side response handling, stale state, or post-upload refresh logic.