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

Add support for custom link selectors to backend #2346

Merged
merged 7 commits into from
Feb 14, 2025

Conversation

tw4l
Copy link
Member

@tw4l tw4l commented Jan 29, 2025

Related to #2152

This PR adds backend support for custom link selectors via selectLinks on the crawl workflow config. Tests have been updated as well.

It also adds selectLinks to the frontend in a minimal and for now hardcoded way that we can use as a basis for proper frontend support moving forward.

@tw4l tw4l requested a review from ikreymer January 29, 2025 17:10
@tw4l tw4l force-pushed the issue-2152-custom-link-selectors branch from 996b36b to 68fb83e Compare January 29, 2025 21:58
Co-authored-by: Ilya Kreymer <ikreymer@users.noreply.github.com>
@tw4l tw4l requested a review from ikreymer January 30, 2025 20:10
@tw4l
Copy link
Member Author

tw4l commented Feb 5, 2025

@ikreymer needs your review but should be good to go now

@@ -36,6 +36,7 @@ export type SeedConfig = Expand<
failOnFailedSeed?: boolean;
depth?: number | null;
userAgent?: string | null;
selectLinks: string[];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the type updates!

@ikreymer ikreymer merged commit 39d99e7 into main Feb 14, 2025
26 of 27 checks passed
@ikreymer ikreymer deleted the issue-2152-custom-link-selectors branch February 14, 2025 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants