Skip to content

UI glitch when using policies #524

@tiran133

Description

@tiran133

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

When using policies, and you upload a file which is forbidden, it successfully blocks the upload and informs the user about it. See Video

When however you upload a file which is allowed straight after without refreshing the page, the UI glitches out, and it tries to re-upload the forbidden file again which results in a second warning. The allowed file will be uploaded.

See video for better explanation.

It looks like the upload list does not get cleared when you click the X.

The same happens if you don't close the info window, the forbidden file will get re-tried.

Resulting in a second 403 error in the console.

Image
Screen.Recording.2025-04-09.at.09.42.28.mov

Reproduction Steps

Enable policies and then follow the steps in the video.

Expected Outcome

The UI should handle this situation properly and not glitch out.

  1. Ignore forbidden uploads when uploading a second file.
  2. Or clear the list before uploading a new file and/or X the info window.

Also, forbidden files should not have a retry button.

Actual Outcome

Wired UI glitch, see video.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions