Skip to content

fix: reset avatar file input after a rejected file - #4106

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/avatar-same-invalid-file
Nov 2, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/avatar-same-invalid-file

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Description

After a too large or broken image is rejected, picking the same file again shows the error again instead of doing nothing.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: the file input is cleared for too large and undecodable files
  • test case 2: browser: same rejected file shows the error again on desktop and Pixel 7; valid upload, cancel and remove still work

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear merged commit 870b560 into main Nov 2, 2026
29 checks passed
@AlexAndBear
AlexAndBear deleted the fix/avatar-same-invalid-file branch November 2, 2026 08:30
@openclouders openclouders mentioned this pull request Nov 2, 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.

Picking the same rejected profile picture again shows no error

2 participants