Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Upload Widget #3126

Closed
4 tasks
dharizza opened this issue Jun 9, 2020 · 3 comments
Closed
4 tasks

File Upload Widget #3126

dharizza opened this issue Jun 9, 2020 · 3 comments
Assignees
Labels

Comments

@dharizza
Copy link
Contributor

dharizza commented Jun 9, 2020

User Story

As a data publisher, I want to be able to upload files through a user interface, so that I can share my data without having to use a remote file.

Acceptance Criteria

(add once we decide if we're using data.gov's UI)

Implementation details:

Create custom widget that allows users to choose what they want to add (either a URL or file).

  • widget should be a field chooser with two tabs:
    • one for URL
    • one for file upload
  • add validations:
    • If user chooses url —> we should validate if it is a valid url.
    • If user chooses a file upload —> we should validate if the resulting URI corresponds to an existing file.
  • both fields will return an URI, which is what will be saved in the JSON Metadata field

Relates to GetDKAN/dkan2#409

@dharizza dharizza added the 2.x label Jun 9, 2020
@dharizza dharizza self-assigned this Jun 9, 2020
@dafeder
Copy link
Member

dafeder commented Jul 30, 2020

Putting aside as we expirement with a form-api solution. See #3166

@janette
Copy link
Member

janette commented Aug 4, 2020

blocked by #3166

@susisiman
Copy link

Still blocked, form api is in progress, en route to be closed soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants