Open shevron opened 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.
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.