ynput / ayon-frontend

Codebase of AYON server web interface
Apache License 2.0
16 stars 14 forks source link

Editor/Browser: Thumbnail #751

Closed Innders closed 1 week ago

Innders commented 3 weeks ago

We have lost the ability to click to upload a thumbnail.

There should be two areas you can upload a new thumbnail:

Currently the only way to upload a thumbnail is to drag and drop an image onto the Entity details panel. In the editor it's impossible.

image

Drag and drop uploading on the Entity details panel. https://github.com/user-attachments/assets/a5ec9ad9-5ccb-44a0-b63c-8c47da727c62

Notes

  1. You might be able to re-use the drag and drop component logic/styles from Entity details panel. ThumbnailUploader.
  2. Right click and uploading logic should not be inside Thumbnail component.
martastain commented 1 week ago

When you unassign a thumbnail (set it to null) and it is not used by any other entity, it is deleted automatically after a while.