8000 Implement MVP frontend for Algolia search by benhalpern · Pull Request #20909 · forem/forem · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Implement MVP frontend for Algolia search #20909

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

Merged
merged 14 commits into from
May 6, 2024
Merged

Conversation

benhalpern
Copy link
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

This should finish a basic implementation of Algolia search on Forem to provide an augmentation to the basic Postgres search for faster and more relevant results in the right cases.

As noted, PG is still the default and appropriate for smaller instances, and we could add other search indexes later.

We will also in the future make use of more Algolia features.

This implementation will likely require some fast follow to tune result relevancy in production, but should provide a basic upgrade.

Related Tickets & Documents

@benhalpern benhalpern requested a review from a team as a code owner May 1, 2024 14:22
@benhalpern benhalpern requested review from lightalloy and maestromac and removed request for a team May 1, 2024 14:22
benhalpern and others added 2 commits May 1, 2024 10:30
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Contributor
github-actions bot commented May 1, 2024

Uffizzi Ephemeral Environment Deploying

☁️ https://app.uffizzi.com/github.com/forem/forem/pull/20909

⚙️ Updating now by workflow run 8941084185.

What is Uffizzi? Learn more!

@benhalpern benhalpern marked this pull request as draft May 1, 2024 15:13
benhalpern and others added 11 commits May 1, 2024 16:58
* fix: copy to clipboard message

* chore: deletion of unused imports
* changed the twitter icon to X icon in assets/images/twitter.svg

* Changed the twitter icon to X in assets/images/twitter.svg
* Add field test for Digest article list design

* Add check for cached user
* Include cached user in select

* Add tags
@benhalpern benhalpern marked this pull request as ready for review May 3, 2024 16:23
end

add_attribute(:profile_image) { { url: profile_image_90 } }
# add_attribute(:profile_image_90) { profile_image_90 }
Copy link
Contributor
@maestromac maestromac May 6, 2024

Choose a reason for hiding this comment

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

nit: seeing that other searchable also had this enabled, should this be uncommented?

Copy link
Contributor
@maestromac maestromac left a comment

Choose a reason for hiding this comment

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

I'm a bit thrown off by the inconsistency between profile_image vs profile_image_90 vs profile_image.url but I get that perhaps is this clashing with the base search feature. Let's get this merged at the time being.

@benhalpern benhalpern merged commit b3b0eaf into main May 6, 2024
@benhalpern benhalpern deleted the ben/final-indexing-algolia branch May 6, 2024 19:20
@benhalpern
Copy link
Contributor Author

Yeah @maestromac there are some interface inconsistencies in our use here which should be ironed out if possible.

We're now in position to make final quality tweaks before ultimately going live.

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.

Add Algolia as a configurable search option (Initial implementation)
5 participants
0