Code Monkey home page Code Monkey logo

Comments (8)

tomasdev avatar tomasdev commented on July 18, 2024 3

I know it's partially related (and technically the original issue is now fixed) but...

There's currently no way of uploading an asset via UI-extension. The Management API method space.createAssetFromFiles is not in the ui-extension v3 extension.space (probably newer) nor there's a dialog for the asset upload. Can currently only select already-uploaded assets. Is this feature (ability to upload assets via ui-extension) in the roadmap?

from ui-extensions-sdk.

jelz avatar jelz commented on July 18, 2024 2

Hi @nkahoang, as of today you can install v3.1.0 of our SDK that contains methods for opening our native selectors. Here's the section in the API reference that describes how to use new methods:

https://github.com/contentful/ui-extensions-sdk/blob/master/docs/ui-extensions-sdk-frontend.md#extensiondialogs

Please let us know what are you thoughts and if it met your expectations. I'll leave this issue opened for couple of days if you've got some immediate feedback.

Best,
Jakub

from ui-extensions-sdk.

thebiglabasky avatar thebiglabasky commented on July 18, 2024

Hi and thank you for this proposal.

We are currently collecting feedback of this kind to fine-tune the next steps regarding the UI extensions SDK. Allowing more interactions with the web app is indeed part of these steps, although we are not yet at a stage where we can provide with more details on the exact features we will prioritize regarding the assets picker.

We'll keep this thread updated whenever we have more information to share.

Best,
Hervé

from ui-extensions-sdk.

thebiglabasky avatar thebiglabasky commented on July 18, 2024

Hi!
Just wanted to update this thread to mention that we're actively working on making this happen.
This PR will be exposing new methods allowing to leverage the existing asset or entry picker.

from ui-extensions-sdk.

thebiglabasky avatar thebiglabasky commented on July 18, 2024

Hi Tomas,

Proposing the upload ability from within the asset selection dialog is something we have in our backlog but haven't prioritised yet. This would solve your issue.
I'm keeping tabs on this thread to come back once we do, along with thinking about exposing the upload function in the UI extension SDK.

Best,
Hervé

from ui-extensions-sdk.

ChristophMueller avatar ChristophMueller commented on July 18, 2024

I would certainly support this feature request.
As of now, is there any workaround for uploading new files directly to contentful from within a UI extension?

from ui-extensions-sdk.

tomasdev avatar tomasdev commented on July 18, 2024

from ui-extensions-sdk.

jelz avatar jelz commented on July 18, 2024

UI Extensions SDK exposes the default Contentful entity (Entry/Asset) selector with extension.dialogs and this is the expected behaviour for this SDK. Teams resposible for the entity selection dialog are aware of this need but there's still no timeline.

Important thing to mention is that UI Extensions automatically get all updates to dialogs. So if direct upload from the selector will be implemented UI Extensions will have it right away.

from ui-extensions-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.