feat: add personalized following k3l algo #3507
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
🤖 Generated by Copilot at db12a09
Added support for personal feed data from the k3l provider and increased the test timeout option for all the packages. The
getPublicationIds.ts
handler and thek3lFeed.ts
function were modified to accept and pass theprofile
query parameter. Thek3lGlobalFeed.ts
andk3lPersonalFeed.ts
functions were added to fetch the feed data from the k3l API. ThetestTimeout
option was added to thevitest.config.ts
files in each package to prevent test failures due to slow data fetching.Related issues
Fixes # (issue)
Type of change
Explanation of the changes
🤖 Generated by Copilot at db12a09
testTimeout
option tovitest.config.ts
files in all packages to prevent test failures due to slow data fetching (link, link, link, link, link, link, link, link)profile
variable togetPublicationIds.ts
file to get profile query parameter from request object (link)profile
variable tok3lFeed
function call to enable personal feed fetching (link)k3lFeed
function to import and callk3lGlobalFeed
ork3lPersonalFeed
functions depending onprofile
argument (link)k3lGlobalFeed.ts
andk3lPersonalFeed.ts
files toproviders/k3l/algorithms
folder to handle global and personal feed data fetching from k3l API (link, link)getPublicationIds.spec.ts
file to check personal feed data for k3l provider, following strategy and yoginth.lens profile (link)Emoji
🕑🧪📰