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

UI adjustments for multiple files #24

Closed
11 tasks done
lgilies opened this issue Sep 7, 2020 · 6 comments
Closed
11 tasks done

UI adjustments for multiple files #24

lgilies opened this issue Sep 7, 2020 · 6 comments
Assignees

Comments

@lgilies
Copy link

lgilies commented Sep 7, 2020

When the user drags and drops multiple files, the user wants to see all the files with each status independently and when the user clicks on card status, in metadata editor expects to show the file information.

Acceptance

  • User can drag & drop multiple files
  • User can see the upload info for all files uploading independently
  • User can edit the metadata information for each file independently

Tasks

  • Draft design and UI flow in figma and check with client
  • Implement

e.g. prob something like ...

  • UI - Render all files in the upload status area
    • Render all files in the upload info
    • Show a maximum of 4 files
    • when the user create upload more than 4 files should appear a nice scroll bar in the upload area
      - [ ] In the upload info area show the total of files
    • When the upload request is a success or failure to change the progress Bar circle to success or failed
  • Be able to select each file uploading and edit each metadata information independently
@mariorodeghiero
Copy link
Contributor

There is an issue with CSS style, after using the import components from datapub. I'm investigating what is happened.

@mariorodeghiero
Copy link
Contributor

update:

After import a component from the library, when running yarn build generate two CSS files. Both of these CSS files should be added In ckanext-datapub be able to render external components imported.

{% resource 'datapub/css/2.13e0d705.chunk.css' %}
{% resource 'datapub/css/main.c6297111.chunk.css' %}
{% resource 'datapub/js/runtime-main.95a62798.js' %}
{% resource 'datapub/js/2.bfcaf294.chunk.js' %}
{% resource 'datapub/js/main.d1dbf6f8.chunk.js' %}

@kmanaseryan if you get the same error above, check if you are using something like this.

@rufuspollock
Copy link
Member

@mariorodeghiero that seems a useful piece of information. Can you add that to the README of ckanext-datapub.

@rufuspollock
Copy link
Member

@mariorodeghiero once that is done i think we can close this issue as FIXED. When doing that could you post a short screencast showing it in action (it looks really good).

@mariorodeghiero
Copy link
Contributor

@rufuspollock ok I will update this on ckanext-datapub readme because needs to be implemented there.

@mariorodeghiero
Copy link
Contributor

FIXED. Add information in ckanext-datapub how to use all chunks.

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

No branches or pull requests

3 participants