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

Disable the preview (experimental) button for resources that won't work #138

Open
nfee006 opened this issue Jul 27, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working From Comms

Comments

@nfee006
Copy link
Member

nfee006 commented Jul 27, 2021

  1. PVI [Standard web]
    For individual datasets, the button « Preview (experimental) » does not seem to work at all. NF note: this might be for resources that point to folders. Need to implement a way of turning this button off for certain resources. This is not conformity so I will deal with it.
  2. PVI [Standard web]
    For a dataset, if you download a txt (ex. https://datatest.asc-csa.gc.ca/fr/dataset/02969436-8c0b-4e6e-ad40-781cdb43cf24), it does not work. With firefox, it’s possible to select notepad but it gives an error related to the file or extension (the other browsers just open a new tab). NF note: this is because it’s actually pointing to a folder and not an individual file. This will be fixed if I implement the solution for 5.

Temporary measure: changing the file format so that CKAN doesn't think that it can preview it.

@coleweusthem FYI

@nfee006 nfee006 added bug Something isn't working From Comms labels Jul 27, 2021
@nfee006 nfee006 self-assigned this Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working From Comms
Projects
None yet
Development

No branches or pull requests

1 participant