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

Get Algolia working #144

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Get Algolia working #144

merged 1 commit into from
Mar 12, 2024

Conversation

lindboe
Copy link
Contributor

@lindboe lindboe commented Mar 10, 2024

Addresses #58.

Minimal Algolia config, which also gives us automatic nesting of search result headers under their parent pages.

Notes on styles:

  • Pre-existing styling logic doesn't apply cleanly to the new search component, and I got tired of trying to figure out Infima's intended usage (it's not very well-documented).
  • Instead, I just updated the search box background to our background color instead of the cool gray it was, and decreased the default border radius, since the oval shape wasn't matched anywhere else.

Would be nice for the future:

  • De-prioritize results from "Archive"
  • More intentionally style the search component

- Minimal Algolia config, which also gives us automatic nesting of
  search result headers under their parent pages

Notes on styles:
- Pre-existing styling logic doesn't apply cleanly to the new search
  component, and I got tired of trying to figure out Infima's intended
  usage (it's not very well-documented).
- Instead, I just updated the search box background to our background
  color instead of the cool gray it was, and decreased the default
  border radius, since the oval shape wasn't matched anywhere else.

Would be nice for the future:
- De-prioritize results from "Archive"
- More intentionally style the search component
@lindboe
Copy link
Contributor Author

lindboe commented Mar 10, 2024

FYI @cdanwards I ended up removing a bunch of existing styles and mostly going with the default, but please suggest improvements if you'd like

Copy link
Member

@cdanwards cdanwards left a comment

Choose a reason for hiding this comment

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

I think this is awesome! I personally think the search looks pretty good, what sorts of improvements did you have in mind? I could address them in a new branch

@lindboe
Copy link
Contributor Author

lindboe commented Mar 12, 2024

@cdanwards I didn't have any ideas in particular, just wanted to make sure nothing important was removed!

@lindboe lindboe merged commit 1d71f59 into main Mar 12, 2024
1 check passed
@lindboe lindboe deleted the lindboe/algolia branch March 12, 2024 17:11
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