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(theme): introduce independent search page #4329

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SamJUK
Copy link

@SamJUK SamJUK commented Nov 1, 2024

Description

Implements an independent search page on the route /search/ to allow for OpenSearch / Custom Search Engines to query the site.

Utilises the q search parameter to preload the search term on page load. E.G https://localhost:5713/search?q=api

image

Linked Issues

#2983
#4327

Additional Context

  • Currently only Local Search is supported. Algolia needs further work due to the modal.
  • Primarily looking for feedback on the approach. Not a JS/FE dev, so apologies in advance for any bastardising.

@SamJUK SamJUK force-pushed the feature/search-page branch from 5ac5475 to bfe2410 Compare November 1, 2024 15:02
@SamJUK SamJUK marked this pull request as draft November 1, 2024 15:07
@SamJUK SamJUK changed the title 🚧 [WIP] feat(theme): introduce independent search page feat(theme): introduce independent search page Nov 1, 2024
@github-actions github-actions bot added the stale label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant