Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve(FilePreview) #178

Open
lu-perfect opened this issue Apr 7, 2024 · 0 comments
Open

Improve(FilePreview) #178

lu-perfect opened this issue Apr 7, 2024 · 0 comments

Comments

@lu-perfect
Copy link

There are a lot of complex features that can be taken out as separate components or libraries, I just wrote everything I would like to see

  1. Add several sizes, I also want to use them in a system that simulates file storage on the web. In particular, you want to have a super small size or maybe a direction property to place it in the table
  2. Add folders
  3. I want to have two modes - dynamic and static.
    In the first one, as you have, a file is accepted and your component automatically determines which icon to display, which data, etc. This is not the case now. At the same time, it is desirable that the developer has the opportunity to give either a link or the file itself.
    In the second one, I do not want to write as any, I want to specify the characteristics of the file in order to display them, for example, taken from the database initially, why I should implement the web api File interface is not entirely clear.
    Now you have implemented something in between
  4. It is also worth considering the 'selected' state, if we are emulating a file system, we want to have this feature
  5. It would also be very nice to see adapters, or write your own solutions to implement quick viewing of photos, videos at least, the rest as needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant