-
Notifications
You must be signed in to change notification settings - Fork 46
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
❇️ Team member search #308
Conversation
const url = new URL(window.location.href.replace(window.location.search, '')) | ||
|
||
Object.entries({ tab: 'members', ...queryParams }).forEach(([key, value]) => { | ||
url.searchParams.set(key, value) | ||
}) | ||
|
||
return url.toString() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you known ?
const url = new URL(window.location.href.replace(window.location.search, '')) | |
Object.entries({ tab: 'members', ...queryParams }).forEach(([key, value]) => { | |
url.searchParams.set(key, value) | |
}) | |
return url.toString() | |
const url = new URL(window.location.href) | |
url.search = new URLSearchParams(Object.entries({ tab: 'members', ...queryParams })).toString() | |
return url.toString() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah but this loses any already existing params that may already exist in the url, right? we want to keep all params and only add the ones that queryParams adds.
Depends on bluesky-social/atproto#3587
This PR adds search feature on team member page and uses the newly available search api in other places where full team member list was being loaded to allow searching by handle/name.
Adds some refactors in usage of getProfiles and fixes formatting issue in user info copy feature.
Screen.Recording.2025-03-03.at.14.07.49.mov