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

Open
2 tasks
jbrown-xentity opened this issue May 13, 2024 · 0 comments
Open
2 tasks

Catalog-next updates for datagovtheme #4749

jbrown-xentity opened this issue May 13, 2024 · 0 comments
Labels
H2.0/Flask Admin app for harvest source & organizations

Comments

@jbrown-xentity
Copy link
Contributor

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.

@jbrown-xentity jbrown-xentity added the H2.0/Flask Admin app for harvest source & organizations label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
H2.0/Flask Admin app for harvest source & organizations
Projects
Status: H2.0 Backlog
Development

No branches or pull requests

1 participant