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 people tab on search page #247

Merged
merged 1 commit into from
Nov 24, 2024
Merged

✨ Add people tab on search page #247

merged 1 commit into from
Nov 24, 2024

Conversation

foysalit
Copy link
Contributor

@foysalit foysalit commented Nov 23, 2024

This PR adds a new People tab on the search page similar to the app's search page which shows all users matching the search query.

@arcalinea arcalinea temporarily deployed to add-people-search-tab - ozone-staging PR #247 November 23, 2024 23:48 — with Render Destroyed
queryKey: ['searchContent', { term, section }],
enabled: !!term,
queryFn: async ({ pageParam }) => {
if (section === 'people') {
// This is actually never hit, we always have appview configured
if (!appviewAgent) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this really be null?!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nope. mostly for bypassing the ts check. technically, without appview url configured, it can be null

@foysalit foysalit merged commit 52c78d4 into main Nov 24, 2024
3 checks passed
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.

3 participants