datopian / ckanext-blob-storage

CKAN extension to offload blob storage to cloud storage providers (S3, GCS, Azure etc).
http://tech.datopian.com/blob-storage/
MIT License
14 stars 6 forks source link

Figure out what UI, if at all, we bundle with this extension #42

Open shevron opened 3 years ago

shevron commented 3 years ago

In most current deployments, the default UI bundled with this extension is overridden with specific datapub customization, and is never used. On the other hand, shipping this extension with no UI at all kind of defeats the purpose, as the whole process of uploading resources with Git LFS based storage is driven by GUI.

We need to have a discussion and figure out what UI (templates + JS + CSS) code we ship with this extension, and how it allows customization by other extensions.

After that is done, clean up the code here and remove any redundant / unused code.

shevron commented 3 years ago

Suggestion: bundle a really simple UI that retains the original CKAN upload process look and feel but replaces it with JS code that uses ckan-client-js (not datapub) to handle uploads. We used to have that a while ago and it was removed. Keep things super simple here and allow easy overriding with CKAN template hooks or by using fanstatic somehow (can this be done?).

This will allow us to keep a basic UI here and allow easy overriding with datapub and it's variants.