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

feat: Algolia Removal #23

Merged
merged 5 commits into from
Oct 14, 2024
Merged

feat: Algolia Removal #23

merged 5 commits into from
Oct 14, 2024

Conversation

Wolmin
Copy link

@Wolmin Wolmin commented Oct 10, 2024

Description and Related Issue(s)

This PR removes Algolia as a dependency from the project and replaces it with a graph indexer for searching profiles.

Breaking or Incompatible Changes

See Checklist for new ENVs

Additional Information

[Include any additional information, context, or screenshots that may be helpful for reviewers.]

Checklist for PR author

  • I have tested these changes locally.
  • I added tests to cover any new functionality, following this guide
  • Whenever I fix a bug, I include a regression test to ensure that the bug does not reappear silently.
  • If I have added, changed, renamed, or removed an environment variable
    • I updated the list of environment variables in the documentation
    • I made the necessary changes to the validator script according to the guide
    • I added "ENVs" label to this pull request

@Wolmin Wolmin added the enhancement New feature or request label Oct 10, 2024
@Wolmin Wolmin self-assigned this Oct 10, 2024
@Wolmin Wolmin requested a review from richtera October 10, 2024 09:43
return {
type: 'universal_profile',
name: hitAsUp.hasProfileName ? hitAsUp.LSP3Profile.name : null,
address: hit.objectID,
name: hitAsUp.name !== '' ? hitAsUp.name : null,
Copy link
Member

Choose a reason for hiding this comment

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

Considering that UPs may have names to be absolutely anything if those are set outside of our mobile app or extension should we trim the name to be sure it doesn't contain only whitespace characters? 🤔
Or is it already done and here we get the trimmed version?

Copy link
Author

Choose a reason for hiding this comment

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

Thats a good idea, but let me check and confirm

@Wolmin Wolmin merged commit aebd9f3 into lukso Oct 14, 2024
4 of 7 checks passed
@Wolmin Wolmin deleted the feat/algolia-removal branch October 14, 2024 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

3 participants