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

Asset viewer enhancement #91

Closed
atinux opened this issue Feb 23, 2023 — with Volta.net · 5 comments
Closed

Asset viewer enhancement #91

atinux opened this issue Feb 23, 2023 — with Volta.net · 5 comments
Labels
enhancement New feature or request

Comments

Copy link
Member

atinux commented Feb 23, 2023

Someone made a Nuxt module when the devtools did not exist to view the images in the public directory: https://github.com/cssninjaStudio/nuxt-media-viewer

Here's a preview in the nuxt.com website:
http://volta.s3.fr-par.scw.cloud/Clean_Shot_2023_02_23_at_14_12_17_30d1684814.mp4

The downside is that it extends the Nuxt pages so the implementation in not correct but I do love the idea.

Maybe something we could add with Nuxt Image module?

@atinux atinux added the enhancement New feature or request label Feb 23, 2023 — with Volta.net
@antfu
Copy link
Member

antfu commented Feb 23, 2023

Do you think we should reuse it (and maybe improve upstream?) or should we implement on ourselves?

Copy link
Member Author

atinux commented Feb 23, 2023

I think we shall implement it ourselves but take inspiration from it

@antfu antfu changed the title Media viewer Asset viewer Mar 10, 2023
@antfu
Copy link
Member

antfu commented Mar 10, 2023

The first implementation is in #120

A few TODOs:

  • Able to edit plain text content directly
  • Drag & Drop to upload
  • Tree view for list mode
  • Integration with @nuxt/image module (optimize images by one click, etc.)

@atinux atinux assigned atinux and unassigned atinux Mar 10, 2023
@antfu antfu changed the title Asset viewer Asset viewer enhancement Mar 16, 2023
@arashsheyda
Copy link
Member

arashsheyda commented Mar 31, 2023

The first implementation is in #120

A few TODOs:

  • Able to edit plain text content directly
  • Drag & Drop to upload
  • Tree view for list mode
  • Integration with @nuxt/image module (optimize images by one click, etc.)

is something like this good for Drag & Drop to upload? for start? video

@antfu
Copy link
Member

antfu commented Apr 2, 2023

@arashsheyda You could send a PR and we could discuss it. For me I could like to directly make the panel drop-able, so saving one extra action to open the panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants