Skip to content

[Improvement] File upload: preview #3945

@keunes

Description

@keunes

Hello,

On our platform we're currently using another file upload design. I'd like us to move to ECL design there, but I'm sure my colleagues would want to keep the 'File preview' that we currently have. It's a multi-step process where you first upload, and then 'commit' the file.

Empty state:

Uploaded image:

And on hover:

Right after uploading (checkmark appears for a second), and if preview cannot be produced (e.g. PDF file, grey blob is shown):

It would be great if an ECL design could be developed for this. For example, by displaying the preview in the file table/list left from the filename, if available: https://ec.europa.eu/component-library/playground/ec/?path=/story/compositions-file-upload-status--default&globals=viewport:responsive

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions