Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Filter inactive projects on API level #610

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

Naveen-Pal
Copy link
Collaborator

Resolves #606

@Naveen-Pal Naveen-Pal marked this pull request as ready for review January 26, 2025 14:54
@Naveen-Pal
Copy link
Collaborator Author

I am facing an error on running test

● Contribute Component › handles pagination for first page

Unable to find an element with the text: Next Page. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.

probably because of using export function useSearchPage<T extends object>
Help would be great.

Copy link
Collaborator

@arkid15r arkid15r left a comment

Choose a reason for hiding this comment

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

It seems we can go even deeper and ask algolia not even return those items. For that we need is_active faceting attribute in Chapter/Project index and use it in fetchAlgoliaData query.

@Naveen-Pal Naveen-Pal requested a review from arkid15r February 4, 2025 20:11
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter inactive projects on the API request level
2 participants