Skip to content

COSMOS Feature to Display Affected URLs for Patterns #1007

@code-geek

Description

@code-geek

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

  • 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

  1. Updated Affected URLs page with an "Include URL" toggle for each URL
  2. Backend API endpoint to handle the inclusion of specific URLs
  3. Refresh mechanism for the Affected URLs table after inclusions are made

Dependencies

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions