Conversation
|
@aivuk this is getting better, but there's one piece missing, which is that the buttons and controls should be mutually exclusive, i.e.
This is shown in the screencast included in #1: create_resource.mp4 |
|
@amercader sorry, I missed that in your mockup. I did the change now, but I did need to add the field label "Data" to the ckan-upload component (before it was written on the ckanext-validation upload scheming template https://github.com/frictionlessdata/ckanext-validation/blob/feature/80-new-upload-widget/ckanext/validation/templates/scheming/form_snippets/ckan_uploader.html#L12) and removed from the ckanext-validation, otherwise it will not be simple to remove it from the js upload. What do you think? This is how it looks now: Screencast.from.03-30-2023.12.27.25.PM.webm |
|
I have some questions about the behaviour of the 'remove' button. With the upload we add automatically the filename and the schema when I a file is uploaded. What to do when I click remove, delete the content from the schema, mime type and name? Currently the old names keep in the fields. |
Great, that'es exactly what I meant. The changes you mention make sense
The schema for sure. Check what happens in vanilla ckan with regards to name and format, but I think they are left there (which we might want to change tbh) |
|
@aivuk some quick comments :
And one pending issue is the cleanup of unfinished resources. I think that should happen we clicking the "Remove" button or leaving the page. Both should ping an endpoint that calls "resource_delete" (I think there's a builtin CKAN core one, maybe we can just call that one) |

No description provided.