bcgov / ckan-ui

CKAN UI - VueJS
GNU Affero General Public License v3.0
14 stars 4 forks source link

Resource Card Download/Access/Request Access/View logic #364

Closed annikaLiving closed 3 years ago

annikaLiving commented 3 years ago

Logic behind the words used are based on OFI configured or not.

When OFI then Resource Card is set to:

All others are


This logic needs to be refined as these do not reflect what that Resource type is.


Possible better options:

Geographic Dataset with OFI:

  1. Order & View
  2. Access & View
  3. Download/Order & View
  4. Download/Access & View
  5. Add to Shopping Cart || i in circle

Geographic Dataset without OFI:

  1. Access || i in circle
  2. Access & View

Tabular Dataset:

  1. Download/Access & View
    • Technically one could Order tabular data too.
    • An enhancement would be to enable OFI to tabular too.
  2. Access || i in circle

Webservice/API

  1. Access || i in circle

Application

  1. Access || i in circle
annikaLiving commented 3 years ago

@TerryLanktree will let you review this one. i think it should be addressed for MVP.

alixcote commented 3 years ago

Team Decision: Agreed we want to move forward with Access/Download for all resource types for MVP.

Details: Update Download and Request Access to just "Access/Download" in the following places:

  1. Resource Card: image

  2. Resource Page: image

Future: Review resource specific terminology post MVP

joe-taylor commented 3 years ago

I need a French translation for Access/Download; "Accéder/Télécharger" is what it is according to Google Translate, but my French is not good enough to know if that's correct or if something's lost in translation.

joe-taylor commented 3 years ago

Also need to decide what icon to use for Access/Download - classic catalogue uses the "open in new" icon, shown below.

image

TerryLanktree commented 3 years ago

If we are staying status quo, let's stay status quo. I suspect for secure download it may even hold true. As for the French translation, Brandon had recommend we move the button, as opposed to hiding it, so it ended up buried in the hamburger. What is the real cost of simply removing the button (not all the inherent functionality, just the button)?

joe-taylor commented 3 years ago

This has been migrated to toyger but you may need to clear your browsers cache or hold shift and click reload to get the changes to show up.

ghost commented 3 years ago

Testing while not logged in:

Type: Application - PASSED Dataset: https://toyger.data.gov.bc.ca/dataset/bc-canadian-aquatic-biomonitoring-network-cabin-sites-and-models-web-app Resource: https://toyger.data.gov.bc.ca/dataset/bc-canadian-aquatic-biomonitoring-network-cabin-sites-and-models-web-app/resource/151c7801-a738-48bf-8fce-c9106d694575 Resource Card Label Link: Access/Download Resource Menu Label: Access/Download Results: Access/Download (as expected)

Type: Geographic Data - PASSED Dataset: https://toyger.data.gov.bc.ca/dataset/bc-assessment-data-advice Resource: https://toyger.data.gov.bc.ca/dataset/bc-assessment-data-advice/resource/3da3dc21-e99b-4476-b28a-cc5ccbcb17cf Resource Card Label Link: Access/Download Resource Menu Label: Access/Download Results: Access/Download (as expected)

Type: Tabular Data - PASSED Dataset: https://toyger.data.gov.bc.ca/dataset/bc-finance-budget-2020 Resource: https://toyger.data.gov.bc.ca/dataset/bc-finance-budget-2020/resource/ece3b52e-077e-4ab4-ab55-f6f7b7f88c15 Resource Card Label Link: Access/Download Resource Menu Label: Access/Download Results: Access/Download (as expected)

Type: Webservice/API - PASSED Dataset: https://toyger.data.gov.bc.ca/dataset/open511-drivebc-api Resource: https://toyger.data.gov.bc.ca/dataset/open511-drivebc-api/resource/6667ea7d-933e-4329-9b13-6e6687c33ac9 Resource Card Label Link: Access/Download Resource Menu Label: Access/Download Results: Access/Download (as expected)

ghost commented 3 years ago

Testing while not logged in:

Type: Application - PASSED Dataset: https://beta-catalogue.data.gov.bc.ca/dataset/bc-canadian-aquatic-biomonitoring-network-cabin-sites-and-models-web-app Resource: https://beta-catalogue.data.gov.bc.ca/dataset/bc-canadian-aquatic-biomonitoring-network-cabin-sites-and-models-web-app/resource/151c7801-a738-48bf-8fce-c9106d694575 Resource Card Label Link: Access/Download Resource Menu Label: Access/Download Results: Access/Download (as expected)

Type: Geographic Data - PASSED Dataset: https://beta-catalogue.data.gov.bc.ca/dataset/bc-assessment-data-advice Resource: https://beta-catalogue.data.gov.bc.ca/dataset/bc-assessment-data-advice/resource/3da3dc21-e99b-4476-b28a-cc5ccbcb17cf Resource Card Label Link: Access/Download Resource Menu Label: Access/Download Results: Access/Download (as expected)

Type: Tabular Data - PASSED Dataset: https://beta-catalogue.data.gov.bc.ca/dataset/bc-finance-budget-2020 Resource: https://beta-catalogue.data.gov.bc.ca/dataset/bc-finance-budget-2020/resource/ece3b52e-077e-4ab4-ab55-f6f7b7f88c15 Resource Card Label Link: Access/Download Resource Menu Label: Access/Download Results: Access/Download (as expected)

Type: Webservice/API - PASSED Dataset: https://beta-catalogue.data.gov.bc.ca/dataset/open511-drivebc-api Resource: https://beta-catalogue.data.gov.bc.ca/dataset/open511-drivebc-api/resource/6667ea7d-933e-4329-9b13-6e6687c33ac9 Resource Card Label Link: Access/Download Resource Menu Label: Access/Download Results: Access/Download (as expected)