Comments (8)
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.
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:
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.
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.
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.
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.
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.
from ui-extensions-sdk.
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)
- `init` doesn't work when called too late HOT 7
- `window` used directly in library breaks SSR environments HOT 8
- Metadata (tags) changes are not reflected in the editor HOT 1
- Frontend URL availability HOT 2
- Conditional Field Rendering HOT 3
- Contentful Management : Entry's references method not working
- Change LocaleSettings for the Entry HOT 1
- `onMetadataChanged` not called in Compose view HOT 3
- Passing data to opened dialog app. HOT 1
- incorrect version from navigator.openEntry HOT 3
- Links/References all have the type `Link` which makes them not distinguishable HOT 5
- Additional filters for dialogs.selectSingleEntry HOT 2
- Add margin option to auto resizer HOT 4
- Can I fetch all available locales with App SDK?
- dialogs.openAlert() but without any buttons
- SDK method to set field focused state
- Field iframe outset margin + padding
- Entry editor app in bulk editor needs to access useAutoResizer HOT 4
- How can I upload a file and create new assets? HOT 4
- Include defaultValue in field and contentType typings HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ui-extensions-sdk.