COSMOS is a web application designed to manage collections indexed in NASA's Science Discovery Engine (SDE), facilitating precise content selection and allowing metadata modification before indexing.
Right now if you want to exclude 50 URLs based on a pattern, then include 2 of them, there is no way to do this. This feature will allow a user to include certain URLs that fall within a pattern. This will sit on top of existing exclude patterns. We need to add this functionality to give curators more granular control over which URLs are included or excluded.
Implementation Considerations
For "Include URL" toggle functionality, hit appropriate include-pattern and exclude-pattern API endpoints to store the patterns.
Take inspiration from "Candidate URLs" page to implement a "ADD PATTERN" button in "Affected URLs" page.
Deliverable
Updated Affected URLs page with an "Include URL" toggle for each URL
Backend API endpoint to handle the inclusion of specific URLs
Refresh mechanism for the Affected URLs table after inclusions are made
Description
Right now if you want to exclude 50 URLs based on a pattern, then include 2 of them, there is no way to do this. This feature will allow a user to include certain URLs that fall within a pattern. This will sit on top of existing exclude patterns. We need to add this functionality to give curators more granular control over which URLs are included or excluded.
Implementation Considerations
include-pattern
andexclude-pattern
API endpoints to store the patterns.Deliverable
Dependencies
No response