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

Catalog-next updates for datagovtheme #4749

Closed
1 of 2 tasks
jbrown-xentity opened this issue May 13, 2024 · 2 comments
Closed
1 of 2 tasks

Catalog-next updates for datagovtheme #4749

jbrown-xentity opened this issue May 13, 2024 · 2 comments
Assignees
Labels
H2.0/Harvest-Flask Front-end webapp & APIs

Comments

@jbrown-xentity
Copy link
Contributor

jbrown-xentity commented May 13, 2024

User Story

In order to have an integrated CKAN for the new harvester2.0, data.gov admins want a fixed version of datagovtheme.

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

  • GIVEN a collection record is harvested via harvester2.0
    WHEN I view the dataset page
    THEN a link exists to search for all items within the collection
    AND each collection item has a link back to the parent

  • GIVEN a dataset is in catalog-next via harvester2.0
    WHEN I view the dataset page
    THEN a link exists to the full original metadata in the harvester2.0 API
    AND the link resolves as expected with harvester2.0 API

Background

Related to catalog-next work, and final implementation of Harvester2.0

Security Considerations (required)

None

Sketch

This may also involve integrating/completing the work @FuhuXia already did to remove the harvest extension from datagovtheme.

Should be straightforward fix of various templates.

To fix the collection, you'll want to redirect to a simple search, something like parent_id = "parent_uuid" as defined by the metadata.
The collection item pointing back to the parent will require a little client side api call, checking what the URL is for the parent and then linking to that URL.

This may also require patches to the harvester2.0 work; it should be setup such that all parents are marked as such (as that doesn't need to be defined in the metadata); but that code may need to be written. Should result in a metadata field called is_parent, and that should be true.

@FuhuXia
Copy link
Member

FuhuXia commented Jul 3, 2024

PR GSA/ckanext-datagovtheme#205 removed ckanext-harvest dependency.

TODO:

  • discuss parent-children relationship for datasets added via harvester2.0
  • URL for harvest_object and harvest_source links to harvester2.0 UI.

@btylerburton btylerburton moved this from H2.0 Backlog to 📥 Queue in data.gov team board Oct 10, 2024
@FuhuXia FuhuXia self-assigned this Nov 13, 2024
@FuhuXia
Copy link
Member

FuhuXia commented Nov 14, 2024

Metadata link part of task is fnished in GSA/ckanext-datagovtheme#213.
Collection part of task is divided into two stories: #4969 and #4970.

Close this one.

@FuhuXia FuhuXia closed this as completed Nov 14, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In Progress [8] to ✔ Done in data.gov team board Nov 14, 2024
@Bagesary Bagesary moved this from ✔ Done to 🗄 Closed in data.gov team board Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
H2.0/Harvest-Flask Front-end webapp & APIs
Projects
Status: 🗄 Closed
Development

No branches or pull requests

2 participants