transloadit / uppy

The next open source file uploader for web browsers :dog:

Home Page:https://uppy.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to customize rendering of item names in dashboard (virtual scroll prevents doing it manually)

nvgame00 opened this issue · comments

Initial checklist

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

Problem

I need to add different status flags next to the file name in dashboard before upload. Basically to customize .uppy-Dashboard-Item-fileName

I can't do that with regular DOM manipulation because virtual scroll will rerender the items when scrolling and reset all the changes

Solution

  • option to disable visualized list
  • hook after item is re-rendered so i can do it manually
  • proper callback to return chunk of jsx

Alternatives

//

Hi, in the future we'd like to make the Dashboard more composable. There have been many issues of people wanting to change something specific, instead of keeping them open or doing a quick fix, we'd rather think about a better overarching solution. Otherwise we'd end up with endless options.